What is Macro
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / sravan
Macro is one of the subroutine that can't be reused in any
other programs. We need to write definition of macro at
starting of the program. We can pass the parameters to macro
using two ways.
We pass the values to macro using place holders. Maximum of
9 variables we can pass to a macro.
Is This Answer Correct ? | 4 Yes | 0 No |
How to search a Internal Table Fields?
How can I pass SELECT-OPTIONS to function module generated by SMARTFORM?
Suppose if I’ve 10 records, I don’t want to update 9th record? How can we do that?
Tcode for create Basic ALE settings?
What is an evaluation path? : sap abap hr
What is abap dictionary or data dictionary? What is the transaction to access abap dictionary? : abap data dictionary
Can you delete a domain, which is being used by data elements? : abap data dictionary
What are the FM you used in Session method?
Events that can be used in both the classical and interactive reports
what is Composite key in table creation? what is the use?
Types of windows in SAP scripts?
9 Answers vCentric Technologies,
what is variable window?