Fonction SAP BAPI_RECEIVABLE_CHANGE_MLT - Change BAPI for receivable

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
GENERATE_LINKS BAPICMS_STR_RBL-GENERATE_LINKS C 1 'X' X Indicates that CAG_RBL links to be generated automatically
PROCESSEXTENSION BAPI_CMS_STR_CENTRAL-PROCESSEXTENSION C 1 X Flag: Execute Customer Extensions (BAdIs) in BAPI
TESTRUN BAPI_CMS_STR_CENTRAL-TESTRUN C 1 X Switch to Simulation Session for Write BAPIs

Paramètre Reférence Long. Facultatif Description
BUSINESSPARTNERS BAPICMS_STR_RBL_BP_CHG 105 X Receivables Business Partners for Change BAPI
CHANGEDRECEIVABLES BAPICMS_STR_RBL_SKY 67 X Semantic Key for CMS_RBL
EXTENSIONIN BAPIPAREX 990 X Ref. structure for BAPI parameter ExtensionIn/ExtensionOut
FAILEDRECEIVABLES BAPICMS_STR_FAIL_RBL_SKY 67 X Semantic Key for CMS_RBL
HEADER BAPICMS_STR_RBL_HDR_CHG 500 Receivable header structure
POSITIONS BAPICMS_STR_RBL_POS_CHG 155 X Receivable Position for MAPI Change
RETURN BAPIRET2 548 X Return Parameter

Functionality
This BAPI changes multiple receivables along with their positions andbusiness partner links. If the receivable is collateralized by acollateral agreement via a wide declaration of purpose (rules) then therespective links will be updated.

Example
The BAPI can be used in an integration scenarion between CMS and anycreditsystem e.g. CML to copy the relevant changes in receivable datafrom the creditsytem to CMS.

Notes
The receivables are identified by their semantic key 'creditsystemreceivable_id.' The semantic key is mandatory in the import tablesi_tab_header, i_tab_position and i_tab_business partner.
If you want to change only one field in the header it is mandatory topass the whole receivable including positions and business partner. Ifno positions are passed for a receivable then eventually existingpositions will be deleted.
No authority check is performed in the BAPI.
If the imported receivable data is identical with the existing fields onthe DB, then the DB will not be updated. Nevertheless the receivablewill also be returned int table e_tab_success.

Description
Parameter is set to 'X' : the automatic link generation for collateralagreement - receivable links is started. Not that the automatic linkswill only change if any of these attributes of a receivable change:business partner, product class, product, receivable organizational unit
, contract currency. If you know that none of these attributes ischanged the flag can be set to space for better performance.

Value range
' ' do not update links
'X" update links

Description
If this flag is set to 'X' the method of BADI CMS_BUSISB112_CHANGE willbe called called using the importing parameter EXTENSIONIN.

Value range
' ' do not process the customer extensions
'X' process customer extensions

Description
If the flag is set to 'X' the BAPI will run in the simulation mode. Nodatabase updates will be done.

Value range
' ' normal mode
'X' simulation mode

Description
Business partner of a receivable. Each receivable can but must not haveone or more business partners.

Value range

Mandatory fields
CREDITSYSTEM - reference to the receivable header.
RECEIVABLE_ID - reference to the receivable header.
BUSINESS_PARTNERID
BUSINESS_PARTNER_FUNCTION - Values will be checked against the businesspartner functions in customizing table TCMS_BPF.

Description
Gives list of receivables which have been succesfully changed.Receivables which where not changed because the data given (newversionwas the same as the old version are also listed here.

Description
Structure for customer extensions.

Description
Gives a list of receivables which could not be changed becausebecause of errors.

Description
Header information of a receivable

Value range

Mandatory fields
CREDITSYSTEM - part of the semantic key. Values will be checked againstcustomizing table TCMS_RBL_CRDSYS.
RECEIVABLE_ID - part of the semantic key.
PRD_CLASS - The product class will be checked against avlues incustomizing table TCMS_PRD. The creditsystem has to be assigned to theproduct class in customizing table TCMS_PRD.
STATUS - Status is checked against the following fixed values:
,,01,,Contract
,,02,,Offer
,,03,,Application
,,04,,Inactive

Fields with value checks
ADMIN_ORGANIZATIONAL_UNIT - has to be a CMS-administrational orgunit. Itwill be checked whether the org unit exists in PD-Org and is locatedhierarchically beneath the root org unit defined in TCMS_CLNT-OBJECT_ID.
REFERENCE_CREDIT_SYSTEM - Values will be checked against customizingtable TCMS_RBL_CRDSYS.
CONTRACT_AMOUNT - No negative amounts allowed.
MAXIMUM_RISK_AMOUNT - No negative amounts allowed.
CURRENT_RISK_AMOUNT - No negative amounts allowed.
DISB_OBLIGATION_AMOUNT - No negative amounts allowed.
UTILIZATION_AMOUNT - No negative amounts allowed.
DRAWDOWN_AMOUNT - No negative amounts allowed.
INTEREST_AMOUNT - No negative amounts allowed.
FEES_AMOUNT - No negative amounts allowed.

Description
Position of a receivable. Each receivable can but must not have one ormore positions.

Value range

Mandatory fields
CREDITSYSTEM - part of the semantic key. Reference to the receivableheader.
RECEIVABLE_ID - part of the semantic key. Reference to the receivableheader.
POSITIONID - part of the semantic key.
Creditsystem and receivable_id refer to the receivable header. Theposition ID has to be unique for each receivable.
STATUS - Status is checked against the following fixed values:
,,02,,Offer
,,12,,Change Offer
,,13,,Change Application

Fields with value checks
CONTRACT_AMOUNT - No negative amounts allowed.
MAXIMUM_RISK_AMOUNT - No negative amounts allowed.
CURRENT_RISK_AMOUNT - No negative amounts allowed.

Description
List of errors, warnings or success messages.