Quantcast
Channel: SCN : Discussion List - SAP on Oracle
Viewing all articles
Browse latest Browse all 1892

Object Versions invalid after DB actions (table copy)

$
0
0

Hi all,

 

recently I have encountered some weird issues during a little archiving run I'm doing on MM_MATBEL.

 

Tables involved:

 

IMEXT

MKPF

MSEG

MSEGO1

MSEGO2

NAST

OIAQB

 

After the archiving was done I logically went for an online reorg of these tables. This worked for all tables, except for MSEG. The reason was the following:

 

BR1962W Table SAPSR3.MSEG has more than 255 columns

BR1967W Table SAPSR3.MSEG would be implicitly decompressed during reorganization

BR1111I Reorganization of table SAPSR3.MSEG will be skipped

 

So apparently the table had been compressed in the past (when it had less than 255 columns) and now cannot be rebuilt anymore with compression.

 

In the following note they mention a workaround/solution:

 

http://service.sap.com/sap/support/notes/1872983

 

The solution consists of copying the compressed table into a newly created table. After some problems with the script (which will be fixed) and consulting SAP Support I finally succeeded in rebuilding the tables.

 

After this rebuild there are numerous dumps (LOAD_FORMAT_ERROR,  DDIC_TYPE_INCONSISTENCY, LOAD_TYPE_VERSION_MISMATCH, etc...) in SAP itself, rendering the system practically unusable.

 

One workaround is to manually re-activate the object generating the shortdump, this does solve the issue on that object, but that's it.

 

I can hear you think: "Run SGEN, you stupid". Well, I did, and it did not help, or at least not much. It did regenerate some objects, but apparently it's not sufficient.

 

To me it seems like some inconsistency in the Dictionary, caused by the tables that were rebuilt. Is there a way that we can regenerate the Data Dictionary of SAP? Or at least fix the DDL inconsistencies?

 

The tables that I have recreated using note 1872983 are:

 

LIPS

MSEG

VBAP

VBRP

ZEKPO

N2CA02

N2CA03

N2CA04

N2CA05

N2CA09

PA0008

PA0146

PA0701

PA0706

PA0764

PA0897

PB0008

T5ITT7

RSEUMOD

COMPMOVE

WDFR_POS

N3BGF1008

OIUH_RV_JE

OIUH_RV_RJE

TTONFTVZZBEPP

TLVC_DFT_ASSGN

 

If you have any suggestions, I'd love to hear them.

 

Thanks in advance

 

Dieter Waelkens

 

Ps:

 

I've found notes

 

 

http://service.sap.com/sap/support/notes/1567187

 

http://service.sap.com/sap/support/notes/162991

 

 

I'll analyze them and come back with an update

 

Message was edited by: Dieter Waelkens (added notes in the end)


Viewing all articles
Browse latest Browse all 1892

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>