on 12-20-2006 5:13 AM
hello
Firstly thank to Tuhin & Venkataramanan
In reference to my early question dated Posted: Dec 15, 2006 7:59 AM
/people/community.user/blog/2006/10/24/exposing-bapi-as-web-services-through-sap-xi
-- web service request to XI ,than XI call a BAPI ,and the output of BAPI is sent back to web service responce.-- I am using Altova XML Spy to send a web service request ,& getting responce.I had done all configuration in IR, ID.
As i send a request,through Altova XML spy ,and getting a responce to. but in responce
the BAPI Output Data is absent ,only element tags shows zero,
ex-- <customer salary> <b>0</b> </customer salary>
it should have some value i.e. like 2300 ,which BAPI is giving
<u><b>Every thing is working</b> </u>In <b>Itegration monitering-> adapter (RFC) status green</b>
the massage is---
BAPI name is -- <b>BAPI_AR_ACC_GETPERIODBALANCES</b>
Text
BAPI_Cchannel Receiver channel 'BAPI_Cchannel' for party '', service 'account2service' (internal name 'RfcClient[BAPI_Cchannel]')
Client data: {jco.client.lang=EN, jco.client.snc_mode=0, jco.client.client=800, jco.client.passwd=******, jco.webas.ignore_jdsr_error=1, jco.client.user=guest, jco.client.sysnr=00, jco.client.ashost=192.168.100.21}
Repository data: {jco.client.lang=EN, jco.client.snc_mode=0, jco.client.client=800, jco.client.passwd=******, jco.webas.ignore_jdsr_error=1, jco.client.user=guest, jco.client.sysnr=00, jco.client.ashost=192.168.100.21}
Current pool size: 0, max pool size : 1
RFC_HISTORY
- OK: 2006-12-20 10:06:09 IST: Message processed for interface BAPI_AR_ACC_GETPERIODBALANCES
- OK: 2006-12-19 22:37:20 IST: Message processed for interface BAPI_AR_ACC_GETPERIODBALANCES
In <b>SXMB_MONI staus flag is processed succesfully</b>
there in payload ,the out put is there but with the same empty tag ,which i am getting in
as responce in Altova xml spy, as described earlier
there is no mapping exception
<b>I am not able to locate the error</b>
Might be some different mapping required for BAPI Responce to WEBservice responce or else.
Thanks & Regards
Ashutosh
Hi,
Try to execute that BAPI in R3 first.
If u r passing input from XI to BAPI in R3 some number input fields should be preceeded by zeros(means from ur soap request message).
eg if ur vendor no is 169 then u should preceed it with 7 zeroz as vendor no. ia a 10 digit no.
eg 0000000169.
In ur bapi if u r passing any no. then preceed it with required zeros(it is required if u r passing data from XI but not in case of R3 BAPI execution).
Then test ur response message in ur response mapping.
Thanks.
And then check
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
<b>my problem is solved thanks to all....espcially Tuhin & shweta khade </b>
Its was matter of -- no. of zero 000 (in input fields) that had to be given to BAPI .. through web request.
Thanks & Regards
Ashutosh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ashutosh,
You need to do response mapping between BAPI response to soap response.
If you have done check it that it is working fine.
Also make sure that you have specified this response mapping in interface mapping .
Check in SXMB_MONI that what is the reply you are getting from BAPI.
Thanks,
Tuhin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Take the response payload of the BAPI from sxi_monitor, and try executing the response mapping in the respository.
Are you getting the expected output here?
Regards,
Smitha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Test Webservice Response Mapping using this blog ,
/people/michal.krawczyk2/blog/2005/09/16/xi-how-to-test-your-mapping-in-real-life-scenarios
Use this blog to test RFC,
/people/michal.krawczyk2/blog/2006/01/17/xi-debugging-rfc-calls-from-the-xi-not-possible-who-said-that-
Regards
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
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.