cancel
Showing results for 
Search instead for 
Did you mean: 

Import Manager - Problem with 0..n field in Import Manager

Former Member
0 Kudos

Iu2019m having problems with XMLs that contain multiple or single tags in MDIS process. For example: I did the map using a XML with multiple tags for Address:


<address>
<item>
u2026
</item>
<item>
u2026
</item>
</address>

When I send two address or more Address, the Import Server work fine, but when I send only one Address, the address is not imported.


<address>
<item>
</item>
<item>
</item>
</address>

Opening the xml file with only one Address in Import Manager, I saw that the fields isnu2019t mapped, but when I open a xml file with multiple Address itu2019s open correctly.

The XSD cardinality for the Address\Item is 0..n

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Evandro ,

When you are using the MDIS to automate your importing,It is essential that your import map holds all the possible field and value mapping.

As it will always refer to the saved map while automatic importing.

As you mentioned ,you have created a map with multiple address mapping It could be that the multiple address that you have considered while mapping does not contain the singel address in the new sourec file.Your map must accomodate all possible fields and value mapping that you expect an incoming file to contain else the map will not work correctly.

You can refer the below link that talks about the same:

https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/80ad0cff-19ef-2b10-54b7-d4c7eb43...

Hope It Helped

Thanks & Regards

Simona Pinto

Former Member
0 Kudos

Now, it's processing when I run by Import Manager, but it's not running when I run by MDIS.

Former Member
0 Kudos

Hi Evandro ,

If it is processing the input file correctly through the Manul Import manager process then update your latest Map by using SAVE As option or else save this correct map with a new name altogether and use this new map in the port for automatic importing.

If your file is able to process correctly through the Import manager without showing any errors till the Import step in the Import manager then this map must be correct and shoul automate the importing correctly.

Provided you are using the similar file for automatic importing as well.The file name and the fields as well as the value mapping as saved in this corrected map must not differ with the input file else this saved map will not be able to import correctly.

Check to see if you have made correct setting for automatic importing by refering the below link:

http://help.sap.com/saphelp_mdm550/helpdata/en/43/12036df94c3e92e10000000a1553f6/frameset.htm (Automatic importing MDIS - Import manager ref guide>MDM import server(MDIS)>MDIS Consfiguration)

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8973bcaf-0801-0010-b7a7-f6af6b1d... import and syndication server)

Also check the exception folders if your import is not taking place automatically:

http://help.sap.com/saphelp_mdm550/helpdata/en/43/12036df94c3e92e10000000a1553f6/frameset.htm (Exceptions- MDM Import Manager MDIS-Exception handling)

Hope It Helped

Thanks & Regards

Simona Pinto

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Evandro,

Maps may create a problem in the case of qualified tables, specially when there can be one or more values for a record.

In such situations you need to validate your XML against the XSD defined in the console.

This is very well discussed in the first part of the following document.

https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60e108fc-7b0c-2c10-45b8-d847ad9a...

Additionally you can also refer to the following how to guides.

https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/29412497-0d01-0010-21a4-e6a2a0f7... 3.7 - Missing source structure when opening XML file without XSD

specification)

https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/bf0e8a97-0d01-0010-f0a2-af3b18b7... (How to generate XSD)

Hope it helps.

Thanks,

Minaz