on 03-02-2008 9:48 AM
hi all ,
i am doing file to idoc
i have source structure as
header
item1
item2
item3
and my idoc wmmbid02 as stru
E1MBXYH 1.1
E1MBXYI. 1.9999
i am able to convert soure file to xml as below (inbound playload ) using sender fcc.
<zheader>
<zitem>
i defined my message source mapping (message type ) as below.
mt_f2idoc
zE1MBXYH
ziE1MBXYI (same level as header)
and mapped to target . (disabled edidc seg , given 1 to segements attr)
*ques*
i am getting run time exp in sxMB_MONI for mapping :
That "Cannot produce target element /WMMBID02/IDOC/E1MBXYH/E1MBXYI. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd "
what may be probelm ?
please help me out .
Thanks
Sridhar
> i am able to convert soure file to xml as below (inbound playload ) using sender fcc.
> <zheader>
> <zitem>
>
> i defined my message source mapping (message type ) as below.
> mt_f2idoc
> zE1MBXYH
> ziE1MBXYI (same level as header)
> and mapped to target . (disabled edidc seg , given 1 to segements attr)
Why did you create the zE1MBXYH kind of MT? You should be using the <zheader> and <zitem> structure itslef and map it to the imported IDoc target message.
Assuming, You have elements under the header and item nodes, you have to first map the corresponding nodes of the IDoc with the Header and Item nodes. Then you have to map the corresponding elements under each node.
VJ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks all for ur help .
Problem is solved , the issue was in sender file fcc , documnet node should match MT in ir and namescape also .
pointed awared to all for ur time .
Thanks,
Sridhar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks all for ur help .
Problem is solved , the issue was in sender file fcc , documnet node should match MT in ir and namescape also .
pointed awared to all for ur time .
Thanks,
Sridhar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
if u r getting the error like can not produce target element
to make the error correction u can do the followng tests.
forst check your Message Mappinh that u have created, you can test the message mapping in the test tab
go to the test tab and execute and check whether the target strctute is generate or not.
if the target structure will not be generated that it mwans some mandatpry nodes are not mapped.then mapped all the nodes and then check.
if ur tyarget structure is generated in message mapping in the test tab then go to SXMB_MONI and thake the payload form the moni , copy this paylod in the message mapping and then check ur message mapping. u will come to know about the mapping error.
if u still face the problem please reply me back.
Thanks
Rinku
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check the Occurance of "header" It should have atleast one Occurance defined in the Data type. like (1..unbounded)
Check this and Revert back...
Regards.
Jeet.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
check the context for target and source.
try usin remove context in between source and target ..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sridhar,
Can u copy and paste the inbound payload ?
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 |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.