cancel
Showing results for 
Search instead for 
Did you mean: 

Calling a Wd view from Another View

Former Member
0 Kudos

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'

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

Thanx

Answers (0)