Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is Macro

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


Please Help Members By Posting Answers For Below Questions

What are the types of windows in sap script?

1050


What are logical data bases used in hr module? : abap hr

1211


What is database utility?

1173


Can a domain, assigned to a data element be changed? : abap data dictionary

983


Can we set page headers to details lists?

979


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

2158


Why grouping of fields is required? What is the max no of modification groups for each field?

965


When was the sap abap being created?

1076


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

8940


What are the different methods of passing data?

1126


What are the advantages of different types of bdc's?

900


What are matchcodes?

931


Exception handling and how does it transfer from called method to calling method?

1436


What does nw 7.4 sp 05/nw 7.5 sp 02 offers in abap?

1038


Explain open dataset in sap abap?

1258