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: 

standard menu in module pool.....take ur points.

Former Member
0 Kudos
126

Hi all,

I want to use standard menu in my Module pool program. Pleas tell me the way for that?

I tried in SE41 by copying status from SAPLKKBL, menu is should but <b>buttons are not working</b>.

Pleas help me.

<b>Have ur points.</b>

Regards,

1 ACCEPTED SOLUTION

Former Member
0 Kudos
65

I assume u have copied the PF STATUS and used SET PF-STATUS in the PBO of the screen.

Now in the menu painter - u can view the Function Codes attached to each and every ICON/Button. In the PAI of the screen - u can handle the User commands.

data : fcode TYPE SY-UCOMM.

CASE FCODE.

WHEN 'BACK'.

.....

WHEN 'CANC'.

....

ENDCASE.

In the Screen painter attach this variable FCODE to the OK code ( Go to Element list tab).

This will solve ur problem.

1 REPLY 1

Former Member
0 Kudos
66

I assume u have copied the PF STATUS and used SET PF-STATUS in the PBO of the screen.

Now in the menu painter - u can view the Function Codes attached to each and every ICON/Button. In the PAI of the screen - u can handle the User commands.

data : fcode TYPE SY-UCOMM.

CASE FCODE.

WHEN 'BACK'.

.....

WHEN 'CANC'.

....

ENDCASE.

In the Screen painter attach this variable FCODE to the OK code ( Go to Element list tab).

This will solve ur problem.