Show TOC

Developing BAPIs for Interactive ProcessingLocate this document in the navigation structure

Prerequisites

Inbound IDoc processing in ALE supports IDoc function modules that execute a CALL TRANSACTION. This enables an IDoc to be posted interactively whereby you work through the transaction screens displayed.

This is not possible with BAPI/ALE interfaces generated from standard BAPIs because the BAPIs do not have a dialog interface. If you require a BAPI/ALE interface with a CALL TRANSACTION to a dialog transaction, you can develop your own BAPI that displays the transaction screens for ALE error handling.

Procedure

The ALE layer puts a parameter in the global memory that can be requested in the BAPI source code as follows:

Data: pi_input_method like bdwfap_par-inputmethd.
... Import pi_input_method from memory id 'ALE_INPUT_METHOD'. ...
         

Parameter pi_input_method can have the following values:

Value

Meaning

" " (initial)

Process without dialog

"E"

Only display screen if an error has occurred on it

"A"

Display all screens