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

Pushbutton in Application tool bar

Former Member
0 Likes
1,344

Hello All,

I want to pushbutton in Application tool bar in the output of my report. I know we need to use SET PF status. How can we create a pushbutton in SE41-Menu painter. Can you pls explain the steps in SE41 for pushbutton with function code.

Thanks

Saravana

6 REPLIES 6
Read only

Former Member
0 Likes
1,036

hi

good

go through this link which ll give you step by stop procedure to create a push button

http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dba99935c111d1829f0000e829fbfe/content.htm

thanks

mrutyun^

Read only

Former Member
0 Likes
1,036

Hi Saravan,

Asynchronous Update – The program does not wait for the work process to finish the update. Commit Work.

Synchronous Update – The program wait for the work process to finish the update. Commit Work and Wait.

Regards

Sathish

Read only

Former Member
0 Likes
1,036

Hi Saravanan,

I m very sorry i have posted u wrong one,

steps to create a button in application tool bar - go to se41 and then click on application - type the function and double click on that it will open antoher window where u can specify the text for the button and also the icon if needed and then function key .

activate it and then come to the main pgm then write the case statement using sy-ucomm and then do whatever u want to perform with button click

regards,

Sathish

Read only

Former Member
0 Likes
1,036

Hi

You just have to go to transaction se41, give the name of your program and the pf status you want to create.

Then you can give the name of the buttons or menus.

In your program you would have to give a statement like set pf-status <status name>

Please reward if useful....

Dinesh

Read only

Former Member
0 Likes
1,036

Hi,

SET PF_STATUS 'MENU'.

double cick on MENU. it will take you to SE41 transaction. give all mandatory fields. click on Application toolbar. it will open a window with several boxes. give your function code there and all necessary fields.

go back to your program.

CASE SY-UCOMM.

WHEN 'FCODE'.

write your logic

ENDCASE.

Regards,

Naveen

Read only

Former Member
0 Likes
1,036

go to se41 in the application type the function and specify the text for the button and also the icon for that.in the program give the case sy-ucomm and specify the condition.