ENCODE_FOR_URL problem with Slash Character “/”

Hi Experts,

I’m using the ENCODE_FOR_URL function in an “Update Record” node, especially at field “WorkPackageName” as follows:

thanosgkaliouris_2-1732610370336.png

thanosgkaliouris_3-1732610379221.png

In the example, as you can see, everything looks to work properly by replacing both “spaces” with “%20” & “slashes” with “%2F” in my original text: “Senior Java Developer / Scrummaster (WS)”.

However, while accessing this code block from the deployed app I’m getting the following link:

https://hostXXX.launchpad.cfapps.eu10.hana.ondemand.com/buildapps87351.buildapps87351-3.1.3/destinations/S4HC_PROJECT_ODATA_CREATE_UPDATE_1/WorkPackageSet(ProjectID=’C000138M’,WorkPackageID=’C000138M.1.2′,WorkPackageName=’Senior%20Java%20Developer%20/%20Scrummaster%20(WS)’)?%24format=json

As you may see “spaces” have been successfully translated, though the “slash” still remains in its original state as character: WorkPackageName=’Senior%20Java%20Developer%20/%20Scrummaster%20(WS)’.

This subsequently causes me error on updating Work Packages with “Slashes” on this description field.

Do you have any clue why ENCODE_FOR_URL translates selectively special chars?

Many thanks in advance!

Thanos

Scroll to Top