06-16-2008 3:51 PM
I am using screen painter to create two buttons
'classical' and 'alv'.
When i click the first button control should move to
corresponding classical program.Evan i got the answer
I am not able to display the "select-options button" in the
output as in classical report program.
It displays all records instead of selecting particular records from select-option button.
So how to display the select option button(i.e in the classical view program) while "clicking the classical button " .
plz send me the coding....
06-16-2008 3:56 PM
hi,
try this.
SELECTION-SCREEN BEGIN OF SCREEN 100.
SELECT-OPTIONS : EBELN FOR V_EBELN MODIF ID G1,
VBELN FOR V_VBELN MODIF ID G2.
SELECTION-SCREEN END OF SCREEN 100 .
PAI.
module mod_name.
case sy-ucomm.
when 'BUTT!'.
call selection-screen 100.
when 'BUTT2'.
""""your ALV logic"""".
endcase.
endmodule.
if...any doubts revert back.
Regards
Sandeep Reddy
06-16-2008 3:56 PM
hi,
try this.
SELECTION-SCREEN BEGIN OF SCREEN 100.
SELECT-OPTIONS : EBELN FOR V_EBELN MODIF ID G1,
VBELN FOR V_VBELN MODIF ID G2.
SELECTION-SCREEN END OF SCREEN 100 .
PAI.
module mod_name.
case sy-ucomm.
when 'BUTT!'.
call selection-screen 100.
when 'BUTT2'.
""""your ALV logic"""".
endcase.
endmodule.
if...any doubts revert back.
Regards
Sandeep Reddy
06-16-2008 3:57 PM
HOw did you write your coding?
Did you just use SUBMIT Statement?
YOu should use the
submit <report> via selection-screen and return.
Regards,
Ravi
06-16-2008 4:18 PM
Suggestion:
keep 2 radio buttons on the selection screen and give the user an option to select classical or ALV.
you will have a problem when u put 2 buttons.
to have 2 buttons u need to display basic list.
when u keep a button on classical list and display AVL grid.
you cannot handel 'back' function form grid to list even then so time it may work but u will not get the grid again from clasical report..
06-16-2008 4:29 PM