Skip to Content
avatar image
Former Member

Regarding pushbutton on application tool bar in case of ALV reporting

Hi to all..................

2.......How to create push button on application tool bar in case of ALV REPORTING.

regards,

swami

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Oct 30, 2007 at 03:40 PM

    hi swaminath,

    check this link......

    Defining an Application Toolbar:

    http://help.sap.com/saphelp_nw04s/helpdata/en/d1/801ce8454211d189710000e8322d00/frameset.htm

    <b><REMOVED BY MODERATOR></b>

    Harimanjesh AN

    Message was edited by:

    Alvaro Tejada Galindo

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 30, 2007 at 11:13 PM

    Hi Swami,

    I am assuming you are using REUSE_ALV_LIST_DISPLAY, copy the GUI Status STANDARD from Function Group SALV to your Report and then modify this copied GUI Status. Now when you do your FM call populate I_CALLBACK_PROGRAM with your Report ID, I_CALLBACK_PF_STATUS_SET with the subrotuine name that identifies your copied GUI Status and I_CALLBACK_USER_COMMAND with the subroutine that will handle your newly defined GUI commands.

    Check out the FM Doco for REUSE_ALV_LIST_DISPLAY for more info.

    Hope this helps.

    Cheers,

    Pat.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 30, 2007 at 11:23 PM

    Hi,

    You first need to copy Standard ALV menubar to custom menu bar for your program using transaction SE41.

    Then you can add button to this custom menu bar.

    Copy program SAPLSALV, status STANDARD to your program, save in a development class, make changes (add required buttons).

    Hope this helps.

    ashish

    Add comment
    10|10000 characters needed characters exceeded