2008 Oct 23 7:54 AM
Hi all,
How can we call the selection screen from the second screen.
Can any one help me to solve this problem.
Hi,
This is also not working .Please help me.
2008 Oct 23 7:59 AM
2008 Oct 23 1:51 PM
when i am using leave to screen 0 then it goes to first list not for the selection screen
2008 Oct 23 8:03 AM
hi
use
LEAVE LIST-PROCESSING.
or
CALL SELECTION-SCREEN dynnr.
regards
Satish
2008 Oct 23 1:51 PM
2008 Oct 23 1:58 PM
Hi RJ,
use.....
case sy-ucomm.
WHEN '&F03'.
LEAVE TO SCREEN '0'.
endcase.
in ur code for second screen..
&F03 is f.code for BACK Button.....
Thnx
Rohit
2008 Oct 23 2:19 PM
Hi RJ,
is it working or not..
if yes then close the thread..
Thnx
Rohit
2008 Oct 24 5:20 AM
Hai
It is not working.It is also going to first list not for selection screen
2008 Oct 23 8:11 AM
Hi
try this one...
CALL SELECTION-SCREEN dynnr
[STARTING AT col1 lin1
[ENDING AT col2 lin2]]
[USING SELECTION-SET variant].
Here
... STARTING AT col1 lin1 [ENDING AT col2 lin2] means
With the addition STARTING AT, you create a modal dialog box and the selection screen is displayed in it. The upper left corner of the dialog box is determined by the values in col1 and lin1 for column and row. These values refer to the window with the Pop-up-Level 0. The lower right corner is either set automatically or can be specified in col2 and lin2 after ENDING AT. For col1, lin1, col2 and lin2, data objects of the type i are expected. The values of col1, lin1 should be smaller than col2, lin2; Otherwise the behavior will be undefined.
... USING SELECTION-SET variant means
With the addition USING SELECTION-SET, you populate the parameters and selection criteria of the selection screen with the Variant, specified in variant . The transfer of the values to the respective data objects of the program take place immediately before the event ATSELECTION-SCREEN OUTPUT. For variant, you have to specify a character-type data object which at the execution of the statement contains the name of a variant of the main program in capital letters that was stored for the selection screen. If you specify a non-existing variant or a variant of another selection screen of the main program, then the addition is ignored.
Arunima
2008 Oct 23 8:13 AM
hi radhika
there are two type of selection screen
1)single standard selection screen
2)user-defined selection screens
You can use a single standard selection screen and as many user-defined selection screens as you wish. The standard selection screen is called automatically when you start the program.
User-defined selection screens, on the other hand, are called using the CALL SELECTION-SCREEN statement in a program.
hope it may help you
thanks
Sachin
2008 Oct 24 5:23 AM
2008 Oct 24 5:39 AM
2008 Oct 24 5:41 AM
2008 Oct 24 6:01 AM
Hi,
Yes it is normal Alv. After Grid display screen is called. when u press back button it goes to selection screen but it is not coming .
2008 Oct 29 9:50 AM
HI RJ,
Try .....
case sy-ucomm.
WHEN '&F03'.
LEAVE TO SCREEN '0'.
endcase.
after the FM for grid-display
i m using the same .....
i hav selection-screen..then alv grid screen 1 then again another screen with alv grid display..
bt in my code for first alv grid ...i m using REUSE_ALV_GRID_DISPLAY_LVC
as
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC'
EXPORTING
i_callback_program = sy-repid
i_callback_pf_status_set = 'SET_PF_STATUS'(303)
i_callback_user_command = 'USER_COMMAND'(304)
i_grid_title = 'Reconcilation Report'(305)
is_layout_lvc = it_layout
it_fieldcat_lvc = gt_fieldcat3[]
TABLES
t_outtab = gt_msg[].
here i musing set_pf_status to add one pushbutton to the screen. in ur case u can avoid that...
after that
&----
*& Form set_pf_status
&----
text
----
-->EXTAB text
----
FORM set_pf_status USING extab TYPE slis_t_extab. "#EC NEEDED
SET PF-STATUS 'STANDARD_FULLSCREEN'.
*get back to Selection Screen
case sy-ucomm.
WHEN '&F03'(328).
LEAVE TO SCREEN '0'.
endcase.
ENDFORM. "set_pf_status
its working for me..
Thnx
Rohit...
Edited by: Rohit Kumar on Oct 29, 2008 3:20 PM
2008 Oct 30 5:53 AM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |