POST_LABEL_PREVIEW SAP Method Change Data After Label Preview
Below is documentation, parameters and attributes of ABAP Method POST_LABEL_PREVIEW within SAP class IF_EX_BADI_EHS_GLM_007. 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 IF_EX_BADI_EHS_GLM_007 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 POST_LABEL_PREVIEW can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method POST_LABEL_PREVIEW
.| Name | Type | Data Type | Description | Default Value |
| E_ERROR_TAB | Exporting | TYPE BALMI_T | Table Type of Table BALMI | |
| E_FLG_ERROR | Exporting | TYPE ESEBOOLE | Truth Value | |
| X_ACT_LABEL | Changing | TYPE CCGLS_MPD_LABELS | EHS: Structure for Displaying Label Tree | |
| X_COUNTRY_TAB | Changing | TYPE CCGLD_COUNTRY | Countries | |
| X_LABELS_TAB | Changing | TYPE CCGLD_MPD_LABELS | Labels in Label Tree | |
| X_MODE | Changing | TYPE CBGLE_STATE_CHECK_MODE | State Check Mode | |
| X_PARAM_TAB | Changing | TYPE CCGLD_PARAM | Parameter | |
| X_PRINT_SCENARIO | Changing | TYPE CBGLE_SCENID | Labeling Scenario | |
| X_SERIAL_TAB | Changing | TYPE CCGLD_SERIAL | Sequence Numbers | |
| X_SHIP_MODE_TAB | Changing | TYPE CCGLD_SHIP_MOD | Mode of Transport |
Exceptions of Method POST_LABEL_PREVIEW
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO IF_EX_BADI_EHS_GLM_007.
DATA: lv_E_ERROR_TAB TYPE BALMI_T,
lv_E_FLG_ERROR TYPE ESEBOOLE,
lv_X_ACT_LABEL TYPE CCGLS_MPD_LABELS,
lv_X_COUNTRY_TAB TYPE CCGLD_COUNTRY,
lv_X_LABELS_TAB TYPE CCGLD_MPD_LABELS,
lv_X_MODE TYPE CBGLE_STATE_CHECK_MODE,
lv_X_PARAM_TAB TYPE CCGLD_PARAM,
lv_X_PRINT_SCENARIO TYPE CBGLE_SCENID,
lv_X_SERIAL_TAB TYPE CCGLD_SERIAL,
lv_X_SHIP_MODE_TAB TYPE CCGLD_SHIP_MOD,
lv_other TYPE c.
CALL METHOD lo_class=>POST_LABEL_PREVIEW(
IMPORTING
E_ERROR_TAB = lv_E_ERROR_TAB
E_FLG_ERROR = lv_E_FLG_ERROR
CHANGING
X_ACT_LABEL = lv_X_ACT_LABEL
X_COUNTRY_TAB = lv_X_COUNTRY_TAB
X_LABELS_TAB = lv_X_LABELS_TAB
X_MODE = lv_X_MODE
X_PARAM_TAB = lv_X_PARAM_TAB
X_PRINT_SCENARIO = lv_X_PRINT_SCENARIO
X_SERIAL_TAB = lv_X_SERIAL_TAB
X_SHIP_MODE_TAB = lv_X_SHIP_MODE_TAB ).
Links to Related Class(s)
IF_EX_BA...Full list of available SAP object classes
Search for further information about these or an SAP related objects