Nowadays, expressions can be used instead of macros in many cases. Today, macros are, of course, avoided and In addition, in the past macros were not just used to replace procedures, they were also used to perform recurrent declarations of structured data. For these reasons, a macro cannot be viewed as a worthy replacement for a genuine procedure. Impossible to look for errors in programs that use large or complex macros. Macros do not have a real context, and cannot be executed in steps in ABAP Debugger. Macros are often used as callable units, instead of real procedures. We recommend that procedures ( methods) or expressions with appropriate operators are used instead of macros. These placeholders must be replaced by fixed words when the macro is included. In place of ABAP words and operands (or parts of operands). A macroĬan contain up to nine placeholders, &1 to &9, The statement list is included in another position in the program by specifying the macro name. ABAP - Keyword Documentation →Ī macro is a summary of a statement list for internal SAP NetWeaver AS ABAP Release 752, ©Copyright 2017 SAP AG.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |