Entering content frameProcedure documentation Developing BAPIs for Interactive Processing Locate the document in its SAP Library 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 an 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.

For further information see Customer Enhancements in the BAPI Programming guide.

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-inputmethod.
...
Import pi_input_method from memory id 'ALE_INPUT_METHOD'.
...

 

The parameter pi_input_method can have the following values:

Value

Description

" " (initial)

Request without dialog screens

"E"

Only display screen if an error has occurred on it.

"A"

Display all screens

 

 

 

Leaving content frame