Fonction SAP BAPI_BUPA_FS_BANK_REMOVE - Delete bank master 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
CHANGEDOCU BAPI_STR_BUPA_FS_CHANGE_DOCU u 1 X Generate Change Documents; obsolete
TESTRUN BAPI_FSBP_CENTRAL-TESTRUN C 1 X Switch to Simulation Session for Write BAPIs

Paramètre Reférence Long. Facultatif Description
RETURN BAPIRET2 548 Return Parameters

Functionality
This BAPI deletes the bank data for a business partner.
The business partner is identified via the instance with the keyBUSINESSPARTNER.
If an error occurs when the data is processed, an error message iswritten in the RETURN table.
Prior to this, the data is preprocessed by the system:
A check is made to ensure that the data records are available forprocessing.
An authorization check is performed.
An exclusive lock is set.
If an error occurs in preprocessing, the message is saved in the RETURNtable and the procedure is terminated.

Notes
To generate a valid partner number, you must create an instance for thecentral business partner (see also FSCreateFromData). If the number isinvalid, an error message appears in the RETURN table and processing isdiscontinued.
If the TESTRUN parameter is not initial, the data in the database willnot be changed. The system simply performs a test run.
The exclusive lock is a simple exclusive lock, as opposed to anexclusive but not cumulative lock. It prevents other users fromaccessing the business partner data, which is currently beingprocessed, until the next database COMMIT. It allows the authorizeduser repeated access to the same business partner.
You need to call up the Service BAPI BAPI_TRANSACTION-COMMIT for thesystem to write the ADD BAPI processing result to the database.

Further information
BAPI FSCreateFromData

Description
Key that uniquely defines a business partner for each client in an SAPSystem.
This parameter states the business partner number of the businesspartner master data record from which bank data is to be deleted.

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

Value range
Description
This function module is used with write BAPIs to check the details ofthe object instance before it is created / modified on the database.The creation / modification of the object instance is only simulated,and the data is not updated (written to the database).

Value range
The following values are possible:
' ' (SPACE):,,The system is updating the data. This is the standardsetting the person calling up the BAPI would normally expect.
'X':,,The BAPI can only be called up in simulation mode. The data isnot updated in the process.

Description
Table with messages (for example, error messages, warnings,information) in BAPIRET2 format.
See the documentation covering BAPIRET2 structure fields for details.