Show TOC

Process documentationError in One Inbound IDoc

 

If one of the three IDocs causes an error, the export parameters should be filled as follows:

Process

The following table outlines how to fill the export parameters when processing packets of IDocs, when only IDoc no. 4712 contains an error. IDoc numbers 4711 and 4713 created application objects number 1234 and 1235.

Parameter

Value

In_Update_Task

" " (initial value, for example) - update task not used

Call_Transaction_Done

" " (initial value, for example)

Workflow_Result

"99999"

Application_Variable

" " (initial value, for example)

Idoc_Status

The table must contain three records with fields containing:

Docnum

Status

4711

53

4712

51

4713

53

The Msgid etc. fields of the status record for IDoc 4712 must contain the error message.

Return_Variables

The table must contain the following five entries:

Wf_param

Doc_Number

Processed_IDOCs

4711

Appl_Objects

1234

Error_IDOCs

4712

Processed_IDOCs

4713

Appl_Objects

1235

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

Serialization_Info

Empty if not using serialization.