cancel
Showing results for 
Search instead for 
Did you mean: 

SAP CAP Java: How to handle changes in data model? / how is CAP supporting these Tasks?

VoJu
Participant
0 Kudos
106

Hello together,

how is it possible to change the database structure from an existing CAP project (change data types, add or remove fields).

E.g.:

Existing entity has firstname and lastname.

entity BusinessPartner {
  key ID: UUID;
  firstname: String(100);
  lastname: String(100);
}

Now the requirement is to merge these fields.

entity BusinessPartner {
  key ID: UUID;
  name: String(200);
}

How is CAP supporting these task or what would be the best approach? In ABAP world we have database utility (transaction SE14) has CAP something similar?

Thanks and best regards,

Julian

SAP Cloud Application Programming Model 

View Entire Topic
patricebender
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

we support automatic schema evolution for all our databases, please have a look at our documentation.

BR
Patrice