CHANGE_BUSINESS_DATA SAP Method Change Business Data









Below is documentation, parameters and attributes of ABAP Method CHANGE_BUSINESS_DATA 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_BUSINESS_DATA can also be found below:

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


Parameters of Method CHANGE_BUSINESS_DATA

.

NameTypeData TypeDescriptionDefault Value
IT_KOMWBHIImportingTYPE
TABKOMWBHI
GTM: Table Type Item Data Communication Structure
IT_KOMWBHPImportingTYPE
TABKOMWBHP
GTM: Table Type Partner Data Communication Structure
I_KOMWBHD_OLDImportingTYPE
KOMWBHD
Trading Contract: Communication Structure, Commercial Data
I_KOMWBHIImportingTYPE
KOMWBHI
I_KOMWBHKImportingTYPE
KOMWBHK
Trading Contract: Communication Structure Header Data
I_T180ImportingTYPE
T180
Screen Sequence Control: Transaction Default Values
C_KOMWBHDChangingTYPE
KOMWBHD
Trading Contract: Communication Structure, Commercial Data



Exceptions of Method CHANGE_BUSINESS_DATA

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO IF_WB2_BL_ENHANCEMENTS.
DATA: lv_C_KOMWBHD TYPE KOMWBHD,
lv_IT_KOMWBHI TYPE TABKOMWBHI,
lv_IT_KOMWBHP TYPE TABKOMWBHP,
lv_I_KOMWBHD_OLD TYPE KOMWBHD,
lv_I_KOMWBHI TYPE KOMWBHI,
lv_I_KOMWBHK TYPE KOMWBHK,
lv_I_T180 TYPE T180,
lv_other TYPE c.

CALL METHOD lo_class=>CHANGE_BUSINESS_DATA(
EXPORTING
IT_KOMWBHI = lv_IT_KOMWBHI
IT_KOMWBHP = lv_IT_KOMWBHP
I_KOMWBHD_OLD = lv_I_KOMWBHD_OLD
I_KOMWBHI = lv_I_KOMWBHI
I_KOMWBHK = lv_I_KOMWBHK
I_T180 = lv_I_T180
CHANGING
C_KOMWBHD = lv_C_KOMWBHD ).

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!