Quantcast
Channel: SCN : Unanswered Discussions - ABAP for SAP HANA
Viewing all articles
Browse latest Browse all 613

Try to remove append structure but blocked by CDS view dictornary objects

$
0
0

Hi Experts,

 

I’m currently busy with a new project where we moved our existing ECC (SAP Retail) system from a Oracle database to a SAP HANA Primary database. Nobody on our team are very familiar with the SAP HANA database or the new functionality. We are all learning as we go.

 

One of our requirements are to rip out some of our custom code. While doing that I came across a problem that I don’t know how to solve and I was wondering if there are someone out there that might have a solution.

 

We are currently on ECC 6, Release 7.4 Service Pack 12

 

One of the objects I had to remove was an append structure to table RSEG.  The append structure consisted of only one zz field.

 

I did a where use on the append structure. It was not used.

I did a where use on the actual field within the append structure.  It was still not used.

 

I deleted the append structure in SE11.  It did not complain about being used anywhere.  It then tried to adjust the database table RSEG, but could not activate the changes because it encountered some errors.  It said it was used in 2 SAP standard CDS Views.

 

The exact message was: ‘Field RSEG-ZZSIN is still being used as a view field in view CDS_IV_ITEMS’

 

The 2 SAP Standard CDS views (DDL Source) are:

• CDS_IV_ITEMS

• CDS_IV_ITEMS_P

 

Both CDS views (DDL source) are using the RSEG table as the main table and have multiple associations(joins) to other tables, but the field is not specified, in other words it is a Select *.

 

I believe this is a chicken and egg situation.  DDL source is activated and it then generates a Dictionary object in SE11 using table RSEG as base.  Database table RSEG cannot fix the database because it sees 2 dictionary objects that are using the field.

 

So my question is, how to I fix it?

How do I get RSEG table sorted out and then re-generates the DDL source / CDS View Dictionary object?

 

Are there a new Transaction code that I should use?

Are you aware of any OSS notes that will fix this?.

 

Any suggestions will be most welcome.

 

Kind Regards,

Sanet Pienaar


Viewing all articles
Browse latest Browse all 613

Trending Articles



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