Fonction SAP BAPI_BUPA_CREDIT_STANDING_SET - Process Credit Standing Data

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
BUSINESSPARTNER BAPI_BUS_PARTNER_FS-PARTNER_ID C 10 Business Partner Number
CREDITSTANDING BAPI_FSBP_CREDIT_STANDING_INFO u 29 Non-Rating Attributes for Credit Standing Data
CREDITSTANDINGX BAPI_FSBP_CREDIT_STANDING_X u 8 Change Information
PROCESSEXTENSION BAPI_FSBP_CENTRAL-PROCESSEXTENSION C 1 SPACE Execute Customer Enhancements

Paramètre Reférence Long. Facultatif Description
EXTENSIONIN BAPIPAREX 990 X ExtensionIn
EXTENSIONOUT BAPIPAREX 990 X ExtensionOut
RETURN BAPIRET2 548 X Error Messages

Functionality
You use this method to process the following credit standing data for abusiness partner:

  • Credit standing

  • Status of credit standing information

  • Affidavit and date of affidavit

  • Initiation of bankruptcy proceedings and date of the
  • proceedings
    • Foreclosure and date of foreclosure

    • The processing function includes creating, changing, and deleting thiscredit standing data.
      You can use credit standing data to store one set of creditstanding information for a business partner and assess the solvency ofthe business partner.
      To process the correct credit standing data for the business partner,you have to transfer the business partner numberand the updated information only.

      Example

      Notes
      This method processes data for each business partner.
      A preprocessing run takes place before the data is added:

      • A check is performed to determine whether the business partner with a
      • valid business partner number is available for processing.
        • A simple exclusive lock is activated.

        • This prevents other users from changing the business partner that iscurrently being processed until either the method TransactionCommitor TransactionRollback for the Business Object BapiServiceis executed. The authorized user can access the same business partnerrepeatedly.
          The credit standing data is not written to the database until the methodTransactionCommit for the Business Object BapiService hasbeen called.

          Authorizations
          You can make settings for business partner authorization objects to bechecked in Customizing for the SAP Business Partner under BusinessPartner-> Basic Settings-> Authorization Management.

          Customer Enhancements
          The Business Add-In (BAdI)FSBP_CREDT_STANDNG_SET_BAPI (BAdI for FSSetCreditStanding) isavailable for this method.
          For more information on customer enhancements, see the SAP Library underCross-Application Components -> Business Framework Architecture(CA-BFA) -> Further Development, Modifications -> Customer Enhancementand Modification of BAPIs -> Customer Enhancement of BAPIs.

          Buffering
          This method uses buffering. Change and read methods for this businessobject category can be repeatedly used for this instance. After callingthe save method, read and write methods can access the bufferedinstances and supply current attributes in the same logical unit of work(LUW).
          INCLUDE BAPI_RET OBJECT DOKU ID TX
          If errors occur, the entire logical unit of work (LUW) must be discarded. To do this, call themethod TransactionRollback for the Business ObjectBapiService.

          Description
          You can find information on the meaning of the parameter in thecorresponding documentation for the data element business partner number.
          You have to transfer the business partner number to process the creditstanding data.

          Value range

          Description
          You can transfer this parameter. It contains the following attributesfor credit standing data of the business partner:

          • Credit standing

          • Status of credit standing information

          • Affidavit and date of affidavit

          • Initiation of bankruptcy proceedings and date of the
          • proceedings
            • Foreclosure and date of foreclosure

            • For information about the meaning of each parameter field, see therelevant data element documentation in the ABAP Dictionary.

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

              Description
              You have to transfer this parameter to process credit standing data.
              You can find information on the meaning of the parameter in thecorresponding documentation for the data element: Updated Information in Related User Data Field.
              You have to transfer values for all fields to be changed in theparameter CREDITSTANDING.

              Value range
              'X' Change non-rating attribute of credit standing data
              ' ' Do not change non-rating attribute of credit standing data

              Description
              In this parameter you can state that customer enhancements to thisBusiness Application Programming Interface (BAPI) are to be executed.
              If this indicator is not set, the system ignores the customerenhancements.

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

              Default
              ' ' Do not execute customer enhancements

              Description
              You can find information on the meaning of the parameter in thecorresponding documentation for the ReferenceStructure for BAPI Parameter ExtensionIn / ExtensionOut.
              For information about the meaning of each parameter field, see therelevant data element documentation in the ABAP Dictionary.
              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 eachcase, in the document Customer Enhancement and Modification of BAPIs
              in the SAP Library under Enhancements, Modifications ...(CA-BFA).
              The data for the parameter is transferred to the methods Validateand Transferextensionin for the Business Add-Ins (BAdIs).

              Description
              You can find information on the meaning of the parameter in thecorresponding documentation for the ReferenceStructure for BAPI Parameter ExtensionIn / ExtensionOut.
              For information about the meaning of each parameter field, see therelevant data element documentation in the ABAP Dictionary.
              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.
              For further information about the various customer enhancement options,and the internal structures to be used in each case, see the documentCustomer Enhancement and Modification of BAPIs in the SAP Libraryunder Enhancements, Modifications (CA-BFA).
              The data for the parameter is transferred to the methodTransferExtensionOut of the Business Add-Ins (BAdIs)for this method.

              Description
              This table contains return messages from the message call.