cancel
Showing results for 
Search instead for 
Did you mean: 

Selection Screen in Web Dynpro Application

Former Member
0 Kudos

Hi,

I have to develop one application, in which I need to create first view as Selection Screen and second as result screen,

Please advise how to create selection screen in ABAP web dynpro?

Thanks!

Piyush

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

resolved

Former Member
0 Kudos

Hi

To use selection screen in your application

1.you need to use the Std component wdr_select_options and embed it into our webdynpro component

2.instantiate the Used component in WDDOINIT() method of first view by using code wizard

3.Call the used component interface controlller method init_selection_screen().

4.After call the methods of standard interface IF_WD_SELECT_OPTIONS i.e.,Add_selection_method()

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c09fec07-0dab-2a10-dbbe-c9a26bdff...

Thanks and Regards

Tulasi Palnati

Former Member
0 Kudos

you need to use WDR_SELECT_OPTIONS to create selection screen

Thanks

Bala Duvvuri

Former Member
0 Kudos

I am not sure whether your requirement is like this or not:

(1).In 1st screen, there are a few input fields which you can input the value as what you want.

(2). After you input your data, you press "Enter" or press the Button(if in your view there is one button), then 2nd screen will be displayed to show the result, which is retrieved from DB using the selection/Condition in 1st screen.

This is just simple in WD4A.

A little summary:

(1).In 1st view, you can bind your input fields with the context.

(2).In the "Enter" event or "Button" action, you can "Fire the outbound plug" which is navigated to the "Inbound plug" of 2nd view

(3).In the "WDDOINT" of 2nd view, you can use the 1st-view's Context(You can declare the context in component controller, and map it in 1st and 2nd views), then Retrieve data from DB or other places.

I think, you can take a reference to the Document "Net 310", which is the standard course of WD4A.

Goodluck.Best wishes!