cancel
Showing results for 
Search instead for 
Did you mean: 

Suspend Plug Problem

Former Member
0 Kudos

Hi,

I'm trying to use suspend&resume plugs in a WDA application to call an external ITS Service and then to go back to my application by clicking BACK button in the browser.

the url that I try to call is

http://zzzzz:1111/sap/bc/gui/sap/its/BBPMAININT/?sap-client=xxx&sap-language=EN&TMP_P1_1=K02214&~OkCode=GPDP

i always get an error that '~' sign is not allowed....

I can omit it at sap-clientand sap-language parameters, but it's mandantory to use it before OkCode parameter.

B.T.W. it works fine then using an exit plug....

any ideas?

Accepted Solutions (0)

Answers (1)

Answers (1)

mohammed_anzys
Contributor
0 Kudos

Hi

Do html encode and send it

Thanks

Anzy

Former Member
0 Kudos

Hi Mohammed,

can you please explain how to use an html encode in a bit more details?

I've never used an html encode before...

Now I got what you mean...it seems to be not an easy task....)

Message was edited by:

Zakhar Kvasov

Former Member
0 Kudos

I tryied to substitute the '~' with %7 but I got the following error again:

The Name %7esap-client Contains Invalid Characters. Valid Characters Are A-Z, 0-9, _, and /

mohammed_anzys
Contributor
0 Kudos

Hi

You can this following before navigating, and call the escaped URL.

CALL METHOD CL_HTTP_SERVER=>ESCAPE_URL

EXPORTING

UNESCAPED = lv_dse_url1

RECEIVING

ESCAPED = lv_dse_url1.

Thanks

Anzy

Award points if this solves your problem

Former Member
0 Kudos

unfortunately it didn't work...

I get the same error.....