on 03-10-2008 9:35 AM
hello exprets
I have a scenario RFC2WS, and my problem is in the response.
the thing is that the WS is returning an array, that can be up to 10 and the RFC suppose to recieve them column by column. I couldnt find the right method/configuration to put it to get the correct output.
for example:
getting from WS:
<NS7:changeReasons>
<NS7:changeReasonArr>
<NS7:item>
<NS7:changeReasonCode>815</NS7:changeReasonCode>
</NS7:item>
</NS7:changeReasonArr>
</NS7:changeReasons>
in RFC suppose to get it as:
<KOD_MAHUT_SHINUY1>1</KOD_MAHUT_SHINUY1> <KOD_MAHUT_SHINUY2>1</KOD_MAHUT_SHINUY2> <KOD_MAHUT_SHINUY3>1</KOD_MAHUT_SHINUY3> <KOD_MAHUT_SHINUY4>1</KOD_MAHUT_SHINUY4> <KOD_MAHUT_SHINUY5>1</KOD_MAHUT_SHINUY5> <KOD_MAHUT_SHINUY6>3</KOD_MAHUT_SHINUY6> <KOD_MAHUT_SHINUY7>1</KOD_MAHUT_SHINUY7> <KOD_MAHUT_SHINUY8>1</KOD_MAHUT_SHINUY8> <KOD_MAHUT_SHINUY9>353</KOD_MAHUT_SHINUY9>
<KOD_MAHUT_SHINUY10>1</KOD_MAHUT_SHINUY10>
as you can see, in the RFC could be more lines that there are acctually in the WS, and I want to enter 815 to SHINUY1 and to the rest to put an empty string.
helpful will be appreciated, I am running out of ideas.
Thanks
Kfir
Go for Java or ABAP mapping.
VJ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I would, there is a problem with the ABAP, so I am trying to do it in the XI.
any suggestions how to map it correctly?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
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.