cancel
Showing results for 
Search instead for 
Did you mean: 

Getting idoc number using idoc adapter

Former Member
0 Kudos

Hi

I have the following scenario -

idoc text file from subsystem --> XI --> Idoc xml --> BPM --> Idoc adapter --> R3

Is there a way by which - I can get the idoc number in XI - when idoc gets successfully created - in R3 - I need to be able to grab this Idoc number in XI - when acknowledgement comes back from R3 - not just visually in any monitoring tool - but grab it as a part of the return ack and then transmit it to an external web portal - etc

Could anybody outline the steps to achieve the above ?

Accepted Solutions (1)

Accepted Solutions (1)

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

there is a way but it's not a standard

1. inside your BPM you need to use correlation (with IDOC send step)

(document number for example etc)

2. then you need to add a call from IDOC function module

to XI (RFC, or ABAP Proxy) that will transfmit the document numer again

(so XI will be able to correlate the message) and IDOC number

(which you can easily get this time as you're in R3)

this way you will have IDOC numer in XI again as a message

so you can transfer it back any system

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>

Former Member
0 Kudos

Thanks for the solution suggested , Michal.

MichalKrawczyk
Active Contributor
0 Kudos

no problem

Regards,

michal

Answers (3)

Answers (3)

Former Member
0 Kudos

Michal

Just a clarification regarding your suggestion -

***************************************

then you need to add a call from IDOC function module

to XI (RFC, or ABAP Proxy) that will transfmit the document numer again

(so XI will be able to correlate the message) and IDOC number

(which you can easily get this time as you're in R3)

****************************************

The idoc function module - are you talking about idoc_inbound_asynchronous - should we look for a userexit in this fn module to generate - say a proxy message or is it some other function module you are referring to -

Thanks for your clarification - in advance...

Former Member
0 Kudos

Hi Karthik,

Is there a way by which - I can get the idoc number in XI -


>

you can try out a transaction idx5/we02 to check if any idoc has entered the XI.

Regards,

Vishal

Former Member
0 Kudos

Hi,

See the below link to handle IDoc Ack.

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/903a0abc-e56e-2910-51a8-9dc616df...

/people/kannan.kailas/blog/2005/12/07/posting-multiple-idocs-with-acknowledgement

/people/udo.martens/blog/2005/09/30/one-logical-system-name-for-serveral-bpm-acknowledgements

Regards

Chilla