Quantcast
Channel: SCN : All Content - SAP Gateway
Viewing all articles
Browse latest Browse all 2823

How to add header to odata service on SAP UI5 code

$
0
0

Hi,

 

I'm working on following odata service:

 

https://10.49.78.69:8083/gateway/odata/SAP/SOA_LOGIN_GET_DATA;v=1/InspectionSet

 

now this service runs only when following four headers are defined.

 

InterfaceIDADFCA_CRM_SBL_023
LanguageTypeENU / ARA
UserNameSHEENAR
PasswordSheenar#123

 

I have tried using filters as follows but no success.

 

 

 

https://10.49.78.69:8083/gateway/odata/SAP/SOA_LOGIN_GET_DATA;v=1/InspectionSet?$filter=UserName eq 'SHEENAR' and Password eq 'Sheenar#123' and InterfaceID eq 'ADFCA_CRM_SBL_023' and LanguageType eq 'ENU'

 

 

Guess headers have to be declared specifically.

 

Kindly suggest how these headers can be written while setting data to model in sap ui5.

 

Regards,

Shalini Mathur


Viewing all articles
Browse latest Browse all 2823

Trending Articles