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

module pool

Former Member
0 Likes
527

hi to all

iam new to module pool i devolped a screena nd i want to place application bar and function keys such as save enter etc where we need to define and where particular code needs to be written

thanks in advance,

kiran kumar.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
476

In PBO output form,just define an status as

SET PF-STATUS 'ZSTATUS'.

1. Click on the ZSTATUS and will ask for an description

for ur status.Enter descritpion.It will takes u to other svreen wich will have all the Functions keys.

2.Select the keys required in Tool Bar or other and add ur FCODE there and double click on it. It will ask for different texts etc. Finish it of and activate.

3. In PAI form CASE OK_CODE.

WHEN 'SAVE'.

DO SOMETHING.

4 REPLIES 4
Read only

andreas_mann3
Active Contributor
0 Likes
476

Hi,

use menu painter:

http://help.sap.com/saphelp_47x200/helpdata/en/d1/801cf5454211d189710000e8322d00/frameset.htm

in PBO use statement:

set PF-status 'Z001'.

A.

Message was edited by: Andreas Mann

Message was edited by: Andreas Mann

Read only

Former Member
0 Likes
476

Hello Kiran Kumar,

U have to create a menu in the menu painter(SE41).

To activate the functionality you need to write the code in the PAI of the screen,

If useful reward.

Vasanth

Read only

Former Member
0 Likes
477

In PBO output form,just define an status as

SET PF-STATUS 'ZSTATUS'.

1. Click on the ZSTATUS and will ask for an description

for ur status.Enter descritpion.It will takes u to other svreen wich will have all the Functions keys.

2.Select the keys required in Tool Bar or other and add ur FCODE there and double click on it. It will ask for different texts etc. Finish it of and activate.

3. In PAI form CASE OK_CODE.

WHEN 'SAVE'.

DO SOMETHING.

Read only

Former Member
0 Likes
476

you might also need the standard function codes for the icons on the menu.

Open up any sample program provided in SAP that has a custom menu, and if you want the same menu, you can directly copy it to your program using se41.

Using the standard function will save you the time of writing the code for handling each and every event. You can customize the action for whichever icon you want.

I hope this helps.