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: 

Urgent! PF-STATUS

Former Member
0 Kudos

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?

8 REPLIES 8

Former Member
0 Kudos

Hi

In your progarm, use <b>set pf-status 'LISTALV'</b> .

Then u ll grt in output.

regards.

karthik

Former Member
0 Kudos

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

former_member404244
Active Contributor
0 Kudos

hI,

Check the below link and try for list display

http://www.sapdevelopment.co.uk/reporting/alv/alvgrid_pfstatus.htm

Regards,

Nagaraj

Former Member
0 Kudos

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

Former Member
0 Kudos

How to copy standard status "LISTALV" or how to attach it to my program?

thats all i need.

Former Member
0 Kudos

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 '&'.

0 Kudos

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?

Former Member
0 Kudos

Im talking about STATUS FOR MENU!!!!

HOW CAN I attach it to my program?