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: 

Adding Button with execute button.

Former Member
0 Kudos

Hi Experts,

It is possible to add a button with execute button. IF yes how it is possible.

Regards,

Rahul.

1 ACCEPTED SOLUTION

Former Member

Hello

Are you looking for this ?


TABLES: sscrfields.

DATA: text(20).

SELECTION-SCREEN FUNCTION KEY 1.

INITIALIZATION.
MOVE 'This is button' TO sscrfields-functxt_01.

AT SELECTION-SCREEN.
IF sy-ucomm = 'FC01'.
  text = 'button pressed'.
  sscrfields-ucomm = 'ONLI'.
ENDIF.

START-OF-SELECTION.
WRITE text.

7 REPLIES 7

Former Member
0 Kudos

Hello,

You can do it from SE41(Menu painter).where you can set status what you want.

Thanks.

Ramya.

Former Member

Hello

Are you looking for this ?


TABLES: sscrfields.

DATA: text(20).

SELECTION-SCREEN FUNCTION KEY 1.

INITIALIZATION.
MOVE 'This is button' TO sscrfields-functxt_01.

AT SELECTION-SCREEN.
IF sy-ucomm = 'FC01'.
  text = 'button pressed'.
  sscrfields-ucomm = 'ONLI'.
ENDIF.

START-OF-SELECTION.
WRITE text.

0 Kudos

HI ,

My requirement is that I want one push button by the side of excecute button.When we press f8 on the report, i want to add one more button with the execute button.

Regards,

Rahul.

0 Kudos

HI rahul,

Do these step -

1. define

TABLES : sscrfields.

2.write this before the selection screen

selection-screen function key 1.

3.

INITIALIZATION.

sscrfields-functxt_01 = 'Test'.

4.

AT SELECTION-SCREEN.

IF sscrfields-ucomm EQ 'FC01'. " this is the user command for this button

ENDIF.

Regards,

Madhukar Shetty

0 Kudos

Search in SDN before posting. You can find the below thread for the same purpose

Former Member
0 Kudos

HI Rahul,

You can do using structure SSCRFIELDS.

You can put 5 push buttons on application tool bar using this.

Regards,

Pravin

arpit_shah
Contributor
0 Kudos

Hi,

You want execute button inside report or on selection screen?

If you have to add in inside report then

you have to create pf-status using SE41.

Copy the standard GUI status of program SAPLKKBL to your program, and modify as per your requirement.

Regards,

Arpit