cancel
Showing results for 
Search instead for 
Did you mean: 

RFC-XI-SOAP

Former Member
0 Kudos

In a scenario where RFC adapter on the sender side and SOAP adapter (used BAPI FM BAPI_USER_GET_DETAIL)on the receiver side,i used the function module ZBAPI_USER_GET_DETAIL ,Where i want ot get thye details of the user by sending the username as the parameter from source request,in this scenario if the wrong user name is passed ,what will be the result and how to handle the errors?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

HI,

What you can do is you use a look up in this case pass the value of the user first check whether that user exists in the R3 system if not then raise an alert to the user that the user is not exists and if the user is present then pass the information of user to SAP XI back.

I think dont go for RFC to SOAP scenario.

what you can do is pick up the file in XI which holds the user name and pass that value to R3 system through the RFC and get back the response form the R3 system if user name exists in R3 and send the information in File.

Refer simple weblog for FIle-RFC-request RFC response-File.

/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit

Refer the help for lookup:

Lookup :

Lookup - /people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer

DB lookup - /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler

SOAP Lookup - /people/bhavesh.kantilal/blog/2006/11/20/webservice-calls-from-a-user-defined-function

http://help.sap.com/saphelp_nw04/helpdata/en/cf/406642ea59c753e10000000a1550b0

Lookup’s in XI made simpler - /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler

How to check JDBC SQL Query Syntax and verify the query results inside a User Defined Function of the Lookup API -

http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm

/people/prasad.illapani/blog/2006/10/25/how-to-check-jdbc-sql-query-syntax-and-verify-the-query-results-inside-a-user-defined-function-of-the-lookup-api

Lookups - /people/morten.wittrock/blog/2006/03/30/wrapping-your-mapping-lookup-api-code-in-easy-to-use-java-classes

Lookups - /people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer

/people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler

http://help.sap.com/saphelp_nw04/helpdata/en/cf/406642ea59c753e10000000a1550b0/content.htm

/people/sap.user72/blog/2005/12/06/optimizing-lookups-in-xi

Lookups with XSLT - https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8e7daa90-0201-0010-9499-cd347ffb...

/people/sravya.talanki2/blog

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/05a3d62e-0a01-0010-14bc-adc8efd4...

How we have to create the lookups?

Check this weblogs with some screenshots on how to achieve this:

/people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler

/people/sravya.talanki2/blog/2005/12/21/use-this-crazy-piece-for-any-rfc-mapping-lookups

/people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer

/people/sap.user72/blog/2005/12/06/optimizing-lookups-in-xi

/people/morten.wittrock/blog/2006/03/30/wrapping-your-mapping-lookup-api-code-in-easy-to-use-java-classes

Thnx

Chirag Gohil