Fonction SAP BAPI_TC_ITEMS_CREATE_MULTIPLE - Create Contract Information in Buffer Tables

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
APPLICATION BAPIBP_TC_STR_MISC-APPLICATION C 10 Application
PROCESSEXTENSION BAPIBP_TC_STR_MISC-PROCESSEXTENSION C 1 '' X Execute Customer Enhancements
TESTRUN BAPI_FSBP_CENTRAL-TESTRUN C 1 '' X Activate Simulation Mode

Paramètre Reférence Long. Facultatif Description
ERRORITEMS BAPI_FSBP_TC_STR_TRANSFER 350 X Confirmed Contract Information (for Application Calls)
EXTENSIONIN BAPIPAREX 990 X ExtensionIn
EXTENSIONOUT BAPIPAREX 990 X ExtensionOut
RETURN BAPIRET2 548 X Returns
TOTALCOMMITMENTITEMS BAPI_FSBP_TC_STR_TRANSFER 350 Contract Information (for Application Calls)

Functionality
You can use this method to transfer the relevant contract and accountdata for a business partner to the buffer tables forTotal Commitment.
Contract information for the business partner is usually distributedacross several systems (SAP systems or non-SAP systems). This contractand account data for the business partner is required in order todisplay the total commitment, and is provided by the relevantapplications.The contract data can either be read from the respectiveapplications in real-time, or from a buffer table that temporarilystores the data. The customer decides how up-to-date the read datashould be. You can determine that your securities management systemtransfers the security account balances to the buffer tables for TotalCommitment once per day, for example.

Notes
The contract data for a business partner is always written to the buffertables in a complete set. The following example demonstrates this ingreater detail:
On 01.10 contracts for the business partner Adams aretransferred, which we will refer to as V1 and V2. A secondTotal Commitment call is made on 01.11 for which only thecontract V3 is transferred. The Total Commitment database nowcontains only the contract V3 for the business partner Adams
. If all three contracts are valid for the business partner on01.11, however, you must transfer all three contracts for thebusiness partner on this date too!
When processing this method, all the data for the business partner towhich the data is to be transferred is first deleted. The new contractinformation is then written to the business partner after this hasoccurred.

Dependencies
You can set up Total Commitment in Customizing for the SAP BusinessPartner for Financial Services under Settings for Financial Services-> Tools -> Total Commitment ->Make Settings for Total Commitmentand check the settings underCheck Settings for Total Commitment.
If a large number of applications are called in the background by Remote Function Call (RFC), this could impair performance.
After the contract data has been supplied by the individual applications
, you can read the total commitment with the method GetDetail (ReadTotal Commitment).
The SAP applications Account Management (FS-AM) and LoansManagement supply the contract data to Total Commitment in real time,and are linked to Total Commitment by
Remote Function Call (FRC).
If you want to delete all the contract information for a businesspartner in an application, use the method ItemsDeleteMultiple(Delete Contract Information from Buffer Tables).

Customer enhancements
A Business Add-In (BAdI)is available for this method. You can find thisin the Implementation Guide (IMG) for the SAP Business Partner forFinancial Services under Settings for Financial Services -> Tools ->Total Commitment -> Business Add-Ins (BAdIs) -> BAdIs for BAPIs.
Further information on customer enhancements is available in the SAP Library under Cross-Application Components -> BusinessFramework Architecture (CA-BFA) -> Enhancements,Modifications...(CA-BFA) -> Customer Enhancements and Modification ofBAPIs -> Customer Enhancement of BAPIs.

Return messages
Messages are returned in the Return parameter. You can find thereturn values and their meaning in the parameter documentation.

Further information
Further information is available in the SAP Library under SAPBusiness Partner for Financial Services in FS-AM -> Business Partner ->SAP Business Partner Data -> Total Commitment.

Description
This parameter is mandatory.
You will find information on the parameter in the correspondingdocumentation for the data element:application.

Value range
The value range for this parameter corresponds to the value range of thedomain for the data element.

Description
You will find information on the parameter in the documentation for thedata element: execute customerenhancements.

Value range
'X' Execute customer enhancements
' ' Do not execute customer enhancements

Default
' ' Do not execute customer enhancements

Description
You will find information on the parameter in the documentation for thedata element: switch to simulation mode for write BAPIs
.

Value range
'X' The method is called in simulation mode, in other words, the datais not updated.
' ' The method is not called in simulation mode, in other words, thedata is updated.

Default
' ' The method is not called in simulation mode.

Description
This parameter contains contract information that has been confirmed ascontaining errors.
The contract information is supplied by theapplications participatingin total commitment,and provides information about contracts concluded with, and accountsbelonging to the business partner. Contract data can be displayed invarious degrees of detail in Total Commitment.
Refer to the relevant data element documentation in the ABAP dictionaryfor information about the individual parameter fields.

Description
You can find information on the meaning of the parameter in thecorresponding documentation for the structure:Reference Structure for BAPI Parameter ExtensionIn /ExtensionOut.
Refer to the relevant data element documentation in the ABAP dictionaryfor information about the individual parameter fields.
This parameter serves as a data container. In the parameter you cantransfer additional data to the method that was not considered at theinterface.
The data is transferred in a table. The format for the individual datarecords for this table is determined by the structure BAPIPAREX. Thiscontains several data record fields (VALUEPART1, VALUEPART2, ...) aswell as a field for the name of an internal structure created by thecustomer (STRUCTURE). As the data for each data record is writtenpiecewise, one after the other, in the available data record fields, aninternal structure is required in order to interpret the data.
In the event that a customer wants to add additional fields to an SAPdatabase table, BAPI table extensions are particularly well suited asinternal structures.
You will find more detailed information on the various customerenhancement options, and the internal structures to be used in each case
, in the document Customer Enhancement and Modification of BAPIsin the SAP Library under Enhancements, Modifications...(CA-BFA).
The data for the parameter is transferred to the methods Validate andTransferextensionin of theBusiness Add-In (BAdI) forthis method.

Description
You can find information on the meaning of the parameter in thecorresponding documentation for the structure: Reference Structure for BAPI Parameter ExtensionIn / ExtensionOut.
Refer to the relevant data element documentation in the ABAP dictionaryfor information about the individual parameter fields.
This parameter serves as a data container. In the parameter you cantransfer additional data to the method that was not considered at theinterface.
The data is transferred in a table. The format for the individual datarecords for this table is determined by the structure BAPIPAREX. Thiscontains several data record fields (VALUEPART1, VALUEPART2, ...) aswell as a field for the name of an internal structure created by thecustomer (STRUCTURE). As the data for each data record is writtenpiecewise, one after the other, in the available data record fields, aninternal structure is required in order to interpret the data.
In the event that a customer wants to add additional fields to an SAPdatabase table, BAPI table extensions are particularly well suited asinternal structures.
You will find more detailed information on the various customerenhancement options, and the internal structures to be used in each case
, in the document Customer Enhancement and Modification of BAPIsin the SAP Library under Enhancements, Modifications..(CA-BFA).
The data for the parameter is transferred to the methodTransferExtensionOut of theBusiness Add-In (BAdI) forthis method.

Description
This table contains the return messages from the message call.

Description
The contract information is supplied by theapplications participatingin the total commitment,and provides information about contractsconcluded with, and accounts belonging to the business partner. Contractdata can be displayed in various degrees of detail in Total Commitment.
Refer to the relevant data element documentation in the ABAP dictionaryfor information about the individual parameter fields.