BEFORE_DATABASE_UPDATE_DIS SAP Method Pegging: Called before database update of distributed values









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

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


Parameters of Method BEFORE_DATABASE_UPDATE_DIS

.

NameTypeData TypeDescriptionDefault Value
IT_DIS_VAL_DELTAImportingTYPE
DIS_T_VALUES
Distributed Values
IT_DIS_VAL_TOTALImportingTYPE
DIS_T_VALUES
Distributed Values
IT_PEG_TASSImportingTYPE
PEG_T_TASS
Assignment Table
I_GJAHRImportingTYPE
GJAHR
Fiscal year
I_GROUP_DATAImportingTYPE
GPD_TY_GROUP
Group Parameter
I_PERIOImportingTYPE
CO_PERIO
Period
IT_DIS_TOBJS_COSP_DELChangingTYPE
DIS_T_TOBJS_COSP
Distribution: Distributed Primary Costs
IT_DIS_TOBJS_COSP_INSChangingTYPE
DIS_T_TOBJS_COSP
Distribution: Distributed Primary Costs
IT_DIS_TOBJS_COSP_UPDChangingTYPE
DIS_T_TOBJS_COSP
Distribution: Distributed Primary Costs
IT_DIS_TOBJS_COSS_DELChangingTYPE
DIS_T_TOBJS_COSS
Distribution: Distributed Secondary Costs
IT_DIS_TOBJS_COSS_INSChangingTYPE
DIS_T_TOBJS_COSS
Distribution: Distributed Secondary Costs
IT_DIS_TOBJS_COSS_UPDChangingTYPE
DIS_T_TOBJS_COSS
Distribution: Distributed Secondary Costs
IT_DIS_TOBJS_FMSU_DELChangingTYPE
DIS_T_TOBJS_FMSU
Distribution: Distributed Payments
IT_DIS_TOBJS_FMSU_INSChangingTYPE
DIS_T_TOBJS_FMSU
Distribution: Distributed Payments
IT_DIS_TOBJS_FMSU_UPDChangingTYPE
DIS_T_TOBJS_FMSU
Distribution: Distributed Payments



Exceptions of Method BEFORE_DATABASE_UPDATE_DIS

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO IF_EX_BADI_GPD_09.
DATA: lv_IT_DIS_TOBJS_COSP_DEL TYPE DIS_T_TOBJS_COSP,
lv_IT_DIS_TOBJS_COSP_INS TYPE DIS_T_TOBJS_COSP,
lv_IT_DIS_TOBJS_COSP_UPD TYPE DIS_T_TOBJS_COSP,
lv_IT_DIS_TOBJS_COSS_DEL TYPE DIS_T_TOBJS_COSS,
lv_IT_DIS_TOBJS_COSS_INS TYPE DIS_T_TOBJS_COSS,
lv_IT_DIS_TOBJS_COSS_UPD TYPE DIS_T_TOBJS_COSS,
lv_IT_DIS_TOBJS_FMSU_DEL TYPE DIS_T_TOBJS_FMSU,
lv_IT_DIS_TOBJS_FMSU_INS TYPE DIS_T_TOBJS_FMSU,
lv_IT_DIS_TOBJS_FMSU_UPD TYPE DIS_T_TOBJS_FMSU,
lv_IT_DIS_VAL_DELTA TYPE DIS_T_VALUES,
lv_IT_DIS_VAL_TOTAL TYPE DIS_T_VALUES,
lv_IT_PEG_TASS TYPE PEG_T_TASS,
lv_I_GJAHR TYPE GJAHR,
lv_I_GROUP_DATA TYPE GPD_TY_GROUP,
lv_I_PERIO TYPE CO_PERIO,
lv_other TYPE c.

CALL METHOD lo_class=>BEFORE_DATABASE_UPDATE_DIS(
EXPORTING
IT_DIS_VAL_DELTA = lv_IT_DIS_VAL_DELTA
IT_DIS_VAL_TOTAL = lv_IT_DIS_VAL_TOTAL
IT_PEG_TASS = lv_IT_PEG_TASS
I_GJAHR = lv_I_GJAHR
I_GROUP_DATA = lv_I_GROUP_DATA
I_PERIO = lv_I_PERIO
CHANGING
IT_DIS_TOBJS_COSP_DEL = lv_IT_DIS_TOBJS_COSP_DEL
IT_DIS_TOBJS_COSP_INS = lv_IT_DIS_TOBJS_COSP_INS
IT_DIS_TOBJS_COSP_UPD = lv_IT_DIS_TOBJS_COSP_UPD
IT_DIS_TOBJS_COSS_DEL = lv_IT_DIS_TOBJS_COSS_DEL
IT_DIS_TOBJS_COSS_INS = lv_IT_DIS_TOBJS_COSS_INS
IT_DIS_TOBJS_COSS_UPD = lv_IT_DIS_TOBJS_COSS_UPD
IT_DIS_TOBJS_FMSU_DEL = lv_IT_DIS_TOBJS_FMSU_DEL
IT_DIS_TOBJS_FMSU_INS = lv_IT_DIS_TOBJS_FMSU_INS
IT_DIS_TOBJS_FMSU_UPD = lv_IT_DIS_TOBJS_FMSU_UPD ).

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!