on 10-15-2008 4:54 AM
Hi experts,I Have a WD Apllication in which I have created three Views initial,processing,thanks.
I want to check up in initial view that if user is present in our database than only thanks view should fire.If user is not present in database than processing Iview should fire. And I want that Initial view should contain nothing no UI and it should on start of application check the database and do the concern. So can u help me what should I do...u some code extract..''
Thanks in Advance
'Venkat'
Hi,
I assume that there is no UI in the Initital View but for the checking of the user we need to write the code to validate the user.
Please try this way - There is always an Empty view is there by defalut with the component/application.
Please cehck the usage of the EMPTY view or design the Iview for Intitial and write the code in the hook methods or handlers if required.
Here based on the user validation -
select uname..... from table ..... (Query to validate user)
if sy-subrc eq 0 (If User is found)
wdnavgitaion->fireplug for the Thanks view
else.
wdnavgitaion->fireplug for the Processing view
endif.
Regards
Lekha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
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.