on 08-16-2007 4:21 AM
Hello Folks
In ABAP proxy, how can I read a structure like this and process it for passing to a BAPI.
<Material>
<Material No/>
<Mat desc/>
<UOM/>
</Material>
Here Material is of type 0:unbounded and generates a table type in Proxy.
The input structure in proxy has only one material record eventhough I am reading 2 or more material records.Why is this?.Can anyone please send me the code to read 0:unbounded structure in proxy.
Thanks
Ricky
Hello,
Have u regenerated the proxy structure again , if have have made the changes in occurances ?
If u r on SAP WAs 6.4 then u can test u r inbound proxy from the "Test Interface" tool available .
Regards,
keith
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am not talking about how to read the material records from internal table. Here, I am not getting two records of material in the input->ZMT->Material[ ] table in the proxy eventhough I am sending two records of material in the xml inbound.
What would be the reason? I put a break-point in proxy and displayed the input structure which is deep and found out that there is only one material record instead of two.
Thanks
Hi Ricky,
Just put a beakpoint in your proxy.
Check out in debug mode the data inside Material.
Once you see the data you can figure out yourself on how to read the same.
Regards,
Sumit
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 | |
25 | |
12 | |
9 | |
7 | |
6 | |
5 | |
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.