cancel
Showing results for 
Search instead for 
Did you mean: 

Webservice call to IDOC can be synchronous ?

former_member189387
Active Contributor
0 Kudos

Hi Friends ,

I would like to use XI exposed Webservice Call to SO create IDOC.Can we get the response as SO Number . As i know that IDOC is asynchronous but is there anyother way to make in synchronous ?

I have tried with BAPI it is working fine . But we need to work with IDOC as synchronus . Any input will be appreciated .

Thanks.,

V.Rangarajan

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member187563
Contributor
0 Kudos

hi,

you can check the idoc creation and acknowledgments using Ale audit.

You have to use bpm for your scenario Since Idocs are always Asynchronous.

For Ale Audits you can see :

https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50b499b...

/people/mitesh.parekh/blog/2008/12/01/receiving-aleaud-as-acknowledgment-in-ccbpm

regards,

ujjwal kumar

udo_martens
Active Contributor
0 Kudos

Hi Rangarajan,

IDocs are allways asynchronous. You can create a Business Process with sync/async bridge:

WebClient -> BP request

BP -> IDoc

IDoc Acknowledgement -> BP

BP -> WebClient response

Regards,

Udo

former_member189387
Active Contributor
0 Kudos

Hi Udo ,

Thanks for your reply .

But we would like to get the say for eg., SO number if Sales order IDOC executed . Will acknowledgement will contain the SO number ?

Thanks.,

V.Rangarajan

prateek
Active Contributor
0 Kudos

If you are thinking of using the ALEAUD ack at receiver, then it woould not be holding the SO number. It just holds the idoc number.

Regards,

Prateek

udo_martens
Active Contributor
0 Kudos

Hi Rangarajan,

No, for that you would need to extend the process with a syncr RFC (BAPI) requesting the SO number:

WebClient -> BP request

BP -> IDoc

IDoc Acknowledgement -> BP

BP->RFC request with WebClient request values

RFC->BP response including SO number

BP -> WebClient response

Regards,

Udo