cancel
Showing results for 
Search instead for 
Did you mean: 

Import manager save Vs Save & Update

Former Member
0 Kudos

Hi all,

I am getting this message when I use Import Server .

515 2008/09/03 11:42:30.091 Some portions of this import map are out of date.

Solution: Please, Launch the Import Manager GUI, preferably using the original source file that the map was generated for, otherwise the same source file and Save Update [File->Save Update] the map.

And when I do the action suggested, it does solve the problem.

My question here is why is this even happening, i use Import manager for the same data file, I am using Save rather than save & Update. So is that causing this problem??

Thanks,

really appreciate any thoughts.

Sudhir

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Sudhir,

515 2008/09/03 11:42:30.091 Some portions of this import map are out of date.

- This error points to the problem that when you initially created the map for importing you used a source file and mapped the fields in the source and also performed value mapping.

- However the source file coming at run time to be imported are having some mismatch with the fields mapping and preferrably with the value mapping.

- Thats the reason the saved map cannot perform the importing and its throwing an error.

- To perform automation of importing you have to make sure that the source template used ofr importing does not change taking care of the format as well as the name of the source file.

- Also note that the source template used for importing has taking care of all the possible value mappings and field mapping taht may occur in the files import at any instance.

- In case of such changes the SAVE Update option is provided by import mangaer to save the updates in the map.

- If care is taking to avoid the above possibilities then you will not have to save the map again and again.

- Recommented way is create a template of teh source file in the desired file format and make available all the possible fields and values taht can occur in the incoming source file and then reuse this template in the saved map to avoid the error.

Hope It Helped,

Thanks & Regards

Simona Pinto

Former Member
0 Kudos

You are right Simona, but What is throwing me off is SAVE vs SAVE UPDATE.

I am doing exactly what you talked about but in the end using SAVE instead of SAVE Update.

So when Import server asks me to use SAVE UPDATE, I wonder what is the difference between SAVE UPDATE & SAVE and why chnage sto import map have to be SAVE UPDATED rather than SAVE?

Former Member
0 Kudos

And when Import server gave me an exception it was not because of a value mappign missing, All I did was opneed the map for the same fiel in Import manager and hit SAVE UPDATE, nothing else

And it worked !!

Former Member
0 Kudos

Hi Sudhir,

After opening the saved map and working on it make sure you are closing the file before exiting the Import client.

If you try to close the import manager with the map still in the open state it sometimes causes it consisitencies in the map.

Just a clarification.

As per SAP's definition Save Update is used to save the updated Header information into the current map.

Thanks & Regards

Simona Pinto

Hope It Helped,

Thanks & Regards

Simona Pinto

Former Member
0 Kudos

Hi Sudhir,

This problem usually occurs because the XML source that gives the structural error when importing, contains an element which had not been part of the original XML that was used for generation of the original map. Since this element is not defined as mandatory in the XSD the Import Manager could open it with no schema conflict. But since the source file contains a new element the Save Update option must be applied to add this new element to the map definition.

There are two ways to overcome this issue:

1. To create an input file which contains all the elements and use this to create the map (you do not need to run the actual import, it is sufficient just to save the map after mapping all the required fields.

2. Open the Import Manager GUI and choose a number of files together (the more files you open, the better your map will be).Map all the required fields and values and then use the "Save Update" option to save your changes. Open Console and update the same map for the ports also. Doing this it wont ask for save update for the this element again

You should now be able to import all of the files as well as other files that do not have new unmapped elements. The XML files are valid against the schema and the Server is looking for the mapping not for correctness of the schema.

I hope I am able to help you

Thanks & Regards

Dilmit Chadha

Former Member
0 Kudos

Simona, that was my next question. What exactly is header information in a Import map?

Former Member
0 Kudos

Hi Dilmit,

WOW!......I didn't mention but yeah XML is my input file, and yes most of the segments are minoccurs =0 , meaning not mandatory.

Solution 1 is so suitable to us, if it works then looks like could solve our problem.

How can I get an XML with all segments present ??? even if it is a DUmmy one, is there any one shot procedure or is a manual labor?

Solution 2 will be

A) too taxing on the system we have close to 140K records.

B) Breaking them in to chunks and running them will take a lot of time.

Please share your thoughts on Solution 1 , the How & Where of getting s Dummy XML with all segments/fields present

Thanks,

Sudhir

Former Member
0 Kudos

Hi Sudhir,

For solution 1 you can either create your own dummy input file or ask from your client/or middleware guys to send one dummy file so that you can create a map. Dont import that file jsut save the map Beacause that is the only way for dummy one. Also update the same map in console for ports.

For Solution2 if you can open that file, it would be helpful. It would definately take long time to open but once u have done save update and also updating the same file in Console after that, this problem wont come.

I hope I am able to solve your problem

Thanks & regards

DIlmit Chadha

Former Member
0 Kudos

Hey Dilmit FYI

I was able to generate Sample XML using the Schema in XML SPY. I will let you all know if that fixed the problem. Thanks.

Former Member
0 Kudos

Hey Dilmit,

That solved the problem.

Thanks a bunch! awarded your points.

Thanks Simona! Very helpful answers!

Answers (1)

Answers (1)

Former Member
0 Kudos

And If I refer to the Import Manager Reference Guide, this is what it speaks about a Save Update

To save updated header info to a map:

1. Open the map.

2. Choose File > Save Update from the main menu.

3. MDM saves updated header info to the current map.

What is header info ???