Skip to Content
0
Sep 11, 2023 at 11:59 AM

CAP Project Segregation of functionalities

221 Views Last edit Sep 11, 2023 at 01:55 PM 3 rev

Hi,

In a SAP CAP application, there are multiple functionalities linked to multiple small WRICEFs which are interrelated as well.

For simplicity of having to access data model resources and services across functionalities they are being implemented in same CAP project.

Current structure -

1. db > one schema.cds

2. Majority of the functionalities are here - srv > one service.cds

service.js along with multiple hander files under srv>lib

3. app > one Fiori application

What is SAP s recommendation of structuring multiple functionalities at service layer considering there will be couple of batch calls for huge data at service layer to external APIs.

Is allocating sufficient memory to the service application the solution or any other solution of segregating these functionalities at service layer, suggestions please.

Regards,

Vipin.