Ansicht
Dokumentation

BAPI_CUSTOMERCRM_DELETE - Proxy BAPI to Delete Customers in SFA Context

BAPI_CUSTOMERCRM_DELETE - Proxy BAPI to Delete Customers in SFA Context

ROGBILLS - Synchronize billing plans   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

FU BAPI_CUSTOMERCRM_DELETE

Short text

The proxy BAPI implements the upload of deletion flags for customers who have been flagged as deleted in the SFA system.

Functionality

The system transfers structures for general data, address data, and sales data.

Customer master data is flagged for deletion using the IDOC interface. If the process is completed succesfully, the return parameter E_STATUS is set to 'S'. If an error occurs, this parameter is set to 'E'. The function module then issues a description of the error.

The key fields of the relevant SFA tables are located in the parameter TI_SFA_KEY. The relationship between parent and sub-tables is also specified here (for example, if the customer is the parent object of the address).

Example

The example confines itself to the possible parameter values:

I_UPLOAD_ID: Unique ID from the SFA server with which the message can be identified

I_DESTIN: RFC destination of the SFA server

I_SFA_REL: Release of the SFA server

I_KEYWORD_IN: Transfer parameters for customer exits

I_CUSTOMER : Customer data; the customer number is usually sufficient

I_SALESORG : Sales organization

Table parameters:

TI_SFA_KEYS: Link to the keys in the SFA system

Note

The FU should only be used in an SFA context if triggered by an RFC call from the SFA server. It is not planned to allow it to be used in the same way as released BAPI modules.





Parameters

E_STATUS
I_CUSTOMER
I_DESTIN
I_KEYWORD_IN
I_SALESORG
I_SFA_REL
I_TRANS_MODE
I_UPLOAD_ID
TI_SFA_KEYS

Exceptions

Function Group

CRM3

BAL Application Log Documentation   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 1920 Date: 20240523 Time: 094335     sap01-206 ( 36 ms )