Puting buttons in the appl bar with alv reporting

hai
im trying to put buttons in alv in  applctn bar
the coding i made is
perform eventtab.
form eventtab.
wa_event-name='set_pf_status'.
wa_event-form = 'status'.
append wa_event to tab_event.
endform.
form status.
set pf-status 'ystatus'.----
>status havin buttons.
endform.
the result is
program is geting run time error(shortdump)
error is too many parameters in the perform.
in coding itis pointing arroe mark like this
>form status.
plz help me how to add buttons in application bar
tahnks in advance
sindu.

you should not populate FORM name of STATUS to EVENTS. instead you have to give the FORM name to the FUnction module.
check this link,to know how to give our own GUI status.
Re: own PF-Status for REUSE_ALV_GRID_DISPLAY
FORM F_SET_PF_STATUS USING RT_EXTAB TYPE SLIS_T_EXTAB.
  CLEAR : WA_EXTAB,
          IT_EXTAB.
*--Set the Modified PF status for the ALV.
  SET PF-STATUS 'STATUS_01' EXCLUDING RT_EXTAB.
you have to copy any ALV related GUI status (from SE41 transaction) to STATUS_01. standard alv programs starts with BCALV*. so check it in SE41
copy it and add your own button to the Application tool bar.
ENDFORM.                               " SET_PF_STATUS
Regards
Srikanth
Message was edited by: Srikanth Kidambi

Similar Messages

Maybe you are looking for

  • Value Contract vs. Qty Contract

    Hi All, For Value Contract the system asks for Target Value in the header of the Contract. For example, if the target value is 10,000USD and I enter in the Target Value field in the contract and when I goto Item Overview the system's asking for Targe

  • ITunes will not start on MBP OS 10.6.8

    This problem has persisted for well over a week now. I have uninstalled and reinstalled iTunes three times, restarted my computer multiple times, and deleted the Genius file. When I attempt to open iTunes, a pop up appears for about three seconds ask

  • How to do this SQL installation in Yosemite?

    I want SQL for learning purposes and my school use. Can anyone please help.

  • How can I get Firefox to respond to files with the .nxg extension?

    I have been trying to open other pages than the home page of this site http://www.marinemachining.com/ and the only way that I can get them to open is to right click the URL button and choose open in a different tab or new window. Just clicking on th

  • Csting RUn Of Material in CK40n

    HI!!! Friends!! I am working on make to order scenario.I have worked on Bill of material (Finished -Raw Material) When I run the ck40n. How I enter the price of materials .And How the system show me the result of costing of materials. Could you give