SAP Function BAPI_COLL_SEND_ITEMS - FSCM-COL: Send Data for Collections Management

Parameter Reference Type Length Default Optional Text
PRECONDITIONED_TIMESTAMP BAPI_COLL_KEY_FIGURES-TIMESTAMP P 8 X Time Stamep: Time Data Was Created or Updated

Parameter Reference Type Length Text
RETURN BAPIRET2 u 548 Return Parameter

Parameter Reference Length Optional Text
EXT_ITEMS BAPI_COLL_EXT_ITEMS 226 X FSCM-COL: Enhancement at 'Item' Level
EXT_KEY_FIGURES BAPI_COLL_EXT_KEY_FIGURES 176 X FSCM-COL: Enhancement at 'Key Figure' Level
ITEMS BAPI_COLL_ITEMS 265 X FSCM-COL: Item Information
ITEMS_DEL BAPI_COLL_ITEMS_DEL 64 X FSCM-COL: Items to Be Deleted
KEY_FIGURES BAPI_COLL_KEY_FIGURES 44 FSCM-COL: General Details/Key Figures
LAST_PAYMENT BAPI_COLL_LAST_PAYMENT 42 X FSCM-COL: Last Payments of Business Partner

0&FUNCTIONALITY&
This method is used to send FI-relevant data for Collections Management.
Note in the interface documentation that in all tables, the fieldPARTNER (business partner number) refers to the customernumber of FI. The related business partner in Collections Managementis determined from the table EXT_KEY_FIGURES:
The GUID of the business partner is determined from the partner(customer number in FI) and the FI company code using the fieldBU_PARTNER_GUID. The related business partner in CollectionsManagement is also determined in this way.
The field XINITIAL_LOAD is particularly important (recreation ofdata in Collections Management) in table KEY_FIGURES. If thisindicator is set, the data of this business partner is recreated. If thetables LAST_PAYMENT and ITEMS do not contain any furtherinformation on the relevant customer, the data of this business partneris deleted in Collections Management.
The table LAST_PAYMENT contains information about payments (inthe standard system, it always contains all payments for the last 99days). Note that the payments are always updated, this means, allpayments of a business partner that already exist are deleted inCollections Management and are then updated by the existing payments inthe table LAST_PAYMENT.
The table ITEMS contains information about open items that are tobe added or changed.
The table ITEMS _DEL contains items to be deleted (for example,due to clearing an invoice item).
The tables EXT_KEY_FIGURES and EXT_ITEMS containenhancements at the 'key figures' and 'open items' level of a businesspartner, if you want to send additional attributes of a customer oradditional attributes of open items to Collections Management. However,you first need to include the additional attributes in the customerinclude CI_UDM_COLL_KEYFIG of table UDM_COLL_KEYFIG (keyfigures of a business partner) or in the customer includeCI_UDM_S_COLL_ITEM_ATTR of table UDM_COLL_ITEM (openitems) in the Collections Management system:
You transfer the appropriate field names that you have included in thecustomer include CI_UDM_COLL_KEYFIG orCI_UDM_S_COLL_ITEM_ATTR to the field ATTR_ID of the tablesEXT_KEY_FIGURES and EXT_ITEMS. You transfer theappropriate value to the field ATTR_VALUE.
You also need to add the reference to the open invoice item foradditional attributes for open items. You can transfer it from the tableITEMS.

Example
You always want to transfer all existing FI-relevant data from AccountsReceivable Accounting to Collections Management.
To do this, set the indicator XINITIAL_LOAD to 'X' in the tableKEY_FIGURES. This specifies that this is a recreation and alwaysdistributes all current information to the tables KEY_FIGURES,LAST_PAYMENT, and ITEMS. You enter the business partnerGUID (ATTR_VALUE) for each customer in an FI company code usingthe attribute BU_PARTNER_GUID (ATTR_ID) in the tableEXT_KEY_FIGURES (as mentioned above).

Description
This structure contains the returns from the method call.

Description
Time stamp that is required to process the data provided. If the timestamp if set, the system checks whether such data is allowed to beprocessed at all. The data is only processed when it is certain that thedata in Collections Management has already been completely deleted in acompany code. To check this, the time stamp transferred must match thetime stamp relating to the deletion.

Description
This table contains possible enhancements at 'Item Level'. The fieldATTR_ID contains the field name, and the field ATTR_VALUEthe corresponding value of the field.

Description
This table contains possible enhancements at 'key figure' level. Thefield ATTR_ID contains the field names and the field ATTR_ID
the corresponding value of the field.
In the standard system, this table is also used to determine thebusiness partner in Collections Management from the business partnerGUID:
The field PARTNER contains the customer number in FI, the fieldCOMP_CODE contains the FI company code, the field ATTR_IDcontains the field names. BU_PARTNER_GUID and ATTR_VALUEcontain the corresponding business partner GUID.

Description
This table contains information about the open items to be added orchanged.

Description
This table contains the items to be deleted (for example, due toclearing an invoice item).

Description
This table contains general information about the BAPI call and keyfigures of the business partner. The business partner is always thecustomer number from FI.

Description
This table contains the last payments of a business partner for eachcompany code. The business partner is always the customer numberfrom FI.