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

pushbuttons on application toolbar in selection screen

Former Member
0 Likes
1,039

Hi,

I have created 2 pushbuttons in the application tool bar of selection screen using pf-status.But the other icons in the standard toolbar were grayed out because of this.can anyone tell me why this is happening.

1 ACCEPTED SOLUTION
Read only

bpawanchand
Active Contributor
0 Likes
977

Hi

you need to define those other elements of the menubar in the PF-STATUS for example for back write -


> BACK

for cancel----->CANCEL for save

use these predefined function codes

PRI

List

CTRL-P

Print displayed list

%EX

List

Shift-F3

Exit processing

PICK

Edit

F2

Event AT LINE-SELECTION

RW

Edit

F12 , ESC

Cancel processing

%SC

Edit

CTRL-F

Find

%SC+

Edit

CTRL-G

Find next

BACK

Goto

F3

Back one level

P--

CTRL-PgUp

Scroll to first window page

P-

PgUp

Scroll to previous window page

P+

PgDn

Scroll to next window page

P++

Ctrl-PgDn

Scroll to last window page

Regards

Pavan

Edited by: Pavan Bhamidipati on Jul 11, 2008 6:40 AM

Hi,

I have created 2 pushbuttons in the application tool bar of selection screen using pf-status.But the other icons in the standard toolbar were grayed out because of this.can anyone tell me why this is happening.

7 REPLIES 7
Read only

bpawanchand
Active Contributor
0 Likes
978

Hi

you need to define those other elements of the menubar in the PF-STATUS for example for back write -


> BACK

for cancel----->CANCEL for save

use these predefined function codes

PRI

List

CTRL-P

Print displayed list

%EX

List

Shift-F3

Exit processing

PICK

Edit

F2

Event AT LINE-SELECTION

RW

Edit

F12 , ESC

Cancel processing

%SC

Edit

CTRL-F

Find

%SC+

Edit

CTRL-G

Find next

BACK

Goto

F3

Back one level

P--

CTRL-PgUp

Scroll to first window page

P-

PgUp

Scroll to previous window page

P+

PgDn

Scroll to next window page

P++

Ctrl-PgDn

Scroll to last window page

Regards

Pavan

Edited by: Pavan Bhamidipati on Jul 11, 2008 6:40 AM

Read only

Former Member
0 Likes
977

Hi Hema,

Just copy the standard PF-STATUS and then create your custom button on the tool bar. this will resolve your problem.

&***********Reward Point if helpful******************&

Read only

Former Member
0 Likes
977

Hi Hema,

Once u define PF status for ur screen... its like u are defining ur own screen...

so wat happens is that every thing gets grayed out and u can select the required keys which u want to get displayed...(like back;exit;save e.tc)

Regards,

Sai

Read only

Former Member
0 Likes
977

Hi,

Please refer Standard demo program demo_sel_screen_function_key.

Thanks,

Sriram Ponna.

Read only

Former Member
0 Likes
977

This is happened because new pf-status replaced the old pf-status. And all icons in the old Pf-status are not taken care in the new one.

I think better approach would to copy the old one and then add ur buttons.

Regards,

Joy.

Read only

Former Member
0 Likes
977

Hi

Good

It has not happen due to your new buttons, sometime due to the memory issue the standard toolbar button display become grey, so no need to worry for this, it will come again as normal after sometime.

Thanks

mrutyun^

Read only

Former Member
0 Likes
977

Hiii!

The problem is that you haven't mentioned the function keys

go to your pf status , then menu painter , then write

Back , Cancel, Exit under their respective icons. Then activate it. You 'll get their functionality in your program.

Regards

Abhijeet Kulshreshtha