on 10-26-2009 4:02 PM
Hi,
I have an entrance screen to a WebDynpro Component on which the user has to enter a value for an input field and select one of the processing modes( Create, Delete, Change) for this object. There are some input checks and some data are filled for the second screen when the user fills in the input field and presses one of the buttons on the screen. Now i want to open this functionality with an API to a SAPGUI based application and I would like to skip the first screen when the user gives the value of the input field and the processing mode(Display, Create or Change) on the screen. Is it possible to program a kind of CALL TRANSACTION ... SKIP FIRST SCREEN with WebDynpro applications and navigate to the second screen automatically with triggering the filling of data and checks on first screen with displayigng it?Thanks.
Regards,
Sukru
Hello Sukru,
You could maintain another window where you could rearrange the views including skipping view1 and directly you could open view2.
You now have two windows catering to both the scenarios and you could associate two different webdynpro applications with two different windows.
The above approach is done at design time, you could definitely go for the runtime approach where you maintain some code in the rendering of the first view but it would be poor in performance comparatively.
Regards
Anurag Chopra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
It is possible.
I have some parameters in the at the WD application level. In the WDDOINIT of the view, im using these parameters based on
these values i'm skipping the 1st view and going to 2nd view directly.
In my 1st view, I have a input field and some button with an action to it.
for ex:
i read application parameter into some variable lv_var.
and EXECUTE is the action attached to the button where im firin my plug to second view.
lv_var = wdr_task=>client_window->get_parameter( 'VAR' ).
if lv_var eq 'X'. "Skip screen
***Set the values to the Input field here
CREATE OBJECT lref_event
EXPORTING
name = 'EXECUTE'.
wd_this->ONACTIONEXECUTE( wdevent = lref_event ).
ENDIF.
endif.
In the button handler, i have my coding....
Hope this is clear.
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 |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
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.