cancel
Showing results for 
Search instead for 
Did you mean: 

Sync Async Interface (IDoc)

manikandan_shanmugam3
Active Participant
0 Kudos

Hi All,

Scenario:  Sync SOAP to IDoc

Sender system can give only sync call and sender application team has agreed to get dummy response back.

Can i configure IDoc ack and use it as a response to create dummy mapping?

Please advice a design to achieve this scenario.

PI Cersion 7.31 (Dual Stack but preferred to use single stack)

Regards,

Manikandan

Accepted Solutions (0)

Answers (5)

Answers (5)

engswee
Active Contributor
0 Kudos

managed to solved this recently as mentioned in the thread below

Maybe he can help enlighten you if you have any queries about his approach.

Former Member
0 Kudos

Scenario:  Sync SOAP to IDoc

Sender system can give only sync call and sender application team has agreed to get dummy response back.

  • Do they need a specific response structure? If Yes, you can try the approach I had before, If not, set the communication channel to Exactly Once instead of Best Effort - it will respond a blank response

Can i configure IDoc ack and use it as a response to create dummy mapping?

  • If you have specific structure to be sent, will it base on Sender's contents / receiver's contents?

Please advice a design to achieve this scenario.

che_eky
Active Contributor
0 Kudos

Hi Genica,

Interesting solution in your other thread. What happens if for some reason the IDoc fails to create in the backend system, your file has already been written and the second ICO triggered to send back a response.

Thanks

Che

Former Member
0 Kudos

You can override the mapping and have the logic like this

@override

try

{

// execute mapping here

}

catch

{

// create file for error in message mapping

}

For catching the IDoc's status, I guess that will need an acknowledgement, so it should be clear on what the response message requires.

che_eky
Active Contributor
0 Kudos

Interesting, it would be nice if you could blog your solution including the "hidden logger".

Che

Former Member
0 Kudos

Hi Genica,

I also have a same requirement of SOAP(Sync) to Idoc(Async).

Could you please tell me how exactly to use hidden logger?

Also, in the above override, isnt it that the try catch block only checks successful execution of mapping in PI. If idoc fails, then it cant be caught during mapping right?

Regards,

Rashmi

former_member182412
Active Contributor
0 Kudos

Hi Manikandan,

You can sync - async bridge using adapter modules. please check below blogs for reference.

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/80f96dbf-adca-3010-ffb5-daf2d1f0e...

Regards,

Praveen.

Former Member
0 Kudos

Hello Manikandan,

try this:

You can then send back to the caller whatever information you like.

Regards,

Jörg

che_eky
Active Contributor
0 Kudos

Hi,

I had a similar requirement see this thread:

If using the IDoc Ack you would need to use a BPM to listen for the response Ack. Without a BPM I can't see how your SOAP request will wait for the Ack. Also you need to match the Ack to the waiting request. For example if five IDoc Acks come into PI which one relates to the waiting SOAP request?

In my case I used a proxy receiver to generate the IDOC and it sent the response back to the waiting SOAP request.

Che

Former Member
0 Kudos

Your question heading is not matching with the question content. I am referring to the content part.

ALE Audit is not a response message, its just a Functional acknowledgment. If you want to go for specific Synchronous Response, you need BPM.

Please find the below blog and discussions. It will help.

http://scn.sap.com/thread/1793283

http://scn.sap.com/people/saravanakumar.kuppusamy2/blog/2005/01/20/configuration-tips-for-a-business...

http://scn.sap.com/thread/1818552

http://www.scribd.com/doc/89978478/44/Acknowledgments-Supported-in-Adapters