Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

URL encoding in ABAP

0 Kudos

Hi all,

do you know an ABAP function to encode a string to pass in an url so that to get "http%253A%252F%252Fsap.com%252Fxi%252FAP%252FCRM%252FGlobal"

I'm passing dynamicParameter via an URL from an ABAP to a Java WD appli. They are automatically decoded on java side, but I need to encode them on ABAP side.

Thanks and regards,

Marie-Pierre

2 REPLIES 2

0 Kudos

CL_HTTP_UTILITY=>IF_HTTP_UTILITY~ESCAPE_URL( string ) is the solution

Former Member
0 Kudos

Hi,

there is new function in ABAP for escaping characters in different formats, including URL/URI.

Peter