Application Development 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: 

I can't see my buttons in my ALV report...

aris_hidalgo
Contributor
0 Kudos

Hello experts,

I created a PF-status for my ALV report(with checkbox) so I can test if my checkbox is working or not. I created 2 buttons namely button and button1 in SE41. Now, I declared the program name and status name. But when I execute my report the buttons didn't appear.

Again, thank you guys and have a nice day!

1 ACCEPTED SOLUTION

Former Member
0 Kudos

then u'll check in the EXPORTING parameter,

whether u are passing the subroutine or not?

9 REPLIES 9

athavanraja
Active Contributor
0 Kudos

have you activated the PF-STATUS?

Raja

Former Member
0 Kudos

pls check in SE41. whether ur PF status is activeted or not?

0 Kudos

1st activate ur pf -ststus.

ru copying pf status from standard ststus ..

do one thing.

1st delete any button from pf-ststus remember that.

now add ur button and also add deleted button.

and activated it .

now it will work.:-)

0 Kudos

Hi guys,

I just checked my status in SE41 and yes, it is activated.

Thanks!

Former Member
0 Kudos

then u'll check in the EXPORTING parameter,

whether u are passing the subroutine or not?

0 Kudos

Hi guys,

Thanks for your quick replies. I don't know if I'm doing the right thing here or not. What I did was to create 3 items in the application toolbar(in SE41). Now I checked it for errors and activated it but unfortunately I still can't see those buttons.

Again, thank you guys and take care!

0 Kudos

Hi no problem,

Goto se41.

Give the program Name : 'SAPLKKBL'

GUI status : 'STANDARD'.

Click the "USER INTERFACE" button(It is for copy the GUI status)

Give me your program name.

now the GUI Status 'STANDARD' is available in your program.

then go to ur program.

Give the following code:

FORM SET_PF_STATUS USING EXTAB TYPE SLIS_T_EXTAB.

  • Set the GUI status

SET PF-STATUS 'STANDARD' EXCLUDING EXTAB.

ENDFORM. "set_pf_status

then double click the STATNDARD GUI status.

it will go the Menu painter.

In that u create ur own Buttons. than activate it.

In the FM:

EXPORTING

<b>I_CALLBACK_PF_STATUS = 'SET_PF_STATUS'</b>

now u get better idea I believe.

0 Kudos

Hi Vijay,

<b>1</b>.

Your call back subroutine for PF Status should be like this.

&----


*& Form set_pf_status

&----


FORM PF_STATUS_SET USING extab TYPE slis_t_extab.

SET PF-STATUS 'VENKAT' EXCLUDING extab.

ENDFORM. "set_pf_status

<b>2</b>.

If u write like this ur Std Pushbuttons will not be appered .Only ur recently added buttons are appeared .

To get those follow 3rd step.

<b>3</b>.

Add All Std Pushbuttons function codes to ur PF status manually.

use this path to get all Function code for all Pushbuttons .

SE80=>Function group=>SALV=>GUI Status=>Double click on STANDARD =>Application tool bar.

<b>4</b>.

U can get Function codes for application toolbar pushbutton like this

Press F1 and keep + Mouse right click on button and release mouse.

<b>Thanks,

Venkat.O</b>

Former Member
0 Kudos

Hi,

If you are displaying your data through FM then you need to pass I_CALLBACK_PROGRAM parameter in your FM.

And check the form for PF-STATUS and this form should be called after FM.

Cheers,

Bujji