WRITE_CDO SAP Method Write change document data









Below is documentation, parameters and attributes of ABAP Method WRITE_CDO within SAP class /SCMB/CL_BPTM_HELPER. There is also a number of example ABAP code snipts to help you use the functionality of this method.

This is a private Method so can only be executed from within the class itself. I.e. You could access it from another method of the class.

This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name /SCMB/CL_BPTM_HELPER 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 WRITE_CDO can also be found below:

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


Parameters of Method WRITE_CDO

.

NameTypeData TypeDescriptionDefault Value
IT_PARTNERImportingTYPE
/SCMB/MDL_PRTNO_TAB
Partner Number Table
CT_CMP_NEWChangingTYPE
/SCMB/T_BPTMCMP
BP: Company Code dependent TM speciifc data
CT_CMP_OLDChangingTYPE
/SCMB/T_BPTMCMP
BP: Company Code dependent TM speciifc data
CT_GEN_NEWChangingTYPE
/SCMB/T_BPTMGEN
BP: Additional general data for TM
CT_GEN_OLDChangingTYPE
/SCMB/T_BPTMGEN
BP: Additional general data for TM
CT_ORG_NEWChangingTYPE
/SCMB/T_BPTMORG
BP: Organization dependent TM speciifc data
CT_ORG_OLDChangingTYPE
/SCMB/T_BPTMORG
BP: Organization dependent TM speciifc data
CT_REG_NEWChangingTYPE
/SCMB/T_BPTMREG
BP: Supplying regions
CT_REG_OLDChangingTYPE
/SCMB/T_BPTMREG
BP: Supplying regions
CT_REL_NEWChangingTYPE
/SCMB/T_BPTMREL
BP: TM specific BP relationships
CT_REL_OLDChangingTYPE
/SCMB/T_BPTMREL
BP: TM specific BP relationships
CT_SCT_NEWChangingTYPE
/SCMB/T_UI_BPTMSC
Table Type for Carrier Service Codes
CT_SCT_OLDChangingTYPE
/SCMB/T_UI_BPTMSC
Table Type for Carrier Service Codes
CT_SC_NEWChangingTYPE
/SCMB/T_UI_BPTMSC
Table Type for Carrier Service Codes
CT_SC_OLDChangingTYPE
/SCMB/T_UI_BPTMSC
Table Type for Carrier Service Codes
CT_SLC_NEWChangingTYPE
/SCMB/T_UI_BPTMSLC
table type for /SCMB/S_UI_BPTMSLC
CT_SLC_OLDChangingTYPE
/SCMB/T_UI_BPTMSLC
table type for /SCMB/S_UI_BPTMSLC
CT_TXT_NEWChangingTYPE
/SCMB/T_BPTMTXT
Table Type: BP Additional Text Type
CT_TXT_OLDChangingTYPE
/SCMB/T_BPTMTXT
Table Type: BP Additional Text Type



Exceptions of Method WRITE_CDO

This method does not have any exceptions

Example ABAP coding

This is a private Method so the below code can only be executed from within the class itself. I.e. from another method of the class.

DATA: lo_class TYPE REF TO /SCMB/CL_BPTM_HELPER.
DATA: lv_CT_CMP_NEW TYPE /SCMB/T_BPTMCMP,
lv_CT_CMP_OLD TYPE /SCMB/T_BPTMCMP,
lv_CT_GEN_NEW TYPE /SCMB/T_BPTMGEN,
lv_CT_GEN_OLD TYPE /SCMB/T_BPTMGEN,
lv_CT_ORG_NEW TYPE /SCMB/T_BPTMORG,
lv_CT_ORG_OLD TYPE /SCMB/T_BPTMORG,
lv_CT_REG_NEW TYPE /SCMB/T_BPTMREG,
lv_CT_REG_OLD TYPE /SCMB/T_BPTMREG,
lv_CT_REL_NEW TYPE /SCMB/T_BPTMREL,
lv_CT_REL_OLD TYPE /SCMB/T_BPTMREL,
lv_CT_SCT_NEW TYPE /SCMB/T_UI_BPTMSC,
lv_CT_SCT_OLD TYPE /SCMB/T_UI_BPTMSC,
lv_CT_SC_NEW TYPE /SCMB/T_UI_BPTMSC,
lv_CT_SC_OLD TYPE /SCMB/T_UI_BPTMSC,
lv_CT_SLC_NEW TYPE /SCMB/T_UI_BPTMSLC,
lv_CT_SLC_OLD TYPE /SCMB/T_UI_BPTMSLC,
lv_CT_TXT_NEW TYPE /SCMB/T_BPTMTXT,
lv_CT_TXT_OLD TYPE /SCMB/T_BPTMTXT,
lv_IT_PARTNER TYPE /SCMB/MDL_PRTNO_TAB,
lv_other TYPE c.

CALL METHOD lo_class=>WRITE_CDO(
EXPORTING
IT_PARTNER = lv_IT_PARTNER
CHANGING
CT_CMP_NEW = lv_CT_CMP_NEW
CT_CMP_OLD = lv_CT_CMP_OLD
CT_GEN_NEW = lv_CT_GEN_NEW
CT_GEN_OLD = lv_CT_GEN_OLD
CT_ORG_NEW = lv_CT_ORG_NEW
CT_ORG_OLD = lv_CT_ORG_OLD
CT_REG_NEW = lv_CT_REG_NEW
CT_REG_OLD = lv_CT_REG_OLD
CT_REL_NEW = lv_CT_REL_NEW
CT_REL_OLD = lv_CT_REL_OLD
CT_SCT_NEW = lv_CT_SCT_NEW
CT_SCT_OLD = lv_CT_SCT_OLD
CT_SC_NEW = lv_CT_SC_NEW
CT_SC_OLD = lv_CT_SC_OLD
CT_SLC_NEW = lv_CT_SLC_NEW
CT_SLC_OLD = lv_CT_SLC_OLD
CT_TXT_NEW = lv_CT_TXT_NEW
CT_TXT_OLD = lv_CT_TXT_OLD ).

Links to Related Class(s)

/SCMB/CL...
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!