Skip to Content
avatar image
Former Member

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Dec 18, 2006 at 10:20 AM

    Indeed the ALEAUD can transport 3 different status which mean:

    application OK

    applicaton error

    system error.

    Regards

    Stefan

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 18, 2006 at 10:10 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • Dec 18, 2006 at 10:19 AM

    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>

    Add comment
    10|10000 characters needed characters exceeded