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: 

can we add a menu on the selection screen

Former Member
0 Kudos
125

Hi,

I have a z program and when i execute this program then a selection screen will display on that screen i want to add a menu with create,update and display.

Pls exper help me on this.

send me a code if u have.

thanks!

1 REPLY 1

Former Member
0 Kudos
47

Hi,

use SET PFSTATUS in at selection-screen output.

SELECTION-SCREEN BEGIN OF BLOCK BLK_001.

parameters: p_lifnr type lfa1-lifnr.

SELECTION-SCREEN END OF BLOCK BLK_001.

AT SELECTION-SCREEN OUTPUT.

SET PF-STATUS 'PFST'.

AT SELECTION-SCREEN.

CASE SY-UCOMM.

WHEN 'MENU1'.

message i184(bctrain) with 'YAY its working'.

ENDCASE.

Regards,

Omkar.