Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Add a button in report selection screen

former_member670836
Participant
0 Kudos

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.

3 REPLIES 3

gerd_rother
Active Participant
0 Kudos

Hi,

I think you are looking for 'selection-screen pushbutton'. Please read this documentation.

Regards, Gerd Rother

0 Kudos

Here's th docu link:

[Pushbuttons on the Selection Screen|http://help.sap.com/saphelp_nw70/helpdata/en/9f/dba81635c111d1829f0000e829fbfe/frameset.htm]

Regards,

Clemens

0 Kudos

Hi all,

ThanQ for giving help...i got solution...