on 06-14-2011 9:37 AM
Hi Experts,
In my SOAP to RFC scenario , the SOAP req contains one input value i.e. MAtnr . I have mapped this field with a field Mat_Number in RFC -Req . Its simply direct mapping . Its working for a single value perfectly .
My requirement is If SOAP -Req contains many matnr values , Its not working . How can I build this MEss Mapping to produce multiple Mat_Number field in RFC-Req.
Presently It is MATNR----
>MAT_NUMBER.
Can you pls suggest how to build mapping to produce multiple MAT_NUMBER .
Thanks.
Drumi
Hello,
How can I build this MEss Mapping to produce multiple Mat_Number field in RFC-Req.
It really depends on how you handled the context of the MAT_NUMBER parent node. Can you provide the mapping for the parent node of MAT_NUMBER so that we can help you more?
Hope this helps,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Mark,
This is source and target structures.
Source::
..........MT 1..1
..............-Records 1..Unb
....................-Matnr 1..Unb
Target::
ZRFC 1..1
......-IMPORT 1..1
.............-Item 0..Unb
....................- werks 0..1
Here I have mapped matnr -
> werks and Records -
> item .
Can you now explain If I want multiple werks values at target side .
-Drumi
Dear all,
It is working if I give source structure as
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_WS_Req xmlns:ns0="xxx">
....<Records>
......<PlantId/>
....</Records>
....<Records>
......<PlantId/>
....</Records>
</ns0:MT_WS_Req>
But i want if multiple plant id's are in the same record..like...
<Records>
.........<PlantId/>
.........<PlantId/>
.........<PlantId/>
</Records>
Can you suggest how to build this mapping . any udf required?
-Vijay
Dear all,
Solved the prolblem.
mapped plantid with item in rfc struc .and also mapped planid with werks with combination of split by valueeach value .
Now i m getting o/p , if duplicate subtree at Record level sub struc and also at plantid element it self.
-Drumi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
First you have to check how RFC structure defined,if RFC structure supports only one MATNR at a time, then RFC structure change required.
Regards,
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
70 | |
26 | |
9 | |
9 | |
7 | |
6 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.