on 12-22-2011 5:01 AM
Hi, In WD4A I have a ALV.
I create a few views in Admin mode.
Now I want the user to click on a button en then a must be able to open a view with code depends on the button selected.
Eg Button1 = View1 and Button 2 - View2
Regards
Maybe my question is not clear.
I created 2 VIEW in WDA ALV in mode (sap-config-mode=x) so that the view are available to all users . Say view1 and view2 (In normal abap this view are called variants.
The default view is [Standard View].
Now i know how to call ABAP dynpro views but need to now how to called ALV VARIANT views with code
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Yes, I remember that I have answered the same requirement in one of the threads.
Check this out for my replies to the same -
Personalization ALV -
http://help.sap.com/saphelp_nw04s/helpdata/en/46/b07e0772850761e10000000a114a6b/content.htm
Regards,
Lekha.
Edited by: Lekha on Dec 22, 2011 11:19 AM
Hi, This is very helpfull but I struggle to understand something :
I look at excample : WDR_TEST_CONFIG
and when they call method : WDR_TEST_CONFIG
they are using a key : l_config_key = 'WDR_TEST_TRANSPORT_1'
I lookin TABLE : wdy_conf_usert
and found my records but there is a configuration name and Configuration Variant, so I am not sure how to use them.
Thanks
In the above links that i have provided you have GET_VARIANTS part...after that...from that table we can display our default variant or someting likethat....rest of the code..can you check in debuggin waht that get_varaints retrun you will have an idea..i will definelty provide you the code but it is by tomorrow....as i have already done that earlier..
One thing..oout of these variants which vairants you want to display..so that when you open that ALV only that default one or the one you set it thgourh the code gets displayed...
Otherwise,
control the visibility of the views in button actions.
for visibility use the attribute of type wdui_visiblity
regards
Srinivas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello friend,
Its very simple just create the plugs in each view.
At the output plug fire event, write what the code needs to be executed and also mention which view needs to be triggered.
Likewise do the same for the other view.
For details about how to call view just see this example link below.
http://www.saptechnical.com/Tutorials/WebDynproABAP/views/navigation.htm
After seeing the tutorial if your problem does not resolve revert back to me i will explain you the steps in detail.
Thanks,
Sri Hari
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you be more clear...what views that you are talking about...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.