on 01-12-2007 9:45 AM
Hi All
I am having IDoc---> File mapping scenario. Here is the Message Mapping/Design tab IDoc to File mapping.
Source Structure(IDoc) Target Structure(file Structure)
IDOC LIST
segment segment
E1EDL20 mapping UNL_10
partner_id -
>parternid
parter_q -
>partnerq
E1EADRM1----
>ADDRESSSEG
name----
>name1
rollno -
> rollno
E1ARDE1----
> C_C082
external-id----
>ext1
external-q----
>ext2
While I am doing testing of mapping in Message Mapping/Test tab I am not getting segment (E1ARDE1) and also the fields under it
E1ARDE1----
> C_C082
external-id----
>ext1
external-q----
>ext2
Since (E1ARDE1)segment is not populating on source side Mapping is getting failed in Message Mapping test tab.
Here is the erro message I am getting
"Cannot produce target element /LIST/UNL_10/ADDRESSSEG/C_C082/ext1 or ext2. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd"
Please let me know if any one is aware the problem. Please forward if any one is aware of the solution to tshailu81@yahoo.co.in
Thanks
Shailaja
Hi,
As you are aware that the error is at the mapping of
E1ARDE1----
> C_C082
external-id----
>ext1
external-q----
>ext2
ext1 and ext2 being mandatory fields gives you a error when E1ARDE1 doen't exists.
So
1) Either make them non mandatory by changing the min-occurence to 0
2) or handle this case in your mapping (with the use of <b>exists</b>)
Regards
Suraj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shailaja,
make the required target fields of the datatype optional (occurance 0 - 1).
Regards,
Udo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.