What is Macro
Answer / mrudila
Macro is a small programs sourcecode which we can create in
the program using DEFINE keyword,whenever we call the macro
then only it allocates memory.
In macro we can specify upto 9 placeholders which stores
the values.Eg: &1 &2 &3 &4 &5 &6 &7 &8 &9
let me explain with a simple example
Report yyy
parameters:a type i.
b type i.
data: res type i.
DEFINE hhh (here hhh is macroname)
res = &1 &2 &3 &4 &5.
write:/res.
end-of-definition.
hhh ( a + b ) (here calling macro)
in res we specified 5 place holders thats y when calling a
macro we used 5 place holders those are
1 (
2 a
3 +
4 b
5 )
this is only for eg.
in this way we can write a macro upto 9 pointers.It
shouldnt exceed 9.
Is This Answer Correct ? | 0 Yes | 1 No |
What is object in OM
what is a buffer and how many types?
How do you call a report from a transaction ?
What is the advantage of structures? How do you use them in the ABAP programs?
What is the typical structure of an ABAP program?
What are components of layout in scripts?
how to print only one line item at every page in smart forms in main window .for ex for sales order i will get so many items i need to display only at one page like 1st line at one page and second line at 2nd page .pls answer itttt.
What are pooled tables?
How many primary keys can be created for a table?
Uses of runtime analysis and sql trace with example(coding).
what are the different event functions used in SAP Scripts?
How to change the development class of any object?