SAP BAPI_CMS_CAG_CHANGE Function Module for Change a Collateral agreement
BAPI_CMS_CAG_CHANGE is a standard bapi cms cag change SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Change a Collateral agreement processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for bapi cms cag change FM, simply by entering the name BAPI_CMS_CAG_CHANGE into the relevant SAP transaction such as SE37 or SE38.
Function Group: CMS_BUSISB101_BAPI
Program Name: SAPLCMS_BUSISB101_BAPI
Main Program: SAPLCMS_BUSISB101_BAPI
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function BAPI_CMS_CAG_CHANGE pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'BAPI_CMS_CAG_CHANGE'"Change a Collateral agreement.
EXPORTING
AGREEMENT_TYPE = "Collateral Agreement Type
* TRANSFER_DATAX = "CHANGE: Transfer specific details, Update bar
* LAND_CHARGE_DATA = "CHANGE: Land charges specific data
* LAND_CHARGE_DATAX = "CHANGE: Land charges specific data, Update bar
* ASSIGNMENT_PLEDGE_DATA = "CHANGE: Assignment Pledge specific data
* ASSIGNMENT_PLEDGE_DATAX = "CHANGE: Assignment Pledge specific data, Update bar
* PROCESSEXTENSION = "Flag: Execute Customer Extensions (BAdIs) in BAPI
* TESTRUN = "Switch to Simulation Session for Write BAPIs
* BUPR_ID = "ID Number of Business Process
* BUPR_TYPE_CODE = '900002' "Business Process Code
AGREEMENT_ID = "Collateral Agreement ID
* GENERATE_RECEIVABLE_LINKS = "Indicates that CAG_RBL links to be generated automatically
* OVERRIDE_DEFAULTS = "Override CAG default values with user-entered values
* BASIC_DATA = "CHANGE: Basic data for collateral agreements
* BASIC_DATAX = "CHANGE: Basic data for collateral agreements, Update bar
* GUARANTEE_DATA = "CHANGE: Guarantee data
* GUARANTEE_DATAX = "CHANGE: Guarantee data, Update bar
* TRANSFER_DATA = "CHANGE: Transfer specific details
IMPORTING
AGREEMENT_ID_OUT = "Collateral Agreement ID
AGREEMENT_TYPE_OUT = "Collateral Agreement Type
TABLES
* EXTENSIONIN = "Ref. structure for BAPI parameter ExtensionIn/ExtensionOut
* BUSINESS_PARTNERS = "CHANGE: Business partners linked to Collateral agreement
* BUSINESS_PARTNERSX = "CHANGE: BPs linked to Collateral agreement, Update bar
* DOCUMENTS = "CHANGE: Documents linked to collateral agreement
* DOCUMENTSX = "CHANGE: Documents linked to collateral agreement, Update bar
* PORTION_BUSINESS_PARTNERS = "CHANGE: Business partners linked to Agreement-Portions
* PORTION_BUSINESS_PARTNERSX = "CHANGE: BPs linked to Agreement-Portions, Upddate bar
* RELATIONS_FROM = "CHANGE: Relationship: Contributions From Agreement Portions
* RELATIONS_FROMX = "CHANGE: Rel.: Contributions From cag Portions, Upd bar
* RELATIONS_TO = "CHANGE:Relationship: Contributions of Portions to Agreements
* RELATIONS_TOX = "CHANGE: Rel.: Contributions of Portions to cags, Upd. bar
* PORTIONS = "CHANGE: Collateral agreement portions
* USER_STATUS = "CHANGE: User status
* SYSTEM_STATUS = "CHANGE: System status
* SPECIAL_ARRANGEMENTS = "CHANGE: Special agreements on collateral agreements
* SPECIAL_ARRANGEMENTSX = "CHANGE: Special agreements on cags, Update bar
* PARTNER_TERMINATION_DATA = "CHANGE: BuPa termination details
* PARTNER_TERMINATION_DATAX = "CHANGE: BuPa termination details, Update bar
* COSTS = "CHANGE: Expenditure incurred on collateral agreements
* COSTSX = "CHANGE: Expenditure incurred on cag, Update bar
* NOTES = "CHANGE: Notes created on Collateral agreement
* NOTESX = "CHANGE: Notes created on Collateral agreement, Update bar
* PORTIONSX = "CHANGE: Collateral agreement portions, Update bar
* EXTENSIONOUT = "Ref. structure for BAPI parameter ExtensionIn/ExtensionOut
* RETURN = "Return Parameter
* RULES = "CHANGE: Rules associated to Collateral agreement
* RULESX = "CHANGE: Rules associated to Collateral agreement, Update bar
* RECEIVABLE_LINKS = "CHANGE: Collateral agreement receivable links
* RECEIVABLE_LINKSX = "CHANGE: Collateral agreement receivable links, Update bar
* CHARGES = "CHANGE: Charges on Collateral agreement
* CHARGESX = "CHANGE: Charges on Collateral agreement, Update bar
IMPORTING Parameters details for BAPI_CMS_CAG_CHANGE
AGREEMENT_TYPE - Collateral Agreement Type
Data type: BAPICMS_STR_CAG_TYP-CAGMT_TYPEOptional: No
Call by Reference: No ( called with pass by value option)
TRANSFER_DATAX - CHANGE: Transfer specific details, Update bar
Data type: BAPICMS_STR_CAG_TRANS_CHG_XOptional: Yes
Call by Reference: No ( called with pass by value option)
LAND_CHARGE_DATA - CHANGE: Land charges specific data
Data type: BAPICMS_STR_CAG_LCHG_CHGOptional: Yes
Call by Reference: No ( called with pass by value option)
LAND_CHARGE_DATAX - CHANGE: Land charges specific data, Update bar
Data type: BAPICMS_STR_CAG_LCHG_CHG_XOptional: Yes
Call by Reference: No ( called with pass by value option)
ASSIGNMENT_PLEDGE_DATA - CHANGE: Assignment Pledge specific data
Data type: BAPICMS_STR_CAG_ASM_PLD_CHGOptional: Yes
Call by Reference: No ( called with pass by value option)
ASSIGNMENT_PLEDGE_DATAX - CHANGE: Assignment Pledge specific data, Update bar
Data type: BAPICMS_STR_CAG_ASM_PLD_CHG_XOptional: Yes
Call by Reference: No ( called with pass by value option)
PROCESSEXTENSION - Flag: Execute Customer Extensions (BAdIs) in BAPI
Data type: BAPI_CMS_STR_CENTRAL-PROCESSEXTENSIONOptional: Yes
Call by Reference: No ( called with pass by value option)
TESTRUN - Switch to Simulation Session for Write BAPIs
Data type: BAPI_CMS_STR_CENTRAL-TESTRUNOptional: Yes
Call by Reference: No ( called with pass by value option)
BUPR_ID - ID Number of Business Process
Data type: BAPICMS_STR_BUSINESS_PROCESS-BUPR_IDOptional: Yes
Call by Reference: No ( called with pass by value option)
BUPR_TYPE_CODE - Business Process Code
Data type: BAPICMS_STR_BUSINESS_PROCESS-BUPR_TYPE_CODEDefault: '900002'
Optional: Yes
Call by Reference: No ( called with pass by value option)
AGREEMENT_ID - Collateral Agreement ID
Data type: BAPICMS_STR_CAG_ID-CAGMTIDOptional: No
Call by Reference: No ( called with pass by value option)
GENERATE_RECEIVABLE_LINKS - Indicates that CAG_RBL links to be generated automatically
Data type: BAPICMS_STR_FLG_GEN_AUTO_LINKS-GEN_AUTO_LINKSOptional: Yes
Call by Reference: No ( called with pass by value option)
OVERRIDE_DEFAULTS - Override CAG default values with user-entered values
Data type: BAPICMS_STR_CAG_SPECIFIC_CRTOptional: Yes
Call by Reference: No ( called with pass by value option)
BASIC_DATA - CHANGE: Basic data for collateral agreements
Data type: BAPICMS_STR_CAG_BASIC_CHGOptional: Yes
Call by Reference: No ( called with pass by value option)
BASIC_DATAX - CHANGE: Basic data for collateral agreements, Update bar
Data type: BAPICMS_STR_CAG_BASIC_CHG_XOptional: Yes
Call by Reference: No ( called with pass by value option)
GUARANTEE_DATA - CHANGE: Guarantee data
Data type: BAPICMS_STR_CAG_GUAR_CHGOptional: Yes
Call by Reference: No ( called with pass by value option)
GUARANTEE_DATAX - CHANGE: Guarantee data, Update bar
Data type: BAPICMS_STR_CAG_GUAR_CHG_XOptional: Yes
Call by Reference: No ( called with pass by value option)
TRANSFER_DATA - CHANGE: Transfer specific details
Data type: BAPICMS_STR_CAG_TRANS_CHGOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for BAPI_CMS_CAG_CHANGE
AGREEMENT_ID_OUT - Collateral Agreement ID
Data type: BAPICMS_STR_CAG_ID-CAGMTIDOptional: No
Call by Reference: No ( called with pass by value option)
AGREEMENT_TYPE_OUT - Collateral Agreement Type
Data type: BAPICMS_STR_CAG_TYP-CAGMT_TYPEOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for BAPI_CMS_CAG_CHANGE
EXTENSIONIN - Ref. structure for BAPI parameter ExtensionIn/ExtensionOut
Data type: BAPIPAREXOptional: Yes
Call by Reference: Yes
BUSINESS_PARTNERS - CHANGE: Business partners linked to Collateral agreement
Data type: BAPICMS_STR_CAG_BP_CHGOptional: Yes
Call by Reference: Yes
BUSINESS_PARTNERSX - CHANGE: BPs linked to Collateral agreement, Update bar
Data type: BAPICMS_STR_CAG_BP_CHG_XOptional: Yes
Call by Reference: Yes
DOCUMENTS - CHANGE: Documents linked to collateral agreement
Data type: BAPICMS_STR_CAG_DOC_CHGOptional: Yes
Call by Reference: Yes
DOCUMENTSX - CHANGE: Documents linked to collateral agreement, Update bar
Data type: BAPICMS_STR_CAG_DOC_CHG_XOptional: Yes
Call by Reference: Yes
PORTION_BUSINESS_PARTNERS - CHANGE: Business partners linked to Agreement-Portions
Data type: BAPICMS_STR_CAG_POR_BP_CHGOptional: Yes
Call by Reference: Yes
PORTION_BUSINESS_PARTNERSX - CHANGE: BPs linked to Agreement-Portions, Upddate bar
Data type: BAPICMS_STR_CAG_POR_BP_CHG_XOptional: Yes
Call by Reference: Yes
RELATIONS_FROM - CHANGE: Relationship: Contributions From Agreement Portions
Data type: BAPICMS_STR_CAG_REL_FROM_CHGOptional: Yes
Call by Reference: Yes
RELATIONS_FROMX - CHANGE: Rel.: Contributions From cag Portions, Upd bar
Data type: BAPICMS_STR_CAG_REL_FROM_CHG_XOptional: Yes
Call by Reference: Yes
RELATIONS_TO - CHANGE:Relationship: Contributions of Portions to Agreements
Data type: BAPICMS_STR_CAG_REL_TO_CHGOptional: Yes
Call by Reference: Yes
RELATIONS_TOX - CHANGE: Rel.: Contributions of Portions to cags, Upd. bar
Data type: BAPICMS_STR_CAG_REL_TO_CHG_XOptional: Yes
Call by Reference: Yes
PORTIONS - CHANGE: Collateral agreement portions
Data type: BAPICMS_STR_CAG_POR_CHGOptional: Yes
Call by Reference: Yes
USER_STATUS - CHANGE: User status
Data type: BAPICMS_STR_CAG_USR_STAT_CHGOptional: Yes
Call by Reference: Yes
SYSTEM_STATUS - CHANGE: System status
Data type: BAPICMS_STR_CAG_SYS_STAT_CHGOptional: Yes
Call by Reference: Yes
SPECIAL_ARRANGEMENTS - CHANGE: Special agreements on collateral agreements
Data type: BAPICMS_STR_CAG_SA_CHGOptional: Yes
Call by Reference: Yes
SPECIAL_ARRANGEMENTSX - CHANGE: Special agreements on cags, Update bar
Data type: BAPICMS_STR_CAG_SA_CHG_XOptional: Yes
Call by Reference: Yes
PARTNER_TERMINATION_DATA - CHANGE: BuPa termination details
Data type: BAPICMS_STR_CAG_BP_TRM_CHGOptional: Yes
Call by Reference: Yes
PARTNER_TERMINATION_DATAX - CHANGE: BuPa termination details, Update bar
Data type: BAPICMS_STR_CAG_BP_TRM_CHG_XOptional: Yes
Call by Reference: Yes
COSTS - CHANGE: Expenditure incurred on collateral agreements
Data type: BAPICMS_STR_CAG_EXP_CHGOptional: Yes
Call by Reference: Yes
COSTSX - CHANGE: Expenditure incurred on cag, Update bar
Data type: BAPICMS_STR_CAG_EXP_CHG_XOptional: Yes
Call by Reference: Yes
NOTES - CHANGE: Notes created on Collateral agreement
Data type: BAPICMS_STR_CAG_NOTES_CHGOptional: Yes
Call by Reference: Yes
NOTESX - CHANGE: Notes created on Collateral agreement, Update bar
Data type: BAPICMS_STR_CAG_NOTES_CHG_XOptional: Yes
Call by Reference: Yes
PORTIONSX - CHANGE: Collateral agreement portions, Update bar
Data type: BAPICMS_STR_CAG_POR_CHG_XOptional: Yes
Call by Reference: Yes
EXTENSIONOUT - Ref. structure for BAPI parameter ExtensionIn/ExtensionOut
Data type: BAPIPAREXOptional: Yes
Call by Reference: Yes
RETURN - Return Parameter
Data type: BAPIRET2Optional: Yes
Call by Reference: Yes
RULES - CHANGE: Rules associated to Collateral agreement
Data type: BAPICMS_STR_CAG_RULES_CHGOptional: Yes
Call by Reference: Yes
RULESX - CHANGE: Rules associated to Collateral agreement, Update bar
Data type: BAPICMS_STR_CAG_RULES_CHG_XOptional: Yes
Call by Reference: Yes
RECEIVABLE_LINKS - CHANGE: Collateral agreement receivable links
Data type: BAPICMS_STR_CAG_RBL_CHGOptional: Yes
Call by Reference: Yes
RECEIVABLE_LINKSX - CHANGE: Collateral agreement receivable links, Update bar
Data type: BAPICMS_STR_CAG_RBL_CHG_XOptional: Yes
Call by Reference: Yes
CHARGES - CHANGE: Charges on Collateral agreement
Data type: BAPICMS_STR_CAG_CHG_CHGOptional: Yes
Call by Reference: Yes
CHARGESX - CHANGE: Charges on Collateral agreement, Update bar
Data type: BAPICMS_STR_CAG_CHG_CHG_XOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for BAPI_CMS_CAG_CHANGE Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lt_extensionin | TYPE STANDARD TABLE OF BAPIPAREX, " | |||
| lv_agreement_type | TYPE BAPICMS_STR_CAG_TYP-CAGMT_TYPE, " | |||
| lv_agreement_id_out | TYPE BAPICMS_STR_CAG_ID-CAGMTID, " | |||
| lv_transfer_datax | TYPE BAPICMS_STR_CAG_TRANS_CHG_X, " | |||
| lt_business_partners | TYPE STANDARD TABLE OF BAPICMS_STR_CAG_BP_CHG, " | |||
| lv_land_charge_data | TYPE BAPICMS_STR_CAG_LCHG_CHG, " | |||
| lt_business_partnersx | TYPE STANDARD TABLE OF BAPICMS_STR_CAG_BP_CHG_X, " | |||
| lt_documents | TYPE STANDARD TABLE OF BAPICMS_STR_CAG_DOC_CHG, " | |||
| lv_land_charge_datax | TYPE BAPICMS_STR_CAG_LCHG_CHG_X, " | |||
| lt_documentsx | TYPE STANDARD TABLE OF BAPICMS_STR_CAG_DOC_CHG_X, " | |||
| lv_assignment_pledge_data | TYPE BAPICMS_STR_CAG_ASM_PLD_CHG, " | |||
| lv_assignment_pledge_datax | TYPE BAPICMS_STR_CAG_ASM_PLD_CHG_X, " | |||
| lt_portion_business_partners | TYPE STANDARD TABLE OF BAPICMS_STR_CAG_POR_BP_CHG, " | |||
| lv_processextension | TYPE BAPI_CMS_STR_CENTRAL-PROCESSEXTENSION, " | |||
| lt_portion_business_partnersx | TYPE STANDARD TABLE OF BAPICMS_STR_CAG_POR_BP_CHG_X, " | |||
| lv_testrun | TYPE BAPI_CMS_STR_CENTRAL-TESTRUN, " | |||
| lt_relations_from | TYPE STANDARD TABLE OF BAPICMS_STR_CAG_REL_FROM_CHG, " | |||
| lv_bupr_id | TYPE BAPICMS_STR_BUSINESS_PROCESS-BUPR_ID, " | |||
| lt_relations_fromx | TYPE STANDARD TABLE OF BAPICMS_STR_CAG_REL_FROM_CHG_X, " | |||
| lt_relations_to | TYPE STANDARD TABLE OF BAPICMS_STR_CAG_REL_TO_CHG, " | |||
| lv_bupr_type_code | TYPE BAPICMS_STR_BUSINESS_PROCESS-BUPR_TYPE_CODE, " '900002' | |||
| lt_relations_tox | TYPE STANDARD TABLE OF BAPICMS_STR_CAG_REL_TO_CHG_X, " | |||
| lt_portions | TYPE STANDARD TABLE OF BAPICMS_STR_CAG_POR_CHG, " | |||
| lv_agreement_id | TYPE BAPICMS_STR_CAG_ID-CAGMTID, " | |||
| lv_agreement_type_out | TYPE BAPICMS_STR_CAG_TYP-CAGMT_TYPE, " | |||
| lt_user_status | TYPE STANDARD TABLE OF BAPICMS_STR_CAG_USR_STAT_CHG, " | |||
| lt_system_status | TYPE STANDARD TABLE OF BAPICMS_STR_CAG_SYS_STAT_CHG, " | |||
| lt_special_arrangements | TYPE STANDARD TABLE OF BAPICMS_STR_CAG_SA_CHG, " | |||
| lt_special_arrangementsx | TYPE STANDARD TABLE OF BAPICMS_STR_CAG_SA_CHG_X, " | |||
| lt_partner_termination_data | TYPE STANDARD TABLE OF BAPICMS_STR_CAG_BP_TRM_CHG, " | |||
| lt_partner_termination_datax | TYPE STANDARD TABLE OF BAPICMS_STR_CAG_BP_TRM_CHG_X, " | |||
| lt_costs | TYPE STANDARD TABLE OF BAPICMS_STR_CAG_EXP_CHG, " | |||
| lt_costsx | TYPE STANDARD TABLE OF BAPICMS_STR_CAG_EXP_CHG_X, " | |||
| lt_notes | TYPE STANDARD TABLE OF BAPICMS_STR_CAG_NOTES_CHG, " | |||
| lt_notesx | TYPE STANDARD TABLE OF BAPICMS_STR_CAG_NOTES_CHG_X, " | |||
| lt_portionsx | TYPE STANDARD TABLE OF BAPICMS_STR_CAG_POR_CHG_X, " | |||
| lv_generate_receivable_links | TYPE BAPICMS_STR_FLG_GEN_AUTO_LINKS-GEN_AUTO_LINKS, " | |||
| lt_extensionout | TYPE STANDARD TABLE OF BAPIPAREX, " | |||
| lt_return | TYPE STANDARD TABLE OF BAPIRET2, " | |||
| lt_rules | TYPE STANDARD TABLE OF BAPICMS_STR_CAG_RULES_CHG, " | |||
| lv_override_defaults | TYPE BAPICMS_STR_CAG_SPECIFIC_CRT, " | |||
| lt_rulesx | TYPE STANDARD TABLE OF BAPICMS_STR_CAG_RULES_CHG_X, " | |||
| lv_basic_data | TYPE BAPICMS_STR_CAG_BASIC_CHG, " | |||
| lv_basic_datax | TYPE BAPICMS_STR_CAG_BASIC_CHG_X, " | |||
| lt_receivable_links | TYPE STANDARD TABLE OF BAPICMS_STR_CAG_RBL_CHG, " | |||
| lv_guarantee_data | TYPE BAPICMS_STR_CAG_GUAR_CHG, " | |||
| lt_receivable_linksx | TYPE STANDARD TABLE OF BAPICMS_STR_CAG_RBL_CHG_X, " | |||
| lt_charges | TYPE STANDARD TABLE OF BAPICMS_STR_CAG_CHG_CHG, " | |||
| lv_guarantee_datax | TYPE BAPICMS_STR_CAG_GUAR_CHG_X, " | |||
| lt_chargesx | TYPE STANDARD TABLE OF BAPICMS_STR_CAG_CHG_CHG_X, " | |||
| lv_transfer_data | TYPE BAPICMS_STR_CAG_TRANS_CHG. " |
|   CALL FUNCTION 'BAPI_CMS_CAG_CHANGE' "Change a Collateral agreement |
| EXPORTING | ||
| AGREEMENT_TYPE | = lv_agreement_type | |
| TRANSFER_DATAX | = lv_transfer_datax | |
| LAND_CHARGE_DATA | = lv_land_charge_data | |
| LAND_CHARGE_DATAX | = lv_land_charge_datax | |
| ASSIGNMENT_PLEDGE_DATA | = lv_assignment_pledge_data | |
| ASSIGNMENT_PLEDGE_DATAX | = lv_assignment_pledge_datax | |
| PROCESSEXTENSION | = lv_processextension | |
| TESTRUN | = lv_testrun | |
| BUPR_ID | = lv_bupr_id | |
| BUPR_TYPE_CODE | = lv_bupr_type_code | |
| AGREEMENT_ID | = lv_agreement_id | |
| GENERATE_RECEIVABLE_LINKS | = lv_generate_receivable_links | |
| OVERRIDE_DEFAULTS | = lv_override_defaults | |
| BASIC_DATA | = lv_basic_data | |
| BASIC_DATAX | = lv_basic_datax | |
| GUARANTEE_DATA | = lv_guarantee_data | |
| GUARANTEE_DATAX | = lv_guarantee_datax | |
| TRANSFER_DATA | = lv_transfer_data | |
| IMPORTING | ||
| AGREEMENT_ID_OUT | = lv_agreement_id_out | |
| AGREEMENT_TYPE_OUT | = lv_agreement_type_out | |
| TABLES | ||
| EXTENSIONIN | = lt_extensionin | |
| BUSINESS_PARTNERS | = lt_business_partners | |
| BUSINESS_PARTNERSX | = lt_business_partnersx | |
| DOCUMENTS | = lt_documents | |
| DOCUMENTSX | = lt_documentsx | |
| PORTION_BUSINESS_PARTNERS | = lt_portion_business_partners | |
| PORTION_BUSINESS_PARTNERSX | = lt_portion_business_partnersx | |
| RELATIONS_FROM | = lt_relations_from | |
| RELATIONS_FROMX | = lt_relations_fromx | |
| RELATIONS_TO | = lt_relations_to | |
| RELATIONS_TOX | = lt_relations_tox | |
| PORTIONS | = lt_portions | |
| USER_STATUS | = lt_user_status | |
| SYSTEM_STATUS | = lt_system_status | |
| SPECIAL_ARRANGEMENTS | = lt_special_arrangements | |
| SPECIAL_ARRANGEMENTSX | = lt_special_arrangementsx | |
| PARTNER_TERMINATION_DATA | = lt_partner_termination_data | |
| PARTNER_TERMINATION_DATAX | = lt_partner_termination_datax | |
| COSTS | = lt_costs | |
| COSTSX | = lt_costsx | |
| NOTES | = lt_notes | |
| NOTESX | = lt_notesx | |
| PORTIONSX | = lt_portionsx | |
| EXTENSIONOUT | = lt_extensionout | |
| RETURN | = lt_return | |
| RULES | = lt_rules | |
| RULESX | = lt_rulesx | |
| RECEIVABLE_LINKS | = lt_receivable_links | |
| RECEIVABLE_LINKSX | = lt_receivable_linksx | |
| CHARGES | = lt_charges | |
| CHARGESX | = lt_chargesx | |
| . " BAPI_CMS_CAG_CHANGE | ||
ABAP code using 7.40 inline data declarations to call FM BAPI_CMS_CAG_CHANGE
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| "SELECT single CAGMT_TYPE FROM BAPICMS_STR_CAG_TYP INTO @DATA(ld_agreement_type). | ||||
| "SELECT single CAGMTID FROM BAPICMS_STR_CAG_ID INTO @DATA(ld_agreement_id_out). | ||||
| "SELECT single PROCESSEXTENSION FROM BAPI_CMS_STR_CENTRAL INTO @DATA(ld_processextension). | ||||
| "SELECT single TESTRUN FROM BAPI_CMS_STR_CENTRAL INTO @DATA(ld_testrun). | ||||
| "SELECT single BUPR_ID FROM BAPICMS_STR_BUSINESS_PROCESS INTO @DATA(ld_bupr_id). | ||||
| "SELECT single BUPR_TYPE_CODE FROM BAPICMS_STR_BUSINESS_PROCESS INTO @DATA(ld_bupr_type_code). | ||||
| DATA(ld_bupr_type_code) | = '900002'. | |||
| "SELECT single CAGMTID FROM BAPICMS_STR_CAG_ID INTO @DATA(ld_agreement_id). | ||||
| "SELECT single CAGMT_TYPE FROM BAPICMS_STR_CAG_TYP INTO @DATA(ld_agreement_type_out). | ||||
| "SELECT single GEN_AUTO_LINKS FROM BAPICMS_STR_FLG_GEN_AUTO_LINKS INTO @DATA(ld_generate_receivable_links). | ||||
Search for further information about these or an SAP related objects