cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Gateway : How to Custom http response headers

aditya_karanth2
Discoverer
0 Kudos

Hi,

How do we set custom http reponse headers from SAP gateway service? Say a function import?

Regards,

Aditya.

gregorw
Active Contributor
0 Kudos

Can you describe first why you need a custom header? What is your usecase?

Accepted Solutions (0)

Answers (2)

Answers (2)

venkateswaran_k
Active Contributor
0 Kudos

Hi Aditya

Instead you can do in this way

1. In your entity type model - add another field workflow id.

2. In the Create method once the workflow is created, update the property with workflow id

3. So in the response of the request, this will get back in the model autoatically which you can display.

I am using the same way. Return the document number getting created

Regards,

Venkat

doerntge
Member
0 Kudos

We have the same problem. The use case is:

  • CREATE request needs approval first, System creates approval workflow and wants to return workflow ID instead of created node