cancel
Showing results for 
Search instead for 
Did you mean: 

SAP RAP Generic API

09-17-2023 3:49 PM
karthikasambu Discoverer
692 views 2 comments
0 Likes
SAP Managed Tags
Subscribe

Hi Experts,

I am working on building a generic API using RAP framework. I have built a custom entity with 3 fields, interface_id, input(type rawstring), output(type rawstring). Implemented the 'Create method' of the Behavior Implementation Class to handle the processing of the input message, once the input is processed, i want to set the output element with the appropriate response. In my scenario there will not any underlying table for this CDS and Query provider Class is not implemented. Now i am stuck in the final step where i want to set the field output with the response in the 'Create Method'. While testing in Postman will pass 'interface_id' & 'input' as the request structure and Postman Response should have values for 'interface_id' , 'input' and 'output'. How can i achieve this ?

0 Likes

Accepted Solutions (0)

Answers (1)

Answers (1)

karthikasambu
Discoverer
0 Likes

Hi jun.wu5,

Is this a limitation with SAP RAP framework?

Regards,

Karthikeyan K

andre fischer ramjee korada