Skip to Content
0
May 23, 2010 at 01:05 PM

Add a button in report selection screen

40 Views

Hi Experts,

I want to add a userdefined button in report selection screen....so far i have written code like this,...

TABLES : sscrfields.

SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-010.

PARAMETERS: P_ID LIKE ZBAPITABLE-ID,

P_NM LIKE ZBAPITABLE-NAME.

SELECTION-SCREEN END OF BLOCK B1.

SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-020.

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN COMMENT (11) TEXT-001 FOR FIELD R1.

PARAMETERS: R1 RADIOBUTTON GROUP G1.

SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN COMMENT (10) TEXT-002 FOR FIELD R1.

PARAMETERS: R2 RADIOBUTTON GROUP G1.

SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN COMMENT (10) TEXT-003 FOR FIELD R1.

PARAMETERS: R3 RADIOBUTTON GROUP G1.

SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN COMMENT (10) TEXT-004 FOR FIELD R1.

PARAMETERS: R4 RADIOBUTTON GROUP G1.

SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN END OF BLOCK B2.

SELECTION-SCREEN: FUNCTION KEY 1.

MOVE 'SAVE' TO sscrfields-functxt_01.

If i use code like this button was added in application tool bar

but in my selection screen i have two blocks ....in first block i have input fields, and in second there is set of radio buttons...Just below that i want to put one button ....how it is possible...

can anyone plz help me?

Regards,

veena.