on 05-16-2006 2:00 AM
How to get the table from SOAP RFC\web service in AS620.
I config the RFC\Webservice comply with the manual (SOAP RUNTIME HELP). When i use sap soap client to test the webservice with RFC function "STFC_CONNECTION".
It works fine. But when i test RFC function "MM_MATERIALS_FOR_GROUP". I found that the table is not filled in Soap Response as follows.
SOAP Response:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<rfc:MM_MATERIALS_FOR_GROUP.Response xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
<T_MATERIALS xmlns=""></T_MATERIALS>
</rfc:MM_MATERIALS_FOR_GROUP.Response>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
I think the correct response should be:
<T_MATERIALS>
<item>
<MATNR>...</MATNR>
<MAKTX>...</MAKTX>
<MEINS>...</MEINS>
</item>
...
</T_MATERIALS>
The function "MM_MATERIALS_FOR_GROUP" work fine in SE37
How can i resolve this problem. The return table is so important to our application.
SOAP Request:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<rfc:MM_MATERIALS_FOR_GROUP xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
<I_LANGUAGE></I_LANGUAGE>
<I_MATERIAL_GROUP>A001</I_MATERIAL_GROUP>
<I_PLANT>3600</I_PLANT>
<T_MATERIALS/>
</rfc:MM_MATERIALS_FOR_GROUP>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
-
SAP KERNEL VER 1509
WAS620 Support Package 42
HP-UNIX IA 64
Move to other forum "Web Dynpro"
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 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.