PROP_PACKCODE SAP Method System Default: Packaging Code - Dangerous Goods Dialog HU
Below is documentation, parameters and attributes of ABAP Method PROP_PACKCODE within SAP class IF_EX_BADI_EHSDG_HU_002. 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_EHSDG_HU_002 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 PROP_PACKCODE can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method PROP_PACKCODE
.| Name | Type | Data Type | Description | Default Value |
| I_CHK_LIKP | Importing | TYPE VLGGT_LIKPVB_S | Document Header View for Delivery Note | |
| I_DGMDDAT | Importing | TYPE ESEDIAGVD | Key Date | |
| I_FLG_DYNCL_ACTIV | Importing | TYPE ESP1_BOOLEAN | ||
| I_VEKP_SEL_REC | Importing | TYPE RDGHUPROVEKPVB | DG: Structure for HU Header for Packing Proposals | |
| I_VEPO_PROP_TAB | Importing | TYPE EHS_RDGHUPROVEPOVB_T | DG: HU Items for Packing Proposals | |
| E_DGHEADER_TAB | Exporting | TYPE EHS_RDGPACODKEY_T | DG: Key Structure for Determining Packaging Code | |
| E_MESSAGE | Exporting | TYPE BALMI | Application Log: APPL_LOG_WRITE_MESSAGES interface | |
| E_PACOD_TAB | Exporting | TYPE EHS_RDGHUPROPACOD_T | DG: Proposed Packaging Codes | |
| X_FIELDNAME_TAB | Changing | TYPE LVC_T_FNAM | ALV Control: Table of Field Names |
Exceptions of Method PROP_PACKCODE
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO IF_EX_BADI_EHSDG_HU_002.
DATA: lv_E_DGHEADER_TAB TYPE EHS_RDGPACODKEY_T,
lv_E_MESSAGE TYPE BALMI,
lv_E_PACOD_TAB TYPE EHS_RDGHUPROPACOD_T,
lv_I_CHK_LIKP TYPE VLGGT_LIKPVB_S,
lv_I_DGMDDAT TYPE ESEDIAGVD,
lv_I_FLG_DYNCL_ACTIV TYPE ESP1_BOOLEAN,
lv_I_VEKP_SEL_REC TYPE RDGHUPROVEKPVB,
lv_I_VEPO_PROP_TAB TYPE EHS_RDGHUPROVEPOVB_T,
lv_X_FIELDNAME_TAB TYPE LVC_T_FNAM,
lv_other TYPE c.
CALL METHOD lo_class=>PROP_PACKCODE(
EXPORTING
I_CHK_LIKP = lv_I_CHK_LIKP
I_DGMDDAT = lv_I_DGMDDAT
I_FLG_DYNCL_ACTIV = lv_I_FLG_DYNCL_ACTIV
I_VEKP_SEL_REC = lv_I_VEKP_SEL_REC
I_VEPO_PROP_TAB = lv_I_VEPO_PROP_TAB
IMPORTING
E_DGHEADER_TAB = lv_E_DGHEADER_TAB
E_MESSAGE = lv_E_MESSAGE
E_PACOD_TAB = lv_E_PACOD_TAB
CHANGING
X_FIELDNAME_TAB = lv_X_FIELDNAME_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