on 08-22-2007 5:40 AM
Hi Friends
I am doing one scenario in XI and getting an error can anyone please help me
The scenario which I am trying to achieve is this:
A Web Client using SOAP protocol calls the BAPI "BAPI_USER_GET_DETAIL" in R/3.
Configuration
==========
1) System Landscape Directory: Created a new product and one software component for it. Created 2 technical systems : One for Web Client and the other for R/3. Created two business systems for these two technical systems. For both the technical and business systems, I added the software component of the product which I created.
2) Integration Repository: Imported the created software component and allowed for the import of RFC's and IDOCs and then imported the structure for "BAPI_USER_GET_DETAIL". I then created a OUTBOUND SYNCHRONOUS message interface, let's call it "MSGINTRF_BAPI". The outbound structure is "BAPI_USER_GET_DETAIL" and the inbound structure is "BAPI_USER_GET_DETAIL.Response".
3) Integration Directory: Created a new scenario and added the two technical systems as services and then created communication channels for them. Since the Web Client is the sender, I used the SOAP adapter for it and for R/3 which is the receiver, I used the RFC XML adapter.
In receiver determination, the sender service and message interface - "MSGINTRF_BAPI" were specified and then the R/3 system was specified as the receiver system.
For interface determination, the sender service, the message interface and the inbound interface (BAPI_USER_GET_DETAIL) were specified.
For receiver agreement, the receiver service, the message interface (BAPI_USER_GET_DETAIL) and the communication channel were specified.
For sender agreement, the sender service, the message interface (MSGINTRF_BAPI) and the communication channel were specified.
I am using XMLSpy for testing the scenario. I have generated the 'Web Service' 'wsdl' file from the Integration Directory. I use XMLSpy to generate a SOAP request using the generated 'wsdl' file. The error which I get back is that "User does not exist". There is a space between the words "User" and "does not exist". You can replicate this error if you were to run this FM in R/3 without passing the value for the parameter 'username'.
This means that XI is not passing this value to R/3 when it calls this FM in R/3.
What I would like to know is what else should I do in my configuration to let XI transfer the 'username' parameter value, which I pass from my Web client, to R/3 so that I can get the results back?
I hope I have been comprehensive enough to explain the scenario and the problem I am facing...
Please help me in this as i am very new to the XI .
Thanks and Regards
Sorry i actually have not done message mapping and all that bcause its a huge BAPi and also i dont know how to do it can you please give me a brief about it.
Thanks and Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ! Ishika
refer these
/people/community.user/blog/2006/12/12/http-to-rfc--a-starter-kit
/message/266750#266750 [original link is broken]
/people/community.user/blog/2006/12/12/http-to-rfc--a-starter-kit
http://help.sap.com/saphelp_nw2004s/helpdata/en/c8/e80440a832e369e10000000a155106/content.htm
check with this for http client
/message/266750#266750 [original link is broken]
http://help.sap.com/saphelp_nw04s/helpdata/en/82/f4993c03e0cd37e10000000a11405a/content.htm
Follow this weblog
/people/community.user/blog/2006/12/12/http-to-rfc--a-starter-kit
have a look also at these
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/httpToRFCSynchronousScenario-FAQs&
/people/krishna.moorthyp/blog/2006/07/23/http-errors-in-xi
Pls reward if useful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
I have done that already,actually its not passing the user from the XI system to the r/3 which is actually required to run that bapi.
Thanks and regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In IR hav u nt created Message Mapping & Interface Mapping between both the messages..?? (One with BAPI Request & other with Response)
Regards
Sushil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.