Answer Posted / 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 |
Post New Answer View All Answers
What are the problems in processing batch input sessions? How is batch inputprocess different from processing online?
What are pool tables?
5) How to rereive text elements in SF and script?
What is an interactive report?
What is the difference between synchronous and asynchronous update? : abap bdc
What was the requirement of IDoc in your project? How it was working?
How do you do bdc for a table control? : abap bdc
How we can retrieve data using secondary index. Explain with simple example?
How do you differentiate tax for different countries? : sap abap hr
What is IMG in SAP?
What are the differences between transparent tables, pooled tables & cluster tables? : abap data dictionary
What is the table buffer?
How the transaction that are programmed by the user can be protected?
Give an example of interface from your project explaining why you used it?
What are the different message types available in the abap/4 ?