on 01-12-2009 11:41 AM
Hi
I want to pass a URL parameter to a Web Dynpro application to be used in one of the methods.
I have to display data correspoding to a parameter called Message ID which i will pass through the URL parameter. For example if I want to see data on a web page for Message ID:12787987
I should be able to just give:
http://hostname/sap/bc/webdynpro/sap/zab_wdp_bi7_alertmsg2&messageid=12787987
where
zab_wdp_bi7_alertmsg2 is the name of my Web Dynpro application.
I am using text view to display the Message ID deatils from a table..
Please help..
Regards
Sunil Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In your WDA application zab_wdp_bi7_alertmsg2,
1. In parameter tab make entry for parameter say message_id
2. To Read the parameter, Go to the method HANDLEDEFAULT of window.
Call get_string method of import parameter wdevent
DATA lv_id TYPE string.
CALL METHOD wdevent->get_string
EXPORTING
name = 'MESSAGE_ID'
RECEIVING
value = lv_id.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.