on 2021 Apr 22 6:15 AM
Hi Team,
We have a requirement to sent pricing condition from ERP to Ariba PO as we did the enhancement of code for populating the condition in CIG mapping and also map successfully one condition with the target mapping but when we try to map another condition face "The mapping is missing mandatory data. Parent node 'modification' for child 'Additional cost' is missing!" issue.
Please advise
Thanks,
Akshansh Pal Singh
Request clarification before answering.
Hi Akshansh.
Based on the error you are missing a Create Node on the "Modification" element, and probably on its parent "Modifications". If that's not the case you could add a screenshot it could help troubleshoot.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi afurriel,
Thanks for your response.
So we have already created the node for modification element on parent and still we facing the same issue, As per my pervious comment it's working fine when we map one condition but our requirement to map multiple condition.
Please correct if I am wrong as per my understanding for multiple we need duplicate the child element modification element and need to map with another condition but when we do the same, got an error.
Below is the screenshot as per your request.
Hi.
I don't see the short line next to the modification element but may be overlapped with the dashed lines. Please expand the Modification element and its child elements and check which ones have a create node and add the missing ones. If you add a Create Node on Modifications then all the inner tags (black ones) that are required per DTD should also have a Create Node, so if you have one or even more mappings for the child lines you have to add those. Modifications if not mapped at all in standard so you must use the create node or mappings won't occur.
As for duplicating the Modification child, if you need to do a different mapping the you would duplicate the node e.g. if you have different source conditions. But if you have multiple values to map under the same condition, in that case you should use the For-Each instruction to loop your multiple entries and automatically create each Modification node with the proper values. Are you following this guide?
Hi Ariel,
Thanks for your response.
when we create a node on the "Modification" item, under "Modifications". Its allow to save the mapping but not showing any value in target structure because parent segment is not created.
when we are trying to create node on both Modification, getting below error.
Please advise.
Thanks,
Akshansh pal Singh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.