12-11-2007 7:02 AM
If the program sets PF-STATUS "LISTALV", how can i add this status to the program? where to find it and how to attach?
can u help me please?
12-11-2007 7:04 AM
Hi
In your progarm, use <b>set pf-status 'LISTALV'</b> .
Then u ll grt in output.
regards.
karthik
12-11-2007 7:05 AM
for menu the Tcode is se41 or you can directly double click on LISTALV it will take you to the Menu painter.
You need to write this either in PBO or if it's an report you can write it in start-of-selection
12-11-2007 7:05 AM
hI,
Check the below link and try for list display
http://www.sapdevelopment.co.uk/reporting/alv/alvgrid_pfstatus.htm
Regards,
Nagaraj
12-11-2007 7:05 AM
Hi
from SE41 tcode copy this to some ZSTATUS and your Zprogram and use that in the program code of ALV
like
&----
*& Form set_status
&----
form used to set custom gui status for ALV
----
FORM set_status USING rt_extab TYPE slis_t_extab.
DATA: t_stat_excl TYPE slis_t_extab,
w_stat_excl LIKE LINE OF t_stat_excl.
w_stat_excl-fcode = '&RNT'.
APPEND w_stat_excl TO t_stat_excl.
<b> SET PF-STATUS 'ZSTANDARD' EXCLUDING t_stat_excl.</b>
ENDFORM.
Regards
Anji
12-11-2007 7:11 AM
How to copy standard status "LISTALV" or how to attach it to my program?
thats all i need.
12-11-2007 7:13 AM
In order modify PF_STATUS of ALV grid report you need to perform the following steps:
1. Update 'REUSE_ALV_GRID_DISPLAY' FM call to include:
i_callback_pf_status_set = 'SET_PF_STATUS' statement.
2. Create 'SET_PF_STATUS' FORM
3. Create pf_status (i.e. 'ZNEWSTATUS').
- It is recommend that you copy standard status'STANDARD' from function group SALV
and modify it accordingly. ALV standard function codes always start with '&'.
12-11-2007 7:17 AM
where to find the status LISTALV?? in what group??
i need to use the standard status LISTALV. SO ALL I NEED NOW IS TO ATTACH IT TO MY PROGRAM!!!
IS THAT CLEAR?
12-11-2007 7:24 AM
Im talking about STATUS FOR MENU!!!!
HOW CAN I attach it to my program?