ā2013 Aug 28 7:51 AM
Dear All,
I am calling an External Servelet by preparing its URL from SAP server so as to hit another External server.
For this, I am using
CALL METHOD cl_http_client=>create_by_url
For e.g.
CONCATENATE 'http://' crep_http-http_serv ':' crep_http-http_port 'Servlet/servlet/Servlet?AppServerType=' apptype '&AppServerIP=' appip '&AppServerPort=' appport INTO p_host.
However when i check my Logs of Servlet, I have found that Servlet is receving IP as
127%2e0%2e0&2e1 instead of 127.0.0.1
Similarily Document Name as test&2epdf instead of test.pdf
In all, SAP is sending . in Encoded format.
Can anyone tell me what all settings need to be maintained so as to avoid the above issue and dot should go as dot only
ā2013 Aug 28 7:59 AM
Hi,
Try this method
CL_HTTP_CLIENT=>ESCAPE_URL( p_host )
Regads,
Praveen
ā2013 Aug 28 8:05 AM
Hi Can you tell me Why One SAP Server when prepares URL sends in a correct format i.e.
127.0.0.1 is going as 127.0.0.1
but another SAP Server is not working same way. There I am receiving
127%2e0%2e0&2e1 instead of 127.0.0.1
Similarly with Document Name also
ā2013 Aug 28 11:06 AM
Hi Suruchi,
we are getting these ip address and port number from constant variables. you can ask your basis people they may know about these settings in ICM.
Regards,
Praveen
ā2013 Aug 28 11:06 AM
Hi Suruchi,
we are getting these ip address and port number from constant variables. you can ask your basis people they may know about these settings in ICM.
Regards,
Praveen
ā2013 Aug 28 11:06 AM
Hi Suruchi,
we are getting these ip address and port number from constant variables. you can ask your basis people they may know about these settings in ICM.
Regards,
Praveen
ā2013 Aug 28 11:06 AM
Hi Suruchi,
we are getting these ip address and port number from constant variables. you can ask your basis people they may know about these settings in ICM.
Regards,
Praveen
ā2013 Aug 28 12:05 PM
Thanks for the update. Any Idea what are those ICM Settings since we dont have BASIS Consultant.