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
Table events aNd table maintains generation
Can we write the code both call transaction and session method in single program?
How many tables are there in sap?
Mention the various databases integrities?
Difference between sap script and report?
What are the two different ways of building a match code object? : abap data dictionary
What is the difference between semi-monthly and Bi-weekly payroll area
What is the purpose of at first and at last?
what is field string ? & where we are using field strings?
what is a text table ?
What is match code? : sap abap hr
What is the different type of projects? : sap abap hr
Can you create a table with fields not referring to data elements? : abap data dictionary
What are the 3 methods that we use in sequence in a batch input session method? : abap bdc
What are the data types of the external layer? : abap data dictionary