on 02-21-2011 7:55 PM
Hi ,
I am doing a file to RFC interface, what is the best way to hadle errors in this scenario.We have the RFC as synchronous which sends the response back but I know the file cannot capture the response,or is it best to handle it on SAP side? if so how, please help
Thanks
First solution:
Ref : http://wiki.sdn.sap.com/wiki/display/XI/File-RFC-File%28Without+BPM%29
Second solution:
I think it would be better you go with Proxy(that can be synchronous and can send response). I prefer to go with Proxies.
/people/ravikumar.allampallam/blog/2005/08/14/choose-the-right-adapter-to-integrate-with-sap-systems
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you have two solution
best is simulate async scenario where the file is the request and lets say generic_response the response structure.
in this case you will have
1) SI_request_oa with the file structure as request and the generic_response as respnse
2) RFC structure.
*Scenario *
this scenario will send the file data to RFC and the RFC will response back to PI but pi does no send the response to any system, just for monitoring. this will allow you to track the request and the response in PI.
the generic_response structure should look like
generic_response
---response
-
sistem
-
errorCode
-
message
you will have to define two mapping one for request and a second one for the response (RFC response and generic_response structure)
in the interface mapping define the SI_request_oa as source structure and the RFC as target structure.dont forget to assign mapping in request and response tab.
once you active all changes in ESR, configure the ID as a normal async scenario.
Scenario 2
the other possible scenario is send a asyc message to SAP and no response is send back to PI.so, you could save the response in an auxiliary table in SAP if you wish but is not the best.
i reccomend you the first solution.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please refer the link below
http://wiki.sdn.sap.com/wiki/display/XI/File-RFC-File(Without%20BPM)
Regards,
Deepak
another possibility is my wiki
http://wiki.sdn.sap.com/wiki/display/XI/Sync-AsyncwithoutccBPM
Use File to RFC to File with BPM .
Basically u are doing async(File) -
> Sync(RFC) -
> async(File) bridge pattern.
Follow this link
/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
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.