on 04-01-2008 11:05 AM
Experts,
I have a scenario in which bundles of order info is split into single orders.
Message structure except the header is same and one to one mapping is used.
When I am trying to test message mapping I am getting below error.
Cannot produce target element /ns0:Messages/ns0:Message1/ORDER/HEADER/SALES_ORG. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd.
The tag is madatory in the message. and mapping for this tag is one to one. This tag was present in the test message.
Regards,
AV.
Anirudh Vyas
Ur are conflicting with your problem asked. Same rule will apply to both sibling if all the propert is same. I will suggest u first try COPYVALE then tell me the problem
How can use one to one mapping without COPYVALUE, even if u r mapping different fields from one source field with context change in target field
Edited by: Ajay Kumar on Apr 1, 2008 4:18 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ajay,
Thanks for your scrutiny.
Although, there is no need to use copyValue (as the context doesn't change and the tag is used only once for both source and target) but I have already tried and it is giving the same error.
And yes, other siblings are doing fine. and thats why I said it was interesting.
May be parser will throw error for other mandatoy tags once SALES_ORG is processed OK.
Regards,
AV.
17:40:48 Start of test
Document start
Add raw attribute [ xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge"]
Add raw attribute [ xmlns:ns1="urn:bose.com:universal:customer-order"]
Put value []
Cannot produce target element /ns0:Messages/ns0:Message1/ns1:CUSTOMER_ORDER/ORDER/HEADER/SALES_ORG. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd Cannot produce target element /ns0:Messages/ns0:Message1/ns1:CUSTOMER_ORDER/ORDER/HEADER/SALES_ORG. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd
17:40:54 End of test
Hi,
In your source msg the the tag is occuring only once, so try this:
Source Field-->Copy Value[0] -->SALES_ORG
**Reward points if helpful
--Sankar Choudhury
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.