Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

ALEAUD01 just 3 different Status?

Hi everybody,

we got the following scenario

SAP R/3 sending a message through BPM to JDBC.

In case of database is down/offline we got a exception branch in BPM.

There we want to send a ALEAUD back to R/3 to inform.

Question:

Which fields do I have to fill in ALEAUD?

My special question:

When I debug <b>IDOC_INPUT_ALEAUD</b> (= standard function for incoming ALEAUD) in <b>INCLUDE LBDADF02/FORM IDOC_LIST_WRITE_STATUS</b>

I see:

CASE STATUS_GROUP.

WHEN 'C' OR 'D'.

EDI_STATUS-STATUS = C_STATUS_OUT_FINISHED_OK.

APPEND EDI_STATUS TO T_OK_STATUS.

<b> WA_IDOC_LIST-STATUS = C_STATUS_OUT_FINISHED_OK.</b> WHEN 'G' OR ' '.

EDI_STATUS-STATUS = C_STATUS_OUT_FINISHED_ERROR.

APPEND EDI_STATUS TO T_ERROR_STATUS.

<b> WA_IDOC_LIST-STATUS = C_STATUS_OUT_FINISHED_ERROR.</b> WHEN OTHERS.

EDI_STATUS-STATUS = C_STATUS_OUT_ACKNOWLEDGE.

APPEND EDI_STATUS TO T_PROCESS_STATUS.

<b> WA_IDOC_LIST-STATUS = C_STATUS_OUT_ACKNOWLEDGE.</b> ENDCASE.

MODIFY T_IDOC_LIST FROM WA_IDOC_LIST.

ENDLOOP.

Does this mean, the IDOC origin send, can just get 3 different status?

Thanks a lot

Regards Mario

Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question