cancel
Showing results for 
Search instead for 
Did you mean: 

Adding new field to wsdl: create complete new map???

guydebruyn
Discoverer
0 Kudos

We are using the graphical mapping in XI (3.0) to map the SAP XML Purchase Order create/change from SRM to an externally defined wsdl based on the xCBL Purchase Order. The message is sent out via the SOAP adapter. We want to add one field to the wsdl. Is there any way this can be done without having to do the (graphical) mapping all over again? It's actually worse, we have two almost identical incoming messages (PO change and PO create) that map to the same wsdl. There are a lot of fields (one hundred or more) that have to be mapped. There is also a Java function (which then has to be saved in a text editor etc.). I'm maybe still too much used to the good-old ABAP world where you can simply add a new field to a structure and not have to redo all the ABAP programs that reference that structure.

Any suggestions?

Thanks a lot

- Guy

Accepted Solutions (0)

Answers (1)

Answers (1)

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

there are many ways to preserve graphical mapping

- you can create a tempate and then use if on a new mapping

- you can export your mapping change it in text editor and import it again

- but if you only add one field (not root) then the mapping will not be lost

so as you can see no need to redo anything if you add one of two fields

Regards,

michal

henrique_pinto
Active Contributor
0 Kudos

Well,

if you just added a new field and didn't change the message names, you won't loose anything, your message mappings will still be there, with maybe some new unmapped fields.

However, if you do want to save your message mapping program, for backup purposes, hold shift + ctrl and right-click on your message mapping design area. Then go to Tools > Export tools > Export and export your message mapping as a .mte file in your computer (a .mte file is nothing but a .xml file with a specific format).

If you maintain messages and fields names, namespaces and SWCVs, you can later reimport this exported .mte file into a new message mapping.

Regards,

Henrique.