Skip to Content
0
Former Member
Dec 15, 2006 at 08:31 AM

Order of dublicated subtree in MM

22 Views

Hi folks,

I have a weird problem:

I map IDOCs to a JDBC structure. I use the JDBC to Insert_Update changes that are transmitted in the IDOC.

Now we discovered that the absence of fields in the IDOC leads to these fields missing as well in the JDBC (of course).

A missing field means that the entry needs to be set to "" in the DB though.

My solution approach is that I duplicated the table-subelement and that I want to have a DELETE message first and then the INSERT_UPDATE I already did.

Anyway - when I dupliate the subtree the new subtree is below the old one. But I need the DELETE first.

Does anyone know how to change the order of the sub-trees?

I also tried to copy the mapping down using a mapping template. But mapping templates never work here. They solely map the first element and everything else is not mapped.

Please help. I don't dare to re-do my some 100 elements mapping...

Cheers,

Helge