cancel
Showing results for 
Search instead for 
Did you mean: 

How to get rid of maintaining transaction IDX2

Former Member
0 Kudos

Hy everybody,

is there a way to get rid of maintaining transaction IDX2, when an IDoc structure changes?

Thanks a lot,

Thomas

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Since the IDOC structure change is occuring in another system (not in XI), there is no way XI can know this change. So, the deletion of the meta data during these cases becomes mandatory. I dont think there is a way to get rid of this activity.

Regards,

Jai Shankar

Former Member
0 Kudos

Is there a programmatic way to solve this problem? Maybe an ABAP could delete the structure.

Regards,

Thomas

Former Member
0 Kudos

I have done some investigations and found the part in the idx2 where the structure is deleted...

      delete from idxsload where port    eq i_idxsload-port
                           and   idoctyp eq i_idxsload-idoctyp
                           and   cimtyp  eq i_idxsload-cimtyp.

      delete from idxidocsyn where port    eq i_idxsload-port
                             and   idoctyp eq i_idxsload-idoctyp
                             and   cimtyp  eq i_idxsload-cimtyp.

Do you think it is crazy to write a program which uses this lines of code?

Regards,

Thomas

Answers (3)

Answers (3)

Former Member
0 Kudos

A new structure will be loaded automatically, thats right.

But if the structure changes, it will not be refreshed in the xi.

This leads to the problem, that data of the new structure will be distributed over the the old structure.

To avoid this, I have to delete the old structure. Then the new one is loaded correctly the next time an IDoc is send.

The problem is, that I have to do this at night (because the new structure is transportet in the r/3 at night). Well and this is not really a fun ;o)

Regards,

Thomas

Former Member
0 Kudos

Hi,

IDX2 idoc metadata overview will be automatically loaded at run time there is no need of mannual creation of this. To get rid of it we have no other way out rather than mannual deletion.

<b>

Cheers,

*RAJ*</b>

prateek
Active Contributor
0 Kudos

idx2 step in XI is not mandatory. Data will be loded during the first message flow

Make sure u delete the existing entry of old structure

Regards,

Prateek