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

.

NameTypeData TypeDescriptionDefault Value
I_CHK_LIKPImportingTYPE
VLGGT_LIKPVB_S
Document Header View for Delivery Note
I_DGMDDATImportingTYPE
ESEDIAGVD
Key Date
I_FLG_DYNCL_ACTIVImportingTYPE
ESP1_BOOLEAN
I_VEKP_SEL_RECImportingTYPE
RDGHUPROVEKPVB
DG: Structure for HU Header for Packing Proposals
I_VEPO_PROP_TABImportingTYPE
EHS_RDGHUPROVEPOVB_T
DG: HU Items for Packing Proposals
E_DGHEADER_TABExportingTYPE
EHS_RDGPACODKEY_T
DG: Key Structure for Determining Packaging Code
E_MESSAGEExportingTYPE
BALMI
Application Log: APPL_LOG_WRITE_MESSAGES interface
E_PACOD_TABExportingTYPE
EHS_RDGHUPROPACOD_T
DG: Proposed Packaging Codes
X_FIELDNAME_TABChangingTYPE
LVC_T_FNAM
ALV Control: Table of Field Names



Exceptions of Method PROP_PACKCODE

This method does not have any exceptions

Example 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



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!