cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

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

VoJu
Participant
0 Likes
953

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 

Accepted Solutions (0)

Answers (1)

Answers (1)

patricebender
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi,

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

BR
Patrice