Entering content frameProcedure documentation ALE-Enabled Transactions Locate the document in its SAP Library structure

A transaction is ‘ALE-enabled’ when the following two prerequisites are met:

Idoc_Input_Close will update the IDoc's status in the same update task if the interface parameter In_Update_Task is set to "X".
Example of coding to update database:

 

The parameters of the function module Idoc_Input_Close must be filled as follows:

 

How to Fill the Import and Table Parameters of the Function Module Idoc_Input_Close.

Parameter

Value

Workflow_Result

"0"

Application_Variable

" " " " (i.e. initial value)

In_Update_Task

" " Update Task not used by the transaction
‘X’ Update Task used by the transaction

Idoc_Control

The contents of Idoc_Input_Open’s export parameter Idoc_Control

Idoc_Status

The table must contain one record with fields containing:
Docnum: 4711
Status: 53
Optionally the fields Msgid etc. can be filled containing the application’s success message.

Return_Variables

The table must contain the following two entries:

 

Wf_param

Doc_Number

 

Processed_IDOCs

4711

 

Appl_Objects

1234

 

If processing the inbound IDoc does not create or change an application object, the "Appl_Objects" entry can be omitted - it makes no sense without a document number.

Serialization_Info

The contents of Idoc_Input_Open’s table parameter Serialization_Info.

 

 

 

Leaving content frame