ADD_SYMBOLS SAP Method of class CL_ABAP_SYMBOL
Below is documentation, parameters and attributes of ABAP Method ADD_SYMBOLS within SAP class CL_ABAP_SYMBOL. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name CL_ABAP_SYMBOL into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Instance
This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.The following technical details of method ADD_SYMBOLS can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method ADD_SYMBOLS
.| Name | Type | Data Type | Description | Default Value |
| P_PROGRAM | Importing | TYPE PROGRAM | ||
| P_SYMBOLS_DB | Importing | TYPE T_SYMBOLS_DB | ||
| P_SYMB_PREFIX_1 | Importing | TYPE STRING | ||
| P_SYMB_PREFIX_2 | Importing | TYPE STRING |
Exceptions of Method ADD_SYMBOLS
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO CL_ABAP_SYMBOL.
DATA: lv_P_PROGRAM TYPE PROGRAM,
lv_P_SYMBOLS_DB TYPE T_SYMBOLS_DB,
lv_P_SYMB_PREFIX_1 TYPE STRING,
lv_P_SYMB_PREFIX_2 TYPE STRING,
lv_other TYPE c.
CALL METHOD lo_class=>ADD_SYMBOLS(
EXPORTING
P_PROGRAM = lv_P_PROGRAM
P_SYMBOLS_DB = lv_P_SYMBOLS_DB
P_SYMB_PREFIX_1 = lv_P_SYMB_PREFIX_1
P_SYMB_PREFIX_2 = lv_P_SYMB_PREFIX_2 ).
Links to Related Class(s)
CL_ABAP_...Full list of available SAP object classes
Search for further information about these or an SAP related objects