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

Formatting URI by removing unnecessary special characters and spaces

$
0
0

Hi Gurus,

i am a question. it might sound silly but it would be useful for me if somebody would help me.

The actual URI is

/sap/opu/odata/sap/xservice/GetJobdetailsSet?$filter=IvUrl eq '/yservice/ActivitySet?$filter=TechnicianID eq '1800915002' and ActivityDate eq datetime'2016-04-28T00:00:00'` && `&$expand=ServiceOrderHeader/SparePartSet,ServiceOrderHeader/ServiceItemSet,ServiceOrderHeader/IObject,` &&    `ServiceOrderHeader/CategorizationSet,ServiceOrderHeader/AppointmentSet,` && `ServiceOrderHeader/AppointmentSet/InvolvedPartySet/BusinessPartner,` && `ServiceOrderHeader/InvolvedPartySet/BusinessPartner/AddressSet,` &&`ServiceOrderHeader/InvolvedPartySet/BusinessPartner/PhoneNumberSet,ServiceOrderHeader/AttachmentSet,` &&`ServiceOrderHeader/AppointmentSet/InvolvedPartySet/BusinessPartner/AddressSet,` &&`ServiceOrderHeader/AppointmentSet/InvolvedPartySet/BusinessPartner/PhoneNumberSet&$format=json'



After formatting i got the below

 

/sap/opu/odata/sap/xservice/GetJobdetailsSet?$filter=IvUrl%20eq%20%27/yservice/ActivitySet?$filter=TechnicianID%20eq%20:1800915002:%20and%20ActivityDate%20eq%20datetime:2016-04-28T00:00:00:%20&&%20:&$expand=ServiceOrderHeader/SparePartSet,ServiceOrderHeader/ServiceItemSet,ServiceOrderHeader/IObject,:%20&&%20:ServiceOrderHeader/CategorizationSet,ServiceOrderHeader/AppointmentSet,:%20&&%20:ServiceOrderHeader/AppointmentSet/InvolvedPartySet/BusinessPartner,:%20&&%20:ServiceOrderHeader/InvolvedPartySet/BusinessPartner/AddressSet,:%20&&%20:ServiceOrderHeader/InvolvedPartySet/BusinessPartner/PhoneNumberSet,ServiceOrderHeader/AttachmentSet,:%20&&%20:ServiceOrderHeader/AppointmentSet/InvolvedPartySet/BusinessPartner/AddressSet,:%20&&%20:ServiceOrderHeader/AppointmentSet/InvolvedPartySet/BusinessPartner/PhoneNumberSet&$format=json

 

It is not working and let me know what needs to be done.

Waiting for your positive response.

The requirement is like this , calling one gateway service is from another.

Let me know if you need any more details.

Regards

S.Janagar


Viewing all articles
Browse latest Browse all 2823

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>