Ansicht
Dokumentation

/BA1/IDOC_IN_F4_IRR_MODIFY - IDoc -> BAPI: /BA1/IDOC_IN_F4_IRR_MODIFY

/BA1/IDOC_IN_F4_IRR_MODIFY - IDoc -> BAPI: /BA1/IDOC_IN_F4_IRR_MODIFY

Vendor Master (General Section)   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module was generated from the
object /BA1/B123 and the method RATEMODIFY
for BAPI callup by ALE.

The module interface was defined as standard API in ALE. The data is provided by the ALE layer.

The function module is run in the starting system. Firstly, it converts the data from the IDoc format into BAPI parameters. For more information, see /BA1/BAPI_F4_IRR_MODIFY.

When this module is run, a new IDoc status is written, which states whether BAPI call up was successful (status '53') or failed (status '51').

The ALE layer writes the IDoc status if an error occurs in the ALE layer, dependent on the BAP return parameter. Effects of the BAPI return parameter:

  • If the BAPI return parameter is an export parameter, an IDoc status record is written. The status '51' (application document not posted) is assigned to the IDoc if the message category is 'A' or 'E'. Otherwise, the status '53' (application document posted) is assigned to the IDoc for message categories 'W', 'I', or 'S'.
  • If the BAPI return parameter is a table parameter, several IDoc status records can be written. The message categories determine the IDoc status. If a message in the table has the category 'A' or 'E', then the status '51' (application document not posted) is assigned to all entries (those that have category 'A', 'E', 'W' or 'I'), except for those that have the category 'S'. No IDoc status is assigned to messages of category 'S'. If no message in the table has the category 'A' or 'E', then the status '53' (application document posted) is written for 'W', 'I' or 'S'. The status records are written in the same sequence as the messages in the return parameter.
  • If the return parameter was not entered, this means that the BAPI was called up successfully. In this case, the ALE layer writes an IDoc status record with the status '53' (application document posted).

If an error occurs, the application must ensure that the data is consistent, for example, unwanted changes must be reversed by a Rollback.

ALE error handling is available for errors (creation of 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

/SAPLF4_IR_ALE

General Data in Customer Master   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 2892 Date: 20240420 Time: 170910     sap01-206 ( 58 ms )