Quantcast
Channel: SCN: Message List - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 8968

How to manage HDBDD changes

$
0
0

Hi Friends.

 

First Time Table Creation – with 1 Key

namespace sem_ops.SEM_OPS_CDS;

@Schema:'SEM_EDM'

context ZTBD_TEST_HDBDD {

type SString :String(40);

 

@Catalog.tableType:#COLUMN

Entity Details {

KeyPERS_NO:String(10);

  FIRSTNAME :SString;

};

};

 

 

 

Second Time Table Creation – Trying to delete the table

namespace sem_ops.SEM_OPS_CDS;

@Schema:'SEM_EDM'

context ZTBD_TEST_HDBDD {

type SString :String(40);

 

@Catalog.tableType:#COLUMN

Entity Details {

KeyPERS_NO:String(10);

Key FIRSTNAME :SString;

};

};

 

 

Error while changing table defn using HDBDD.png

 

 

As per SAP we need to drop and recreate so my to delete I then edit the hdbdd file as follows

 

namespace apple.gbi.sem_ops.SEM_OPS_CDS;

@Schema:'SEM_EDM'

context ZTBD_TEST_HDBDD {

type SString :String(40);

};

 

Third Time Table Creation – Trying to recreate with more keys

namespace apple.gbi.sem_ops.SEM_OPS_CDS;

@Schema:'SEM_EDM'

context ZTBD_TEST_HDBDD {

type SString :String(40);

 

@Catalog.tableType:#COLUMN

Entity Details {

Key PERS_NO :String(10);

Key FIRSTNAME :SString;

};

};

 

The above scenario works good if you are in development stage and this is happening in Dev.

 

Now lets assume after Step 1 things have moved to production .

 

For my step 2 and step 3  - I am editing the same hdbdd file. Do I  need do step 2 and bundle it in a delivery unit and release it and then do step 3 and then bundle and move it. Is the concept similar to transport where deletion and creation should be different transports.


Regards

Poonam


Viewing all articles
Browse latest Browse all 8968

Trending Articles



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