GENERIC_CHGD4 SAP Method Implementation of BDT Module CHGD4
Below is documentation, parameters and attributes of ABAP Method GENERIC_CHGD4 within SAP class XO_BDT_ADAPTER. 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 XO_BDT_ADAPTER 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 GENERIC_CHGD4 can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method GENERIC_CHGD4
.Name | Type | Data Type | Description | Default Value |
I_TABKEY | Importing | TYPE CDTABKEY | Key of Changed Table Line | |
I_TABNAME | Importing | TYPE XO_TABLE_NAME | Table Name | |
C_KEYNAM | Changing | TYPE BU_KEYNAM | CBP: Name of Key Field | |
C_KEYVAL | Changing | TYPE BU_KEYVAL | Central business partner: Formatted table key string | |
C_TABBEZ | Changing | TYPE BU_TABBEZ | CBP: Name of table | |
C_XREL | Changing | TYPE CHAR1 | Single-Character Flag |
Exceptions of Method GENERIC_CHGD4
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO XO_BDT_ADAPTER.
DATA: lv_C_KEYNAM TYPE BU_KEYNAM,
lv_C_KEYVAL TYPE BU_KEYVAL,
lv_C_TABBEZ TYPE BU_TABBEZ,
lv_C_XREL TYPE CHAR1,
lv_I_TABKEY TYPE CDTABKEY,
lv_I_TABNAME TYPE XO_TABLE_NAME,
lv_other TYPE c.
CALL METHOD lo_class=>GENERIC_CHGD4(
EXPORTING
I_TABKEY = lv_I_TABKEY
I_TABNAME = lv_I_TABNAME
CHANGING
C_KEYNAM = lv_C_KEYNAM
C_KEYVAL = lv_C_KEYVAL
C_TABBEZ = lv_C_TABBEZ
C_XREL = lv_C_XREL ).
Links to Related Class(s)
XO_BDT_A...Full list of available SAP object classes
Search for further information about these or an SAP related objects