Ansicht
Dokumentation

BAPI_CUSTOMERCONTRACT_CHANGE - Change Customer Contract

BAPI_CUSTOMERCONTRACT_CHANGE - Change Customer Contract

Fill RESBD Structure from EBP Component Structure   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

Using this method, you can change or delete contracts.

You can change header data, item data, schedule line data, contract data and configuration data.

In general the following applies:

  1. Only enter fields that you want to change.
  2. Mark the fields you want to change with an X.
  3. Fill in the UPDATEFLAG field with a U.
  4. Always enter the key fields when making changes, including in the checkbox list.
  5. An exception is configuration. If you change this, you must fill it in completely.
  6. Enter quantities and dates under schedule line data.
  7. Possible update flags: U = change
    D = delete
    I = insert

Example

  1. Delete complete contract
  2. Delete contract item
  3. Changes to contract
  4. Change configuration

Notes

  1. Minimum entries required:
    You MUST enter the contract number in the SALESDOCUMENT structure.
    You must always enter key fields when you make a change.
    You must always enter the update indicator in the INQUIRY_HEADER_INX.
  2. Commitment control
The BAPI does not carry out a database commit. This means that the calling application must leave the commit in order to have changes made to the database. BAPI_TRANSACTION_COMMIT is available for this purpose.




Parameters

BEHAVE_WHEN_ERROR
CONDITIONS_IN
CONDITIONS_INX
CONTRACT_CFGS_BLOB
CONTRACT_CFGS_INST
CONTRACT_CFGS_PART_OF
CONTRACT_CFGS_REF
CONTRACT_CFGS_REFINST
CONTRACT_CFGS_VALUE
CONTRACT_CFGS_VK
CONTRACT_DATA_IN
CONTRACT_DATA_INX
CONTRACT_HEADER_IN
CONTRACT_HEADER_INX
CONTRACT_ITEM_IN
CONTRACT_ITEM_INX
CONTRACT_KEYS
CONTRACT_TEXT
EXTENSIONEX
EXTENSIONIN
INT_NUMBER_ASSIGNMENT
LOGIC_SWITCH
NO_STATUS_BUF_INIT
PARTNERADDRESSES
PARTNERCHANGES
PARTNERS
RETURN
SALESDOCUMENT
SIMULATION

Exceptions

Function Group

2034

BAL Application Log Documentation   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Length: 4372 Date: 20240523 Time: 120202     sap01-206 ( 35 ms )