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

set pf-status

kesavadas_thekkillath
Active Contributor
0 Likes
909

could any body explain the details of the cited subject.

how to create butttons in se41.

and call it in a program

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
876

Hi mohammad

in abap program write a statement

set pf-status 'Zp1'.

now double click on Zp1 then it will go to screen painter and here create a menu's and butons and give function codes....

reward points to all helpful answers

kiran.M

Hi mohammad

in abap program write a statement

set pf-status 'Zp1'.

now double click on Zp1 then it will go to screen painter and here create a menu's and butons and give function codes....

reward points to all helpful answers

kiran.M

4 REPLIES 4
Read only

Former Member
0 Likes
877

Hi mohammad

in abap program write a statement

set pf-status 'Zp1'.

now double click on Zp1 then it will go to screen painter and here create a menu's and butons and give function codes....

reward points to all helpful answers

kiran.M

Read only

Former Member
0 Likes
876

SET PF-STATUS 'ZBDC'.

write the above stement in your program and double clik on ZBDC it will take u to the se41 screen

there u find

menu bar

application bar

function keys

goto application bar link

there give Fcode for your pushbtton

u can use that push button in ur program

<b>Reward Points If Useful</b>

Read only

Former Member
0 Likes
876

Hi Mohammed,

what buttons you want to create.

If you want to menus or application tool bar buttons, then just double click on

Set pf-status 'toolbar' and create menu or tool bar buttons with function codes.

In the report.

use AT user-command.

case 'fcode1'.

...do...

case 'fcodee'.

do

Reward points if it is helpful.

Read only

Former Member
0 Likes
876

Hi Mohemmed,

Its just simple.

Just type <b>SET PF-STATUS 'TEST'.</b> in ur program and double click in on that.

Then It will ask for creation of GUI STATUS. press enter.

Give short description for that GUI STATUS.

Then one screen will appear where you can find

<b>Menu bar

Application toolbar

Function keys</b>

-


You can create buttons in Application toolbar...

Click on arrow which will appear next to Application toolbar. There is a provision to create ur own buttons. Type ur button name <b>( This is function code )</b> in the field and click just bellow, where u can find the HOT SPOT ( Hand Symbol ).

Choose text type as Static and press enter...

Then u need to fill

<b>Function text

Icon name ( optional )

Info. text</b>

after filling the above things... press enter... then it will ask for shortcut key... choose the key and fill

<b>Function text

Icon name

Icon text

Info. text

Fastpath</b>

and press enter..... Then <b>ACTIVATE(Ctrl+F3) the GUI STATUS</b>. then go to your program on pressing Esc.

Then in user-command function in program give the function code also in the case statement...

ex...

case sy-ucomm.

....

when '<ur Function code>',

.....

......

.....

endcase.

reward If Helpful

Regards

--

Sasidhar Reddy.

Message was edited by:

Sasidhar Reddy Matli