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 is the modification assistant?
how to capture the errors in bdc Call transaction method?
How to find Kernal badi ?
What is the use of message command in a report? What are the different message types?
What is an interactive report? What is the obvious difference of such report compared with classical type reports?
Hello All, Requesting to all user of this site. Please post your Questions in Proper sub Category of chosen category. Some users post the questions in common category whether sub category for that is available ..like some users still post the SAP Script & ALE Related questions in common ABAP Category. Due to this it becomes very difficult to find the topic wise Questions. Please cooperate with the site & to other users. Thanks & Regards Tamseel
What are the different attributes that can be assigned to a variant?
wat are the process that can be executed & tracked in a workflow?
What are the aggregate objects in the data dictionary? : abap data dictionary
1)can any body tell the transport request number concept and 2)there are 3 screens in one screen u have uploaded the resume and second screen also u have done the same thing but when u are uploading the resume in third screen u got some error in somewhere else but whatever u have uploaded the resume in 1 and 2 should not
What is the difference between bdc_open_group and bdc_open_dataset. : abap bdc
Differentiate between abap memory and sap memory?
How do you find the information on the current screen? : abap bdc
How will you find manager of an employee
Is the basic list deleted when the new list is created?