cancel
Showing results for 
Search instead for 
Did you mean: 

Ariba CIG custom mapping error in pricing condition for Ariba PO

0 Kudos
653

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

Accepted Solutions (0)

Answers (1)

Answers (1)

afurriel
Product and Topic Expert
Product and Topic Expert
0 Kudos

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.

0 Kudos

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.

afurriel
Product and Topic Expert
Product and Topic Expert
0 Kudos

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?

0 Kudos

Hi,

I tried to map as per provided link only but its not worked for me.

I have created a duplicate node of inner modification segment to map the second line but faced same issue which we shown in initial question.

Below screenshot for mapping

Thanks,

Akshansh Pal Singh

afurriel
Product and Topic Expert
Product and Topic Expert
0 Kudos

You need to do a Create Node on the "Modification" item, under "Modifications". See the first screenshot that has the short green line on "Modifications"? You should have that also on "Modification" and any other sub node that is mandatory to get a valid cXML (per DTD validation).

0 Kudos

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