Skip to Content

How to read parameters from request object

We want to read parameters from GET request

but whenever we are calling GET_URI_PARAMETER from the REQUEST we don't see any results

url is like

http://coevi116.wdf.sap.corp:8000/sap(bD1lbiZjPTEwMA==)/bc/bsp/sap/z_test_json/jsontest.htm?PARAM=ABC

But reading PARAM is not givng value of ABC

onCreate and onRequest wherever we put the code it is not reading the value

Can anyone please help and share some expert opinion

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Dec 04, 2011 at 05:28 AM

    in jsontest.htm page create a page attribute named "PARAM" with auto check box checked and check in oninitialization, this will carry the value passed to param from url.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 05, 2011 at 12:14 PM

    did you try request->get_form_field( ) ?

    regards,

    Stefan.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.