PRE_LABEL_PREVIEW SAP Method Change Data Before Label Preview









Below is documentation, parameters and attributes of ABAP Method PRE_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 PRE_LABEL_PREVIEW can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method PRE_LABEL_PREVIEW

.

NameTypeData TypeDescriptionDefault Value
E_ERROR_TABExportingTYPE
BALMI_T
Table Type of Table BALMI
E_FLG_ERRORExportingTYPE
ESEBOOLE
Truth Value
X_ACT_LABELChangingTYPE
CCGLS_MPD_LABELS
EHS: Structure for Displaying Label Tree
X_COUNTRY_TABChangingTYPE
CCGLD_COUNTRY
Countries
X_LABELS_TABChangingTYPE
CCGLD_MPD_LABELS
Labels in Label Tree
X_MODEChangingTYPE
CBGLE_STATE_CHECK_MODE
State Check Mode
X_PARAM_TABChangingTYPE
CCGLD_PARAM
Parameter
X_PRINT_SCENARIOChangingTYPE
CBGLE_SCENID
Labeling Scenario
X_SERIAL_TABChangingTYPE
CCGLD_SERIAL
Sequence Numbers
X_SHIP_MODE_TABChangingTYPE
CCGLD_SHIP_MOD
Mode of Transport



Exceptions of Method PRE_LABEL_PREVIEW

This method does not have any exceptions

Example 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=>PRE_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



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!