MODIFY_DG_RELEASE SAP Method Change Data for Product Release









Below is documentation, parameters and attributes of ABAP Method MODIFY_DG_RELEASE within SAP class IF_EX_BADI_EHS_DG_SAVE_001. 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_DG_SAVE_001 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 MODIFY_DG_RELEASE can also be found below:

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


Parameters of Method MODIFY_DG_RELEASE

.

NameTypeData TypeDescriptionDefault Value
I_CALLSTATUSImportingTYPE
DGPD1_CALL_STATUS
Call Status (Filling and Distribution)
I_DG_CARR_TABImportingTYPE
EHS_RCBDUAPICARR_T
Dangerous Goods Master: Transport Regulations
I_DG_HEADER_TABImportingTYPE
EHS_RDGAPIDGHEAD_T
Dangerous Goods Master: Header Tables
I_DG_PACK_TABImportingTYPE
EHS_RCBDUAPIPACK_T
Dangerous Goods Master: Transport Approval
I_DG_RELEASE_EXIST_TABImportingTYPE
EHS_RCBDUAPIDGRELAPPL_T
Dangerous Goods Master: Existing Data for Product Release
I_DG_SELECT_TABImportingTYPE
EHS_RANGE_T
Selection Data
I_DG_SPROV_TABImportingTYPE
EHS_RCBDUAPISP_T
Dangerous Goods Master: Special Packing Provisions
I_DG_TRAPPR_TABImportingTYPE
EHS_RCBDUAPITRAPPR_T
Dangerous Goods Master: Transport Regulations
I_KEY_MAPP_TABImportingTYPE
EHS_RDG_MASTER_KEY_T
DG: Assignment of Keys
I_SEL_DATEImportingTYPE
DGTMD-VALFR
Selection Date
X_DG_RELEASE_TABChangingTYPE
EHS_RCBDUAPIDGRELAPPL_T
Dangerous Goods Master: Product Release
X_FLG_SUPPRESS_UPD_DGRELChangingTYPE
ESP1_BOOLEAN
Suppress Overwrite of Product Release
X_LOGTABChangingTYPE
BALMI_TAB
EHS: Application Log; Interface for APPL_LOG_WRITE_MESSAG
X_RETURNChangingTYPE
BAPIRET2
Return Parameter(s)



Exceptions of Method MODIFY_DG_RELEASE

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO IF_EX_BADI_EHS_DG_SAVE_001.
DATA: lv_I_CALLSTATUS TYPE DGPD1_CALL_STATUS,
lv_I_DG_CARR_TAB TYPE EHS_RCBDUAPICARR_T,
lv_I_DG_HEADER_TAB TYPE EHS_RDGAPIDGHEAD_T,
lv_I_DG_PACK_TAB TYPE EHS_RCBDUAPIPACK_T,
lv_I_DG_RELEASE_EXIST_TAB TYPE EHS_RCBDUAPIDGRELAPPL_T,
lv_I_DG_SELECT_TAB TYPE EHS_RANGE_T,
lv_I_DG_SPROV_TAB TYPE EHS_RCBDUAPISP_T,
lv_I_DG_TRAPPR_TAB TYPE EHS_RCBDUAPITRAPPR_T,
lv_I_KEY_MAPP_TAB TYPE EHS_RDG_MASTER_KEY_T,
lv_I_SEL_DATE TYPE DGTMD-VALFR,
lv_X_DG_RELEASE_TAB TYPE EHS_RCBDUAPIDGRELAPPL_T,
lv_X_FLG_SUPPRESS_UPD_DGREL TYPE ESP1_BOOLEAN,
lv_X_LOGTAB TYPE BALMI_TAB,
lv_X_RETURN TYPE BAPIRET2,
lv_other TYPE c.

CALL METHOD lo_class=>MODIFY_DG_RELEASE(
EXPORTING
I_CALLSTATUS = lv_I_CALLSTATUS
I_DG_CARR_TAB = lv_I_DG_CARR_TAB
I_DG_HEADER_TAB = lv_I_DG_HEADER_TAB
I_DG_PACK_TAB = lv_I_DG_PACK_TAB
I_DG_RELEASE_EXIST_TAB = lv_I_DG_RELEASE_EXIST_TAB
I_DG_SELECT_TAB = lv_I_DG_SELECT_TAB
I_DG_SPROV_TAB = lv_I_DG_SPROV_TAB
I_DG_TRAPPR_TAB = lv_I_DG_TRAPPR_TAB
I_KEY_MAPP_TAB = lv_I_KEY_MAPP_TAB
I_SEL_DATE = lv_I_SEL_DATE
CHANGING
X_DG_RELEASE_TAB = lv_X_DG_RELEASE_TAB
X_FLG_SUPPRESS_UPD_DGREL = lv_X_FLG_SUPPRESS_UPD_DGREL
X_LOGTAB = lv_X_LOGTAB
X_RETURN = lv_X_RETURN ).

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!