Client has an requirement where PO attachment is encrypted in ABAP backend system. This attachment need to be passed to HCP application automatically once attachment is uploaded to abap system. From HCP system a external rest service needs to be called and attachment has to be sent to that rest service via HCP.
I have few questions related to this process now!
Note:- This process happens without user interactions
1. When attachment generated in abap system how can i run xsjs application with passing attachment in header parameters.
2. xsjs application should run without invoking browser tab.
3. xsjs then should pass the attachment in header of external rest api and make call to external rest service by sending attachment in headers.
A example of process is shown below
