Fonction SAP BAPI_TC_GETDETAIL - Read Contract Details of Total Commitment

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CONTEXT BAPIBP_TC_STR_MISC-CONTEXT C 15 'DEFAULT' X Call Context
CURRENCY BAPIBP_TC_STR_MISC-CURRENCY C 5 X Currency Key
CURRENCYISO BAPIBP_TC_STR_MISC-CURRENCY_ISO C 3 X ISO Currency Code
LANGUAGE BAPIBP_TC_STR_MISC-LANGUAGE C 1 X Language Key
LANGUAGEISO BAPIBP_TC_STR_MISC-LANGUAGE_ISO C 2 X Language According to ISO 639
PARTNER BAPIBP_TC_STR_MISC-PARTNER C 10 X Business Partner Number
PARTNERGUID BAPIBP_TC_STR_MISC-PARTNER_GUID C 32 X GUID of Business Partner
PROCESSEXTENSION BAPIBP_TC_STR_MISC-PROCESSEXTENSION C 1 '' X Execute Customer Enhancements
SELECTIONVARIANT BAPIBP_TC_STR_MISC-SELVAR C 20 X Selection Variant

Paramètre Reférence Type Long. Description
SUM BAPI_FSBP_TC_STR_SUM u 99 Form Totals

Paramètre Reférence Long. Facultatif Description
EXTENSIONIN BAPIPAREX 990 X ExtensionIn
EXTENSIONOUT BAPIPAREX 990 X ExtensionOut
RETURN BAPIRET2 548 X Returns
TOTALCOMMITMENTHEADER BAPI_FSBP_TC_STR_HEADER 231 X Header Information for Total Commitment
TOTALCOMMITMENTITEMS BAPI_FSBP_TC_STR_ITEM_DISP 564 X Formatted Contract Information for Total Commitment

Functionality
You can use this method to read thetotal commitment for abusiness partner.
With Total Commitment you receive the most important information on theinvolvement of the business partner in the products of a company, and onthe business partners relationships with associated business partners.The information on contracts concluded with the business partner, whichcould be distributed across several systems within the company, isbrought together in a single view.

Notes

Authorizations
The system checks the authorization object B_BUPA_SLV (SelectionVariant for Total Commitment) with the activity 03 (Display).
You can make settings for business partner authorization objects to bechecked in Customizing for the SAP Business Partner underBusiness Partner -> Basic Settings -> Authorization Management.

Buffering
This method reads the data directly from the database.

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 Settingsfor Total Commitment and check the settings underCheck Settings for Total Commitment.
The system finds the relevant business partner relationships andevaluates them in accordance with the Customizing settings you have madeand the values you have entered for the callcontext or the selection variant for TotalCommitment. The system reads all the accounts and contracts in theparticipating applications for all thebusiness partners that were found (for married couple orborrower entity, for example). As well as detailed information,Total Commitment can also display totals for contact amounts, accountbalances and limits. Note that when you enter a selection variant, thisoverrides the call context.
If a large number of applications are called in the background byRemote Function Call (RFC), this could impair performance.

Customer enhancements
A Business Add-In (BAdI) isavailable for this method. You can find this in the Implementation Guide(IMG) for the SAP Business Partner for Financial Services underSettings for Financial Services -> Tools -> Total Commitment ->Business Add-Ins (BAdIs) -> BAdIs for BAPIs
.
Further information on customer enhancements is available in the SAPLibrary under Cross-Application Components -> Business FrameworkArchitecture (CA-BFA) -> Enhancements, Modifications)8.(CA-BFA) ->Customer Enhancements and Modification of BAPIs -> Customer Enhancementof BAPIs and in SAP Note 672826.
You can find a further enhancement is available for Total Commitment inthe R/3 system, in the IMG for the SAP Business Partner for FinancialServices under Settings for Financial Services -> Tools -> TotalCommitment -> Business Add-Ins (BAdIs). You can use this BAdI toinfluence the formation of totals for company relationships such asborrower entities or the total commitment display, for example.

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
In Total Commitment youcanuse certain values in the contract information to form totals. Thefollowing fields are relevant for totaling:

  • account balance

  • contract amount

  • external limit

  • internal limit

  • credit line for credit card

  • You can select a target currency each time to display these totals.

    Value range
    The value range for this parameter corresponds to the value range of thestructure component.

    Description
    You will find information on the parameter in the correspondingdocumentation for the data element: CallContext for Total Commitment.

    Default

    Description
    You will find information on the parameter in the correspondingdocumentation for the data element: currency key.

    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 correspondingdocumentation for the data element: Iso currency code.

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

    Description
    Contains the language key.

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

    Description
    Contains the language key according to ISO 639.

    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 correspondingdocumentation for the data element: business partnernumber.

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

    Description
    Contains the business partner GUID.

    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 correspondingdocumentation for the data element:selection variant for Total Commitment.

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

    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,...) as wellas a field for the name of an internal structure created by the customer(STRUCTURE). As the data for each data record is written piecewise, oneafter the other, in the available data record fields, an internalstructure 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
    Every total commitment has header information, which is shown when thetotal commitment is displayed, and provides identifying information.
    Refer to the relevant data element documentation in the ABAP dictionaryfor information about the individual parameter fields.

    Description
    The contract information is supplied by theapplications participating in Total Commitment, andprovides 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.