Ansicht
Dokumentation

/PM0/IDOC_INPUT_OBJECTDELETE - IDoc -> BAPI: /PM0/IDOC_INPUT_OBJECTDELETE

/PM0/IDOC_INPUT_OBJECTDELETE - IDoc -> BAPI: /PM0/IDOC_INPUT_OBJECTDELETE

Addresses (Business Address Services)   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module was generated from the object /PM0/ABQMO and method MASSDELETEfor BAPI calls via ALE.

The interface of the function module was defined as a standard API in ALE. The data is supplied by the ALE layer.

The function module is started in the inbound system by the ALE layer. It converts the data in the IDoc to BAPI parameters and calls the BAPI in the inbound system. For more information about this BAPI, see /PM0/BAPI_ABQ_OBJM_DELETE.

Executing this function module writes a new IDoc status. This shows whether the BAPI call in this system was executed successfully (status '53') or not (status '51').

The ALE layer writes the IDoc status depending on the BAPI return parameters, or in the ALE layer in case of errors. Effect of BAPI Return Parameters:

  • If the BAPI return parameter is an exporting parameter, then an IDoc status record is written. The IDoc receives status '51' (application document not updated), if the messge has type 'A' or 'E'. Otherwise, if the message has type 'W', 'I' or 'S', the IDoc receives status '53' (application document updated).
  • If the return parameter is a tables parameter, several IDoc status records may be written. Message types determine the IDoc status. If a message in the table has type 'A' or 'E', all entries that do not have type 'S' (in other words, messages of type 'A', 'E', 'W', or 'I') receive IDoc status '51' (application document not updated). No IDoc status appears for messages of type 'S'. If no messages in the table have type 'A' or 'E', messages of type 'W', 'I', or 'S' get IDoc status '53' (application document updated). The status records are written in the same sequence as the messages in the return parameters.
  • If the return parameters are not filled out, this means that the BAPI was called successfully. In this case, an IDoc status record with status '53' (application document updated) is written by the ALE layer.

In case of errors, the application must ensure that the data is consistent. For example, it must undo unwanted changes using rollback.

In case of errors, use the ALE error handling functions (create work item).





Parameters

APPLICATION_VARIABLE
CALL_TRANSACTION_DONE
IDOC_CONTRL
IDOC_DATA
IDOC_STATUS
INPUT_METHOD
IN_UPDATE_TASK
MASS_PROCESSING
RETURN_VARIABLES
SERIALIZATION_INFO
WORKFLOW_RESULT

Exceptions

WRONG_FUNCTION_CALLED

Function Group

/SAPLABQ_BAPI_MIGRATION

rdisp/max_wprun_time - Maximum work process run time   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.

Length: 2938 Date: 20240328 Time: 172213     sap01-206 ( 91 ms )