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 types of windows in sap script?
What are logical data bases used in hr module? : abap hr
What is database utility?
Can a domain, assigned to a data element be changed? : abap data dictionary
Can we set page headers to details lists?
hi I am in training of functional module, i am unable to understand what exactly use of IDOC,BAPI,DIM and BIM. As LSMW and BDC methods are used for data conversion from legacy to sap. Might be it is silly question. please explain me
Why grouping of fields is required? What is the max no of modification groups for each field?
When was the sap abap being created?
i have cleared my technical round and manager round in cts but they told me u will get a call with in couple of days now i dont know about my status
What are the different methods of passing data?
What are the advantages of different types of bdc's?
What are matchcodes?
Exception handling and how does it transfer from called method to calling method?
What does nw 7.4 sp 05/nw 7.5 sp 02 offers in abap?
Explain open dataset in sap abap?