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

Unable to add SAP Standard URI conventions for Remote external service in SAP CAP

Omkar_Ghadashi
Explorer
0 Likes
185

Hi Experts,

I am attempting to add custom headers when updating records in the SAP On-premise system using the SAP release API [ Batch Call ] from the SAP Business Acceleration HUB as the external service in my SAP CAP application. Specifically, I want to include the header sap-statistics=true for performance analysis. I have tried adding it in the JavaScript handler for the srv.on('PATCH') event, but I have not been successful. Could you please assist me?

sample :

srv.on('UPDATE', 'MaintenanceOrderApi', req => ZAPI_MAINTENANCEORDER.run(req.query));

Regards,

Omkar

Accepted Solutions (0)

Answers (0)