Ansicht
Dokumentation

BAPI_BUPA_FS_DIFFTYPE_CHANGE - Change Differentiated Attributes

BAPI_BUPA_FS_DIFFTYPE_CHANGE - Change Differentiated Attributes

BAL_S_LOG - Application Log: Log header data   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

You can use this method to change differentiated attributes for the customer segment, for example.

You can process differentiated attributes in dialog mode only by using the Differentiation pushbutton. The table BP1013 (Business Partner: Differentiation Type-Dependent Attributes) presents an example implementation for the customer segment field. You can add further fields to the table in accordance with the Business Data Toolset (BDT) conventions.

You can use the Differentiation function to differentiate between selected business partner components in order to reflect different points of view. In the Differentiation function you can use selected differentiation criteria (in this method synonymous with differentiation type characteristic (relevant for change documents)) to store different values for one and the same attribute of a business partner. You can therefore subdivide or differentiate values for similar business partner data according to your requirements.

Differentiation could be necessary when you have a business partner who exists as a customer in several branches of your company, and you want certain data to be displayed in the above-named components for each particular branch.

By assigning certain attributes to a differentiation criterion, the Differentiation function enables you to improve data entry for a business partner, and to avoid data redundancy in the business partner dataset.

Example

Notes

You can change several records with differentiated attributes for each business partner.

A preprocessing run takes place before the data is added:

  • 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 is currently being processed until either the method TransactionCommit or TransactionRollback for the Business Object BapiService is executed. The authorized user can access the same business partner repeatedly.

The differentiated attributes are not written to the database until the method TransactionCommit for the Business Object BapiService has been called.

Authorizations

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

Buffering

This method works with buffering. Change and read methods for this business object category can be repeatedly used for this instance. After calling the save method, read and write methods can access the buffered instances and supply current attributes in the same Logical Unit of Work (LUW).

Dependencies

If you want to change differentiated attributes, the system then carries out the following checks:

  • It checks whether the business partner is available in a role that permits the differentiation of the attribute.
  • It checks whether the differentiation criterion is permissible.

If the entries in the Customizing settings for differentiation are correct, then you can change differentiated attributes.

You make settings for differentiation in Customizing for the SAP Business Partner for Financial Services under Settings for Financial Services-> General Settings-> Basic Settings-> Differentiation-> Define Differentiation Criterion and Set Differentiation Criterion.

You make settings for the business partner roles in Customizing for the SAP Business Partner for Financial Services under General Settings-> Business Partner-> Basic Settings-> Business Partner Roles-> Define BP Roles.

You can use the method AddRole_2 to create business partner roles that permit differentiation of business partner data.

Return messages

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

Further information

Further information is available in the SAP Library under SAP Business Partner for Financial Services-> Functions-> Differentiation.





Parameters

ATTRIBUTES
ATTRIBUTESX
BUSINESSPARTNER
CHANGEDOCU
GENERALSETTINGS
RETURN
TESTRUN

Exceptions

Function Group

FS_BAPI_DIFFERENTIATION

RFUMSV00 - Advance Return for Tax on Sales/Purchases   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

Length: 6274 Date: 20240523 Time: 101800     sap01-206 ( 141 ms )