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

Table events aNd table maintains generation

1505


Can we write the code both call transaction and session method in single program?

1096


How many tables are there in sap?

1110


Mention the various databases integrities?

1032


Difference between sap script and report?

1215


What are the two different ways of building a match code object? : abap data dictionary

1131


What is the difference between semi-monthly and Bi-weekly payroll area

3460


What is the purpose of at first and at last?

1126


what is field string ? & where we are using field strings?

1992


what is a text table ?

2340


What is match code? : sap abap hr

1215


What is the different type of projects? : sap abap hr

921


Can you create a table with fields not referring to data elements? : abap data dictionary

1287


What are the 3 methods that we use in sequence in a batch input session method? : abap bdc

1091


What are the data types of the external layer? : abap data dictionary

1397