on 05-19-2004 3:30 PM
Hello Experts-
How can I pass/read parameters via the Querystring through/of a BSP page with flow logic?
In my application, I need to set up an access page that is passed a certain parameter via the Querystring and based on that parameter that page performs certain action.
Thank you,
- Vik.
Hi all->
To read QueryString parameters, one can write BSP code similar to the following:
-
Code Start -
Data: PickListRequested type String.
PickListRequested = REQUEST->GET_HEADER_FIELD( name = '~query_string' ).
-
Code End -
In the BSP model, the 'Request' object is extended by the 'Entity' interface. In this interface, the method GET_HEADER_FIELD can be called with the value '' in the requisite name field. In this case, this method returns the entire query string from the URL and that can be saved into a string for further actions such as splitting.
Hope this helps.
- Vik.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.