Fonction SAP BAPI_BUPA_FS_RATING_REMOVE - Delete Characteristic Values

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
BUSINESSPARTNER BAPI_BUS_PARTNER_FS-PARTNER_ID C 10 Business Partner Number
CHANGEDOCU BAPI_STR_BUPA_FS_CHANGE_DOCU u 1 X Generate Change Documents; obsolete
TESTRUN BAPI_FSBP_CENTRAL-TESTRUN C 1 X Activate Simulation Mode

Paramètre Reférence Long. Facultatif Description
RATINGTABLE BAPI_STR_BUPA_FS_RATING 142 Ratings
RETURN BAPIRET2 548 X Return Messages

Functionality
You can use this method to delete ratings for a business partner.
External service providers, government agencies, or departments withinthe company rate business partners for various business processes. Theratings take account of their payment history, credit standing, or othercriteria. The rating is calculated using a defined rating procedure andfor a specific validity period.
You can delete multiple rating results for each rating procedure.

Notes
You can delete only one record with ratings for each business partner.
A preprocessing run takes place before the data is changed:

  • A check is performed to determine whether the business partner 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 TransactionCommit
      or TransactionRollback for the Business ObjectBapiService is executed. The authorized user can access the samebusiness partner repeatedly.
      The rating is not written to the database until the methodTransactionCommit for the Business Object BapiService hasbeen called.

      Authorizations
      The system carries out an authorization check if an authorization objectis entered in the authorization group for thebusiness partner.
      The standard system checks the authorization object B_BUPA_GRP with the activity 02 (change).
      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 works with buffering. Change and read methods for thisbusiness object category can be repeatedly used for this instance. Aftercalling the save method, read and write methods can access the bufferedinstances and supply current attributes in the same Logical Unit of Work (LUW)
      .

      Dependencies
      A rating comprises a rating procedure and a rating result. The ratingresult depends on the underlying rating procedure.
      You can make settings for rating procedures and ratings in Customizingfor the SAP Business Partner for Financial Services underSettings for Financial Services -> General Settings ->Ratings/Credit Standing -> Ratings -> Set Rating Procedures and Ratings
      .
      Messages are returned in the Return parameter. The parameterdocumentation shows the return codes and their meanings.
      If errors occur, the entire Logical Unit of Work (LUW) must be discarded. To do this, call themethod TransactionRollback for the Business ObjectBapiService.

      Further information
      Further information is available in the SAP Library for the SAPBusiness Partner for Financial Services under Ratings.

      Description
      This is a compulsory parameter.
      You can find information on the meaning of the parameter in thecorresponding documentation for the data element:Business Partner Number.

      Value range
      The value range for this parameter corresponds with the value range forthe data element domain.

      Description
      This parameter is obsolete and no longer has a function.
      The system generates change documents automatically.

      Value range
      STYLE S_DOCUS1

      Description
      You can find information on the meaning of the parameter in thecorresponding documentation for the data element: Switchto Simulation Mode for Write BAPIs.

      Value range
      'X' Method is called in simulation mode, that is to say, the data is notupdated.
      ' ' Method is not called in simulation mode, that is to say, the data isupdated.

      Default
      ' ' Method is not called in simulation mode.
      STYLE *

      Description
      You can find information on the meaning of the parameter in thecorresponding documentation for the structure:Ratings.
      Refer to the relevant data element documentation in the ABAP dictionaryfor information about the individual parameter fields.
      This is a compulsory parameter.
      You have to transfer values for all fields.

      Value range
      The value range for this parameter corresponds with the value range forthe structure component.

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

922244BP_RAT: Update termination when changing ratings