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

PUSH Button in Selection Screen

Former Member
0 Likes
594

How can we place a PUSH button in the selection screen

Thanks

3 REPLIES 3
Read only

P507709
Participant
0 Likes
513

Hi,

U can use table:sscrfields to get push button. or goto se41 and create and add u r function code for button.

Bye.

Read only

Former Member
0 Likes
513

Hi,

You can create the following on selection screen:

Example :

TABLES SSCRFIELDS.

...

SELECTION-SCREEN PUSHBUTTON /10(20) CHARLY USER-COMMAND ABCD.

...

INITIALIZATION.

MOVE 'My text' TO CHARLY.

...

AT SELECTION-SCREEN.

IF SSCRFIELDS-UCOMM = 'ABCD'.

...

ENDIF.

A pushbutton appears on the selection screen with the text 'My text'. In the AT SELECTION-SCREEN event, the field SSCRFIELDS-UCOMM has the contents ABCD after the button has been pushed.

For more info refer SAP help(F1):

Reward if useful

Regards

Shiva

Read only

Former Member
0 Likes
513

Hi Narendra,

Using T-code SE51 ...give ur prg name and declare some screen number to that prg...then click change.

There you can see Layout push button ...drag and drop a Push button ..and use that FM ..in prog with AT USER COMMAND thats it ...

You wil see Push button in Selection Screen..

Regards,

sg.