Ansicht
Dokumentation
BAPI_BUPA_FS_ADDRESS_REMOVE - Delete Address and Time-Dep. Usages -> Obsolete: See Documentation
PERFORM Short Reference PERFORM Short ReferenceThis documentation is copyright by SAP AG.
Recommendation
From Release 640 upwards the time-dependent address usages solution provided by Financial Services will be replaced by the time-dependent address usages for the SAP Business Partner. We therefore recommend that you no longer use this method.
To delete addresses and time-dependent address usages, use the method RemoveAddress (delete address) for the Business Object BusinessPartnerFS.
Functionality
You can use this method to delete an address including the time-dependent address usages for an existing business partner.
Example
Notes
You can delete only one address during each method call. The system automatically deletes the address usages in which this address is used. You can delete the standard address for the business partner only if it is the only or the last address for the business partner.
A preprocessing run takes place before the data is deleted:
- 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.
Address data and address usages are not deleted from the database until the method TransactionCommit for the Business Object BapiService has been called.
If the address to be deleted is assigned to standard address usages in the future, then you must ensure that the indicator is set in the parameter time slices for time-dependent address usages (ADDRESSUSAGEADJUST) so that there are no gaps in time for the assignment of standard address usages.
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).
Interdependencies
If you do not enter an address GUID in this method, then the system assumes that it is to delete the standard address for the business partner.
Return messages
Messages are returned in the RETURN parameter. You can find the return values and their meaning in the parameter documentation.
Parameters
ADDRESSGUIDADDRESSUSAGEADJUST
BUSINESSPARTNER
RETURN
Exceptions
Function Group
FS_BAPI_ADDRESSBAL_S_LOG - Application Log: Log header data ABAP Short Reference
This documentation is copyright by SAP AG.
Length: 3797 Date: 20240523 Time: 093421 sap01-206 ( 64 ms )