ODATA - Where to set the Header
I have created a Odata service. It is working in browser.
However, It is not accessed from the Jquery Ajax
It is adviced that to include a
ls_header-name = 'Access-Control-Allow-Origin'.
ls_header-value = '<server>:<port>'.
/iwbep/if_mgw_conv_srv_runtime~set_header( ls_header ).
But, I am confused in which method I should add it.
Can Someone help me
My Class name
My mehtod for entityt set GLLISTSET_GET_ENTITYSET
do i need to add it inthis method?