CHANGE_AT_UPDATE SAP Method Prepare Data for Saving









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

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


Parameters of Method CHANGE_AT_UPDATE

.

NameTypeData TypeDescriptionDefault Value
IT_KOMWBHDImportingTYPE
TABKOMWBHD
Global Trade Management: Table Type for Business Data
IT_KOMWBHEImportingTYPE
TABKOMWBHE
GTM: Table Type Schedule Line Data Communication Structure
IT_KOMWBHIImportingTYPE
TABKOMWBHI
GTM: Table Type Item Data Communication Structure
IT_KOMWBHKImportingTYPE
TABKOMWBHK
GTM: Table Type Header Data Communic. Structure TC
IT_KOMWBHPImportingTYPE
TABKOMWBHP
GTM: Table Type Partner Data Communication Structure
IT_YKOMWBHDImportingTYPE
TABKOMWBHD
Global Trade Management: Table Type for Business Data
IT_YKOMWBHEImportingTYPE
TABKOMWBHE
GTM: Table Type Schedule Line Data Communication Structure
IT_YKOMWBHIImportingTYPE
TABKOMWBHI
GTM: Table Type Item Data Communication Structure
IT_YKOMWBHKImportingTYPE
TABKOMWBHK
GTM: Table Type Header Data Communic. Structure TC
IT_YKOMWBHPImportingTYPE
TABKOMWBHP
GTM: Table Type Partner Data Communication Structure
I_RELEASE_PROCESSImportingTYPE
XFELD
Checkbox
CT_ERROR_MESSAGESChangingTYPE
TABWB2_ERROR
Trading Contract: Table Type for WB2_ERROR



Exceptions of Method CHANGE_AT_UPDATE

CX_WB2_BL - Error Business Logic

Example ABAP coding


DATA: lo_class TYPE REF TO IF_WB2_BL_ENHANCEMENTS.
DATA: lv_CT_ERROR_MESSAGES TYPE TABWB2_ERROR,
lv_IT_KOMWBHD TYPE TABKOMWBHD,
lv_IT_KOMWBHE TYPE TABKOMWBHE,
lv_IT_KOMWBHI TYPE TABKOMWBHI,
lv_IT_KOMWBHK TYPE TABKOMWBHK,
lv_IT_KOMWBHP TYPE TABKOMWBHP,
lv_IT_YKOMWBHD TYPE TABKOMWBHD,
lv_IT_YKOMWBHE TYPE TABKOMWBHE,
lv_IT_YKOMWBHI TYPE TABKOMWBHI,
lv_IT_YKOMWBHK TYPE TABKOMWBHK,
lv_IT_YKOMWBHP TYPE TABKOMWBHP,
lv_I_RELEASE_PROCESS TYPE XFELD,
lv_other TYPE c.

CALL METHOD lo_class=>CHANGE_AT_UPDATE(
EXPORTING
IT_KOMWBHD = lv_IT_KOMWBHD
IT_KOMWBHE = lv_IT_KOMWBHE
IT_KOMWBHI = lv_IT_KOMWBHI
IT_KOMWBHK = lv_IT_KOMWBHK
IT_KOMWBHP = lv_IT_KOMWBHP
IT_YKOMWBHD = lv_IT_YKOMWBHD
IT_YKOMWBHE = lv_IT_YKOMWBHE
IT_YKOMWBHI = lv_IT_YKOMWBHI
IT_YKOMWBHK = lv_IT_YKOMWBHK
IT_YKOMWBHP = lv_IT_YKOMWBHP
I_RELEASE_PROCESS = lv_I_RELEASE_PROCESS
CHANGING
CT_ERROR_MESSAGES = lv_CT_ERROR_MESSAGES ).

Links to Related Class(s)

IF_WB2_B...
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!