on 05-21-2007 1:19 PM
Hi,
I have a File -> XI -> IDoc scenario where I am using 2 IDocs at the receiver side.
I need to check the acknoelwdgement from IDoc1; and only if IDoc1 is successfully posted in R/3, I'll need to send IDoc2.
Is it possible to map the acknowledgement from IDoc and validate the status (using status code 52 or 53) and then take appropriate action?
Any help would be greatly appreciated.
Thanks,
Guru
Guru,
One option, in the Idoc processing code for Idoc1 write an Exit that on the basis of the status of the Idoc will send the Idoc Acknowledgement back to XI in the form of the ALEAUDIT Idoc.
Using this you can check the status of the idoc inside your BPM ( you will need a receive step in the BPM following the send step to get the idoc acknowledgement ) and then use this to decide if the idoc2 is to be sent or not.
Regards
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Guru,
To be frank coz I aint an ABAP'er I just know that this is one option to trigger the idoc Ack back to XI, once the idoc has been processed by the R3 system.
Asking an ABAP'er / ALE specialist should give you the exact implementation info, but this is one solution that would certainly work!
Regards
Bhavesh
Prasad,
If you want to change the Idoc status then you use the report IDOC_STATUS_CONVERT. Also see this thread:
Also see some threads on this:
https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_forums&query=idocstatus&adv=true&adv_sdn_forums_sdn_author_name=&adv_sdn_forums_sdn_allusernamesofthread=JayakrishnanNair&adv_sdn_forums_sdn_category=&adv_sdn_forums_sdn_forum=&adv_sdn_forums_sdn_updated_on_comparator=GE&adv_sdn_forums_sdn_updated_on=&sortby=cm_rnd_rankvalue
---Satish
Hi Guru;
If you need to send teh IDoc 2 if IDoc 1 is simply posted successfully then in the send step of the BPM you can add transport level ack otherwise if you want to post IDoc 2 in case of successfull processing of Idoc 1 then you will have to use application level ack in BPM send step.
Refer this for help
Mudit
Award points if it helps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
refer to the following link for IDOC acknowledgement
/people/saravanakumar.kuppusamy2/blog/2005/01/20/configuration-tips-for-a-business-serviceintegration-process-to-send-back-ale-audit-idoc
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.