Application Development and Automation 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: 
Read only

ABAP system reading the wrong URL

Former Member
0 Likes
711

Hi Experts,

I am calling an application through a URL. The URL is mentioned below:

http://GOLITSAPD17.GO-D01.LOCAL:8001/sap/bc/webdynpro/kgo/ca_entity_mgmt_appl&PARTNER=1001

"PARTNER" attached in the end is a parameter which i am suppose to paas here.

This application has been created in webDynpro ABAP.

Now once I click on a button to call this URL i get an ABAP error given below:

"The url http://GOLITSAPD17.GO-D01.LOCAL:8001/sap/bc/webdynpro/kgo/ca_entity_mgmt_appl_PARTNER=1001"; does not exist. Aaprt from this some ABAP exception is writen below this line.

I noticed that the ampersand(&) was replaced with an underscore(_) in the url which the abap system was trying to read(please check in the above url before PARTNER).

Moreover if I call the application without the parameter "PARTNER" then my application is opening without any errors.

My question here is that why is abap system reading this ampersand as an underscore??? Is there something to be done from ABAP side??? I have an intution that if the system will read the url in the correct form, my application will open sucessfully.

Awaiting a quick response as this issue is delaying my deliveries.

Regards,

Kaustubh

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
672

Hi,

Can you change the url in debugging mode? This way you can verify if it will work or no. Or else try to replace one ampersand with 2 consecutive ampersands for testing.

Best regards,

Kazmi

Hi Experts,

I am calling an application through a URL. The URL is mentioned below:

http://GOLITSAPD17.GO-D01.LOCAL:8001/sap/bc/webdynpro/kgo/ca_entity_mgmt_appl&PARTNER=1001

"PARTNER" attached in the end is a parameter which i am suppose to paas here.

This application has been created in webDynpro ABAP.

Now once I click on a button to call this URL i get an ABAP error given below:

"The url http://GOLITSAPD17.GO-D01.LOCAL:8001/sap/bc/webdynpro/kgo/ca_entity_mgmt_appl_PARTNER=1001"; does not exist. Aaprt from this some ABAP exception is writen below this line.

I noticed that the ampersand(&) was replaced with an underscore(_) in the url which the abap system was trying to read(please check in the above url before PARTNER).

Moreover if I call the application without the parameter "PARTNER" then my application is opening without any errors.

My question here is that why is abap system reading this ampersand as an underscore??? Is there something to be done from ABAP side??? I have an intution that if the system will read the url in the correct form, my application will open sucessfully.

Awaiting a quick response as this issue is delaying my deliveries.

Regards,

Kaustubh

3 REPLIES 3
Read only

Former Member
0 Likes
673

Hi,

Can you change the url in debugging mode? This way you can verify if it will work or no. Or else try to replace one ampersand with 2 consecutive ampersands for testing.

Best regards,

Kazmi

Read only

guilherme_frisoni
Contributor
0 Likes
672

Hi,

instead of "&" shouldn't be "?".

Regards,

Frisoni

Read only

Former Member
0 Likes
672

Any URL shouold always be terminated with a "?" before appending any parameters to it. Sometimes u get this "?" by default in the URL. But if it is not there then put a "?" n then append parameters seperated with "&".

Best regards

KM