Skip to Content
avatar image
Former Member

alv

how 2 use set-pf status in alv, how add set pf-status in selection-screen

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Mar 15, 2007 at 07:11 AM

    hi,

    chk this.

    call function 'REUSE_ALV_GRID_DISPLAY'
           exporting
                i_callback_program      = gd_repid
                i_callback_top_of_page   = 'TOP-OF-PAGE'  
                i_callback_pf_status_set = 'SET_PF_STATUS'   "see FORM 
                is_layout               = gd_layout
                it_fieldcat             = fieldcatalog[]
                i_save                  = 'X'
           tables
                t_outtab                = it_ekko
           exceptions
                program_error           = 1
                others                  = 2.
    *------------------------------------------------------------------*
    *       FORM SET_PF_STATUS                                         *
    *------------------------------------------------------------------*
    FORM set_pf_status USING rt_extab TYPE slis_t_extab.
      SET PF-STATUS 'ZNEWSTATUS'. 
                      "Copy of 'STANDARD' pf_status from fgroup SALV
    ENDFORM.

    ***********copy pf status***********

    1)goto se80

    2)open function group SALV

    3) In that STANDARD gui-status will be there.

    4)right click on that and ther is option of copy

    5)just copy it and save it with ur name 'status_name'.

    6) now in ur program SET PF-STATUS '(status_name)'.

    7)don't forget to active it again

    Regards

    Anver

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 15, 2007 at 07:59 AM

    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'

    EXPORTING

    • I_INTERFACE_CHECK = ' '

    • I_BYPASSING_BUFFER =

    • I_BUFFER_ACTIVE = ' '

    • I_CALLBACK_PROGRAM = ' '

    I_CALLBACK_PF_STATUS_SET = ' SET_STATUS'--><b>Form Name</b>

    TABLES

    T_OUTTAB = 'ITAB'

    EXCEPTIONS

    PROGRAM_ERROR = 1

    OTHERS = 2.

    FORM SET_STATUS.

    <b>SET PF-STATUS 'DEMO'.</b>-->Here you can set pf-status.

    END FORM.

    Reward if helpful.

    Regards,

    Sandhya

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 15, 2007 at 08:07 AM

    use this FM RS_SET_SELSCREEN_STATUS to set status on selection screen

    chk demo program DEMO_SEL_SCREEN_STATUS

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 15, 2007 at 08:07 AM

    hi Sai,

    DO this way..

    call function 'REUSE_ALV_GRID_DISPLAY'

    exporting

    ....................

    <b> i_callback_pf_status_set = 'PF_STATUS' </b>

    tables

    t_outtab = it_out

    exceptions

    program_error = 1

    others = 2.

    Regards,

    Santosh

    Add comment
    10|10000 characters needed characters exceeded