Application Development and Automation 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: 
Read only

Add a button in report selection screen

Former Member
0 Likes
659

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.

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
Read only

gerd_rother
Active Participant
0 Likes
597

Hi,

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

Regards, Gerd Rother

Read only

0 Likes
597

Here's th docu link:

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

Regards,

Clemens

Read only

0 Likes
597

Hi all,

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