cancel
Showing results for 
Search instead for 
Did you mean: 

Function Model undefined

Former Member
0 Kudos

Hi Gurus,

Seems like there is no solution yet to this problem.

I have a File to Idoc scenario. When I changed the data type of the structure coming from the source, i could not view the mapping anymore. when i change the signature, my mapping was totally deleted. is there anyway i can fix this without deleting the mapping?

Thanks!!!

Accepted Solutions (1)

Accepted Solutions (1)

rajasekhar_reddy14
Active Contributor
0 Kudos

That is how it works, if root element name gets changed or major chnages in structure or if you use different data type you will lose all mapping.

but if you are on PI 7.1 you have an option to keep old mapping logic.

my advice to you use copy existing mapping (back)and change data type in orginal mapping and complete mapping once again be refering copied back up mapping.

Regards,

Raj

Former Member
0 Kudos

Hi Raja, I am on 7.1

how can I accomplish this?

rajasekhar_reddy14
Active Contributor
0 Kudos

here you go

/people/jin.shin/blog/2008/02/15/sap-pi-71-mapping-enhancements-series-correct-structural-inconsistencies

Regards,

Raj

Former Member
0 Kudos

sorry raj, but i can't view the whole mapping. i dont have the option of clicking the 'correct structural inconsistencies'

rajasekhar_reddy14
Active Contributor
0 Kudos

so sad, then in your case try my first replay,there is no other posibility to keep original mapping.

former_member472138
Active Contributor
0 Kudos

As mentioned above, if you change root node, obviously loose entire mapping.

In your case, just duplicate the mapping and source structure which you want to use and can perform the change.

Regards

Pothana

former_member200962
Active Contributor
0 Kudos

From what i read in the blog 8662 it is mentioned that you get the functionality when a target structure is changed....however in your case you have to deal with source structure change:

From blog 8662:
Note that the "Correct Structural Inconsistencies" function appears only if, at the very least, a field used in a target-field 
mapping cannot be found when a mapping is opened or a new message is introduced.

so for you there seems to be only one option available....redo the mapping!

Answers (1)

Answers (1)

markangelo_dihiansan
Active Contributor
0 Kudos

Hello,

In your message mapping, there is an option to view the history go to Message Mapping -> History. From that window, you will see past versions of your mapping, click on a version and then click the folder button. If you want the older version, just click edit on it, save and activate.

Hope this helps,

Mark