Fonction SAP BAPI_RECEIVABLE_CREATE_MLT - Create 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
CREATEDRECEIVABLES BAPICMS_STR_RBL_SKY 67 X Successfully created receivables
EXTENSIONIN BAPIPAREX 990 X Ref. structure for BAPI parameter ExtensionIn/ExtensionOut
FAILEDRECEIVABLES BAPICMS_STR_FAIL_RBL_SKY 67 X Not created receivables
HEADER BAPICMS_STR_RBL_HDR_CHG 500 Receivable header structure
POSITIONS BAPICMS_STR_RBL_POS_CHG 155 X Receivable Positions
RETURN BAPIRET2 548 X Return Parameter

Functionality
This BAPI creates 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 newly created receivables from thecreditsytem 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. No receivableIDs will be created in this BAPI.
No authority check is performed in the BAPI.

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
List of succesfully created receivables.

Description
Structure for customer extensions.

Description
List of receivables which could not be created because oferrors that occured during the creation process.

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 and success messages occured duringcreation of receivables.