on 10-16-2008 11:41 AM
Hi All,
This is HTTP---RFC Sync Scenario
iam Sending the request as Material Number & Plant and i need to get the response back
Response is to be the How much Stock is avalable for that material.
I checked the FM(BAPI_MATERIAL_STOCK_REQ_LIST) in Se37 and working fine. Expected Response is coming .
When i send the Request from HTTP Test Tool, iam getting the response as
Result:
http-Status: 200 OK
Payload:
<?xml version="1.0" encoding="UTF-8"?>
<ns1:MT_stockcheck_res xmlns:ns1="http://sapretail-pos.com/stockcheck_sync"><Stockcheck_response><article_num></article_num><quantity>0</quantity></Stockcheck_response></ns1:MT_stockcheck_res>
But the Response shld be <artcle_num>97137</artcle_num>><quantity>2376</quantity>
Where could be the problem, and to sort out this
Regards
HI ,
Please check the response structure of ur DT is similar to rfc response or not.
Regards,
Nutan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi.
Can you pass the same values to BAPI and test it again on SAP system.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Can you check the response message before mapping whethere you r getting any values. (i.e in Inbound message node-> payload).
Regards,
Sreeni
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Check u r response mapping in the test tab.
Check the Data Type is that same as u r response from ther RFC.
rgds
srini
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have u checked the response mapping in sxmb_moni. Could you see the payload properly there?
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In MONI Response also the same message is comming like
<?xml version="1.0" encoding="UTF-8" ?>
- <ns1:MT_stockcheck_res xmlns:ns1="http://sub-sapretail-pos.com/stockcheck_sync">
- <Stockcheck_response>
<article_num />
<quantity>0</quantity>
</Stockcheck_response>
</ns1:MT_stockcheck_res>
Regards
Hi,
I have Executed the RFC in R/3 Se37 with the same Request Values (i.e Material no 97137 & plant C001only)
There i got the expected values properly and in the case of HTTP Call through XI, it it not giving the data.
I checked in Mapping test & that also success in IR. First of all Why we r unable to get the data in the Response Payload in MONI.
What could be the problem, do we need any Commit kind of things or any thing else..
REgards
Hi
Hope u r using the Message structure -- Response structure of the imported RFC.
Kindly check that.As u said Response mapping is working it should work
Best put a -- External Break point in the RFC and check if u r getting reponse structure with the desired output values
if so it all problem with the usuage of Message Interface used in the response mapping
rgds
srini
Hi,
>>Hope u r using the Message structure -- Response structure of the imported RFC.
Yes iam using the correct Response Structure of RFC only
>>Best put a -- External Break point in the RFC and check if u r getting reponse structure with the desired output values
How to do this Process and wat is the use if we do this at the end of the process
Regards
Hi,
In Trace, i have found this info
</SAP:OutboundBinding>
- <SAP:Trace xmlns:SAP="http://sap.com/xi/XI/Message/30">
- <Trace level="1" type="B" name="CL_HTTP_PLAIN_INBOUND">
<Trace level="1" type="T">server-protocol HTTP/1.1</Trace>
<Trace level="1" type="T">user-agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)</Trace>
<Trace level="1" type="T">host sxddev:8000</Trace>
<Trace level="1" type="T">content-length 284</Trace>
<Trace level="1" type="T">remote-addr 172.16.1.103</Trace>
</Trace>
<Trace level="1" type="T">*COMMIT is expected by application !</Trace>*
<Trace level="1" type="B" name="CL_XMS_MAIN-ENTER_XMS" />
- <!-- ************************************
-->
<Trace level="1" type="B" name="CL_XMS_MAIN-SET_START_PIPELINE" />
- <!-- ************************************
-->
<Trace level="3" type="T">XMB was called with external pipeline PID = ENTRY</Trace>
<Trace level="3" type="T">Getting type of XMB...</Trace>
<Trace level="1" type="B" name="SXMBCONF-SXMB_GET_XMB_USE" />
<Trace level="2" type="T">XMB kind = CENTRAL</Trace>
<Trace level="3" type="T">Start pipeline found</Trace>
<Trace level="2" type="T">Switch to external start pipeline PID = CENTRAL</Trace>
- <Trace level="1" type="B" name="CL_XMS_TROUBLESHOOT-ENTER_PLSRV">
<Trace level="3" type="T">No triggers found. OK.</Trace>
</Trace>
What is the meaning of Bolded letters in the above
Regards
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
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.