Ansicht
Dokumentation

IDOC_INPUT_PRODUCTAPS_GETLIST2 - IDoc -> BAPI: IDOC_INPUT_PRODUCTAPS_GETLIST2

IDOC_INPUT_PRODUCTAPS_GETLIST2 - IDoc -> BAPI: IDOC_INPUT_PRODUCTAPS_GETLIST2

BAL_S_LOG - Application Log: Log header data   General Data in Customer Master  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module was generated from the object BUS10001 and t method GETLIST2 for the BAPI call via ALE.

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

The function module is started in the entry system from the ALE view. It converts the data from the IDoc into BAPI parameters and calls the BAPI in the entry system. For more information about this BAPI, see under BAPI_PRDSRVAPS_GETLIST2

When this module is executed, a new IDoc status is written. It specifies whether the BAPI call in this system was successful (status '53') or contained errors (status '51').

The ALE view writes the IDoc status dependent upon the BAPI return parameter or, in the case where errors occurred, in the ALE view. Effects of the BAPI return parameter:

  • If the BAPI return parameter is an exporting parameter, an IDoc status record is written. The IDoc receives the status '51' (application document not posted), if the message is of type 'A' or 'E'. Otherwise, the IDoc receives the status '53' (application document posted) for message types 'W', 'I', or 'S'.
  • If the return parameter is a tables parameter, more than one IDoc status record can be written. Message types determine the IDoc status. If a message in the table is of type 'A' or 'E', then the IDoc receives the status '51' (application document not posted) for all entries except those of type 'S' (in other words, for messages of type 'A', 'E', 'W', or 'I'). For the messages of type 'S', no IDoc status is written. If there is no message in the table with type 'A' or 'E', then messages of type 'W', 'I', or 'S' are given the status '53' (application document posted). The status records are written in the same sequence as the mesages in the return parameter.
  • If the return parameter was not filled, this means that the BAPI was called successfully. In this case, an IDoc status record is written with the status '53' (application document posted) by the ALE view.

In the case where errors occurred, the application must ensure that the data is consistent, for example by reversing unwanted changes through rollback.

In the case of errors, the ALE error handling is available (creation of a 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

10001

RFUMSV00 - Advance Return for Tax on Sales/Purchases   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 3035 Date: 20240523 Time: 072648     sap01-206 ( 102 ms )