cancel
Showing results for 
Search instead for 
Did you mean: 

SAP MDM mapped fields not coming in XML

0 Kudos

I have a field mapped in MDM Syndicator. But at the time of syndication the field is not generated in XML. (For your information no data has been sent to that field) Can anyone explain the reason and is there any provision to change the configuration so the fields are coming in XML even though there will be no data.

Accepted Solutions (0)

Answers (2)

Answers (2)

manfredKlein
Participant
0 Kudos

Hello Nilanjan Samanta,

what you want to manage is not within the Syndicator GUI (as a clickable option) but in the xsd Schema file for this import map. The Schema file controls most aspects of the resulting XML. Appearance included. You need to navigate to the Schema definition of your node 'code':

<xsd:element name="code"/> code is obligatory and it appears exactly once.

<xsd:element name="code" minOccurs="0"/> code can be omitted but does not repeat.

<xsd:element name="code" maxOccurs="unbounded"/> code can't be omitted and can repeat.

<xsd:element name="code" minOccurs="0" maxOccurs="unbounded"/> code can be omitted and can repeat.

The attributes 'minOccurs' and 'maxOccurs' do the trick.

Afterwards load the updated Schema file and check your outcome here:

Navigate to 'Destination Items' and to your node 'code'. You see, that the opions 'Required' and 'Repeatable XML Node' are not editable. These result from the 'minOccurs' and 'maxOccurs' attributes in the Schema file. If 'Required' is checked, Syndicator is not allowed to omit this Node. If Syndicator still does, it's a bug and beyond my possibilities.

Best regards,

Manfred

istvanbokor
Advisor
Advisor
0 Kudos

Hello Nilanjan,

For further investigation could you please tell me the exact MDM Syndicator version you are using?

Thank you

Best regards,
Istvan

0 Kudos

Hi Istvan,

The version is 7.1.