Quantcast
Channel: SCN : All Content - Web Dynpro ABAP
Viewing all articles
Browse latest Browse all 3667

Return of URL parameters will change %26 back to &, and hence making the parameter useless

$
0
0

Method IF_HTTP_ENTITY~GET_HEADER_FIELD is called to fetch the URL with passing parameters, below logic executes to fetch it:

 

system-call ict

    did

      ihttp_scid_get_header_field

    parameters

      m_c_msg                            " > c handle

      name                               " > header field name

      value                              " < header field value

      m_last_error.                      " < return code

 

here value parameter fetch the url link, link with special character '&' should fetch with Hex value 26, but its not converting so link is not working,

 

Refer below example:

 

URL: https://XXXXXXXXXXXX/sap/bc/webdynpro/sap/XXXXXXXXXXXXXXX?sap-language=en&component_ty=FIN&component_id=TEST+D%26W+MU

 

for above link result of value parameter in above system-call statement is https://XXXXXXXXXXXX/sap/bc/webdynpro/sap/XXXXXXXXXXXXXXX?sap-language=en&component_ty=FIN&component_id=TEST+D&W+MU

 

D%26W --> D&W, due to this url is not working. does this related to any system setting, please provide your valuable input.

 

Regards,

Debdutta


Viewing all articles
Browse latest Browse all 3667

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>