cancel
Showing results for 
Search instead for 
Did you mean: 

Idoc acknowledgement message to web service

Former Member
0 Kudos

I am trying to set up the scenario SOAP sender>XI>IDoc Receiver.

I have exposed the outbound, synchronous message interface as a web service, and I'm planning to use sync-async bridge in BPM.

My problem is: I need a response message from SAP. Can I use an iDoc acknowledgement message for this purpose? If this is the case, how do I set up SAP to send this acknowledgement message to XI, and do I have to configure an iDoc sender channel for this purpose?

Any comment is appreciated!

Thanks,

Håvard

Accepted Solutions (0)

Answers (2)

Answers (2)

bhavesh_kantilal
Active Contributor
0 Kudos

An exercise that took me months to crack but I did

The answer is in this thread I posted. Might be a bit lengthy but it does address your issue,

Let me know if you are lost after reading the thread.

Regards

Bhavesh

prateek
Active Contributor
0 Kudos

Yes u may use Idoc Ack

See this

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50...

/people/saravanakumar.kuppusamy2/blog/2005/01/20/configuration-tips-for-a-business-serviceintegration-process-to-send-back-ale-audit-idoc

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

Regards,

Prateek

Former Member
0 Kudos

Thank you for your answer!

In the document https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50..., step 8 on page 4 explains how to schedule a background job to periodically send back the audit data to the sender system, but isn't it possible to send the ALEAUDIT immediately after receiving the incoming idoc?

Håvard

bhavesh_kantilal
Active Contributor
0 Kudos

One option - not a ABAP expert but this is what I understood with my discussions with my ABAP team when we were coveringt he same issue -

In the Idoc Inbound Processing Code - write a ABAP Exit that after processing the Idoc will trigger the RBDSTATE report to trigger the AleAudit back to XI and XI will send it back to R3.

It is surely possible, as the Aleaudits are triggered by RBDSTATE report instead, you can manually makde the Idoc procesing code to trigger this report immdeitaly and so on.

An Abap , Ale_Idoc specialist will have the answer to this in seconds - on how to do this - but am not one

Regards

Bhavesh

Former Member
0 Kudos

Bhavesh, can you explain in more detail how you configure the correlation list in BPM?

Which fields are needed in the request and response message?

Do the request and response messages in the BPM Sync Async part need to have the iDoc/ALEAUD-structure?

Do you select Acknowledgement: "Application" in the AsynSend step in BPM?