What is Macro

Answer Posted / the ajax

If you want to reuse the same set of statements more than
once in a program, you can include them in a macro. For
example, this can be useful for long calculations or
complex WRITE statements. You can only use a macro within
the program in which it is defined, and it can only be
called in lines of the program following its definition.

The following statement block defines a macro macro:

DEFINE makro.

statements

END-OF-DEFINITION.

You must specify complete statements between DEFINE and
END‑OF‑DEFINITION. These statements can contain up to nine
placeholders &1, &2,...., &9). You must define the macro
before the point in the program at which you want to use
it.

Is This Answer Correct ?    11 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

send coding to write a program to create customer quotation using BAPI 'BAPI_QUOTATION_CREATEFROMDATA2/BAPI_QUOTATION_CREATEFR OMDATA'

2419


What is the function of the correction system? : abap data dictionary

608


Why do we use logical blocks in abap program?

1453


Hi every one ! You people are doing a great job here , Im going to attend Tata Technologies interivew on this sunday,Can anyone who has already attended this company interivew or other companies interivews in abap pls share ur experience with me and help me to get into job my id ushareddyabap@gmail.com. Thankyou verymcuh

1510


Did you create secondary index?

691






Why we are using Macros instead of Function Modules

1619


What is a maintenance view? : abap data dictionary

577


Did you create any joins?

551


What is gui status? How to create /edit gui status?

620


hi frends this is bala raju from pune.i want to know diff between 4.7ee and ecc 5.0.if possible give me brief explanation.this question was asked in EDS(tele interview) in pune bye.

1714


How many types of tables exists and what are they in data dictionary?

938


what will happen if called program is not executable ?

1701


What is the use of lock objects?

575


How the Sy-Mandt value gets updated in the table and Is this having any foreign key relationship.

1708


Advantages and disadvantages of different types of bdc's?

577