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 subroutines?
What is singleton pattern in OOPS?
Can you create a table with fields not referring to data elements? : abap data dictionary
What is size category?
How do you find number of records present in internal table?
Why do we need enhancements?
What are the uses of interactive reporting?
what is 3 tire architecture and how does SAP utilizes this architecture. and how do netweaver came into picture?
Performance tuning techniques
Do we create table fields with out data elements and domains?
What are the organizational related infotypes? : abap hr
Explain the table, which contain the details of all the name of the programs and forms?
Explain read dataset in sap abap?
can anyone do BDC or BAPI for F-02 and F-04 transactions.If it LSMW also.Kindly let me know.
What is an interface? In what scenario we use interface? What is the difference between abstract class and interface?