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

Adding Button on Application Tool bar in ALV Grid Display

Former Member
0 Likes
5,407

Hi all,

I am using Standard pf status in which I want to add a button on the application tool bar.. How can I do it?

Hi all,

I am using Standard pf status in which I want to add a button on the application tool bar.. How can I do it?

9 REPLIES 9
Read only

davis_raja
Active Participant
0 Likes
3,861

You cannot add any button on the standard toolbar.

You have make a copy of the standard toolbar and make a custom PF status same as that of the standard.

Then you can add your custom buttons and you can set the PF status for your report.

Read only

0 Likes
3,861

I am sorry. I forgot to explain that I have copied the Standard PF status to my Z pf-status.

Read only

0 Likes
3,861

Then goto SE80, select Program and give your Program name and Select GUI Status.

Give your button a name and press enter. Then select static text and press enter.

Give function text, Info text and select an icon from the Icon Name.

Your button is created now.

Read only

Former Member
0 Likes
3,861

Hi,

The same way you do it for your custome Menu ,Add new menu in App toolbar option.

write corresponding code in where you call menu .

Regards,

Lingaraj

Read only

0 Likes
3,861

Thank You Lingraj.

I tried the same which you have suggested.

But it is not getting displayed..

Read only

0 Likes
3,861

Hope you have used SET PF-STATUS 'ZTEST' EXCLUDING it_extab. command in your program


or you could have included that while calling the ALV report.

Read only

0 Likes
3,861


Hi,

could you please check that pf status is activated with properly.

Thanks.

Kiran

Read only

0 Likes
3,861

Hi,

How did you copy menu status Manually or from SE80 copy menu status option.

If manual copy of menu status always having some issue.

please copy standerd by right click and copy option from SE80 and save in you Z menu.

replace standard PF status code in program with Custom one.

regards,

Lingaraj

Read only

venuarun
Active Participant
0 Likes
3,861

Hi Yash

Please refer this link

regards

Arun VS