cancel
Showing results for 
Search instead for 
Did you mean: 

ALEAUD01 just 3 different Status?

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

stefan_grube
Active Contributor
0 Kudos

Indeed the ALEAUD can transport 3 different status which mean:

application OK

applicaton error

system error.

Regards

Stefan

Answers (2)

Answers (2)

MichalKrawczyk
Active Contributor
0 Kudos

hi,

1. you can find all statuses in this doc:

https://websmp104.sap-ag.de/~sapdownload/011000358700003477212005E/HowTo_IDOC_Ack_20040817RR.pdf

(at the bottom of this doc there's a table with all of them)

2. you can also use (we use it) IDOC systat01 to change the status of the IDOC

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

udo_martens
Active Contributor
0 Kudos

Hi Mario,

Fill the ALEAUD fields like:

E1ADHDR/MESTYP: original message type

E1ADHDR/E1STATE/DOCNUM: original IDoc number

E1ADHDR/E1STATE/STATUS: 68 in case of error, 53 in case of success

E1ADHDR/E1STATE/STATXT: Short description for R/3 user what has happend

The original IDoc status will be changed from delivered to error or success

Regards,

Udo

Former Member
0 Kudos

Hi Udo,

thanks a lot!

As I can see from your answer, you use only 2 -status:

1) 68

2) 53

How about the other status?

Regards Mario