on 12-18-2006 9:56 AM
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
Indeed the ALEAUD can transport 3 different status which mean:
application OK
applicaton error
system error.
Regards
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
9 | |
9 | |
8 | |
7 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.