cancel
Showing results for 
Search instead for 
Did you mean: 

Automation Of IDoc Metadata Deletion / Refresh In NWA

nacnick
Discoverer
0 Kudos
162

Dear SAP Community!
There is a need in my team to automate the process of IDoc Metadata Deletion / Refresh in SAP PO nwa.
Do you know any way to do so? - Maybe with an Integration scenario / REST adapter / Python script.
Meanwhile we do it manually through - NWA -> SOA -> Monitoring -> IDoc Adapter Monitor -> Metadata Monitor -> and then you choose Delete / Reload to the IDoc Type you want.
We use SAP Netweaver 7.5 and our SAP PO is single java stack.

Thank you in advance!!
We'll be very happy for a solution 🙂

View Entire Topic
helmut_skolaut3
Active Participant
0 Kudos

I am knowing very well this problem. But maybe to understand the concept of SAP with IDOC and Extension Types:

Once you have released a type, you normally never unrelease it - if you are doing an innovation, you supposed to inherit to a new version where you add additional fields. (that's why we have ORDERS01, ORDERS02, ..ORDERS05 ...) 

However, everybody knows the disadvantage - if you create a new type, you have to adjust the Operational mapping - usually you also have to adjust the MM or XSLT mapping accordingly and the ICO. This is causing much more regression testing than probably adding one missing field to an existing type. 

But IMO this is the only reason why you should unload/delete the Meta data - as only if you are adjusting the schema it will cause issues (new field disappears when IDOC-XML is converted into IDOC native). 

Advised is to transport the change of the IDOC in ABAP backend before you are going live with your change. So you can remove after the import into production the meta data and let it reload then with next occurrence.

BR Helmut