Skip to Content
author's profile photo Former Member
Former Member

pf status in alv

Hi all,

I have to add a button to alv list display output to proceed further ( along with other standard buttons like select all/ filer/ sorting etc).

can anybody help me please.

thanks,

sudheer

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Best Answer
    Posted on Jul 18, 2008 at 06:54 AM

    Hi,

    First, copy pf-status 'Standard' to your program, named 'Zstandard' , add button to the status.

    Second, add parameters to you ALV function like:

    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'

    EXPORTING

    i_callback_program = repname

    i_callback_pf_status_set = 'SET_PF_STATUS'

    FORM set_pf_status USING rt_extab TYPE slis_t_extab.

    DATA: wa_extab TYPE slis_extab.

    wa_extab-fcode = '&OAD'.

    APPEND wa_extab TO rt_extab.

    wa_extab-fcode = '&AVE'.

    APPEND wa_extab TO rt_extab.

    SET PF-STATUS 'ZSTANDARD' EXCLUDING rt_extab .

    ENDFORM. "Set_pf_status

    Regards,

    Pole

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 18, 2008 at 06:54 AM
    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 18, 2008 at 06:50 AM

    SE41 create

    copy standard status from program saplsalv to you're own program and status standard

    in you're programm refer to you're status created

      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
    *     I_INTERFACE_CHECK                 = ' '
          i_bypassing_buffer                = 'X'
    *     I_BUFFER_ACTIVE                   = ' '
          i_callback_program                = h_repid
          i_callback_pf_status_set          = 'SET_PF_STATUS'
          i_callback_user_command           = 'USER_COMMAND'
    

    and the form

    
    *&---------------------------------------------------------------------*
    *&      Form  set_pf_status
    *&---------------------------------------------------------------------*
    *       text
    *----------------------------------------------------------------------*
    *      -->RT_EXTAB   text
    *----------------------------------------------------------------------*
    FORM set_pf_status USING rt_extab TYPE slis_t_extab.
      SET PF-STATUS 'STANDAARD'.
    ENDFORM.                    "set_pf_status
    
    
    

    kind regards

    arthur de smidt

    Edited by: A. de Smidt on Jul 18, 2008 8:52 AM

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 18, 2008 at 06:52 AM

    Hi,

    goto SE80 ->functiongroup ->SALV--->select Guistatus

    -


    >copy STANDARD--->give z name and ur program name.

    use this pf-status in ur program.

    hope it will help..

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 16, 2014 at 11:47 AM

    se41 copy standard status to your program

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.