Display a buttons in the footer of a grid panel

I display images in a grid panel .I want to know how to add components in the footer part of the panel.
Because when I add them simply by using
grid.getChildren().add(component);they are added just after the last displayed image.
I thought to the VerbatimTag element by adding the
tag but I didn't found which method to use to add the
tag into the VerbatimTag.
Thanks in advance for your help.

Can you please explain to me because I m really knew with JSF.

Similar Messages

  • Hide and Display submit button on the Simple search page.

    Heading 1: h1 Hide and Display submit button on the Simple search page.
    I'm trying to set the enabled property of the submit button on the simple search page. The business case is to disable the button if the VO has not returned any rows.
    The Submit button is on the page button bar.
    regards
    Abhi

    Hi,
    I have already added this in my ProcessRequest, the issue I am facing is it the submit button is disabled while I load >the page which is fine. but when I do a search and the query returns rows still the submit button is disabled.---Will nt reuired SPEL here..
    ---On go button click setsession value.
    Follow below steps:
    CO PR:*
    OASubmitButtonBean continueBtn=(OASubmitButtonBean)flowLayout.findChildRecursive("continueBtn");
    if(continueBtn != null && "D".equals(oapagecontext.getSessionValue("Flag"))
    continueBtn.setDisabled(false);
    else if(continueBtn != null )
    continueBtn.setDisabled(true);
    CO PFR:_
    if(pageContext.getParameter("Go") != null)
    oapagecontext.putSessionValue("Flag","D");
    Regards
    Meher Irk
    Edited by: Meher Irk on Mar 22, 2011 7:48 PM
    Edited by: Meher Irk on Mar 22, 2011 7:48 PM

  • Wan to add push button in the output of ALV Grid display.

    Hi Friends,
    I wan to add a Push button in the output of ALV GRID display with STANDARD ikons.
    How to copy standard ikons of GRID output.
    How to apply the copied status into my code.
    Regards,
    Viji

    Hi,
    Goto SE41, create a pf-status for your alv report program.
    On the next screen, click menu EXTRAS --> click option ADJUST TEMPLATES and select radiobutton LIST VIEWER --> you will get all standard buttons of alv in the pf-status.
    Delete the unwanted buttons and also you can add new buttons if reqd.
    Activate pf-status --> and apply in alv program.
    Now to apply this pf-status in your alv report follow code:-
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
         i_callback_program                = v_rep_id       " report id
         i_callback_pf_status_set          = 'PF'           " for PF-STATUS
         i_callback_user_command           = 'USER_COMMAND' " for User-Command
         is_layout                         = wa_layout      " for layout
         it_fieldcat                       = it_field       " field catalog
         it_sort                           = it_sort        " sort info
        TABLES
          t_outtab                          = it_final      " internal table
       EXCEPTIONS
         program_error                     = 1
         OTHERS                            = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    *&      Form  pf
    *       SUB-ROUTINE PF IS USED TO SET THE PF-STATUS OF THE SCREEN
    *       ON WHICH THE ALV GRID IS DISPLAYED
    *       -->RT_EXTAB
    FORM pf USING rt_extab TYPE slis_t_extab.
      SET PF-STATUS 'ZTG_STAT'. "<--pass pf-status name here
    ENDFORM.                    "pf
    *&      Form  USER_COMMAND
    *       SUB-ROUTINE USER_COMMAND IS USED TO HANDLE THE USER ACTION
    *       AND EXECUTE THE APPROPIATE CODE
    *      -->LV_OKCODE   used to capture the function code
    *                     of the user-defined push-buttons
    *      -->L_SELFIELD   text
    FORM user_command USING lv_okcode LIKE sy-ucomm l_selfield TYPE slis_selfield.
    * assign the function code to variable v_okcode
      lv_okcode = sy-ucomm.
    * handle the code execution based on the function code encountered
      CASE lv_okcode.
        WHEN '<function_code>'. "<--to handle user actions
      ENDCASE.
    ENDFORM.                    "USER_COMMAND
    Hope this helps you.
    Regards,
    Tarun

  • How to not display radio buttons in the select many shuttle component

    Hi all,
    af:selectManyShuttle is a true nice component.
    For business / UI ergo reasons I've decided to not display the radio buttons before each item. There's no option to do that.
    Is it possible ? How ?
    Regards
    Luc-

    Let say there are three ways:
    1. You can use skinning mechanism,
    2. You can include css file in .jspx page and then use it.
    3. You can write css directly in .jspx page.
    For skinning read documentation. For two other ways here is example code that should be inside metaContainer facet of document tag.
    <f:verbatim>
      <!-- CSS directly in jspx page -->
      <style type="text/css">
        .myClass{
          background-color: #8888FF;
      </style>
      <!-- Include css file in jspx page -->
      <link href="css/incStyle.css" rel="stylesheet" type="text/css" />
    </f:verbatim>
    {code}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Position button at the end of ALV grid

    Hi,
    I have a requirement to place position button (like in OB52 or any table/view maintenance ) to search and position the record on the top of list. I have placed the position pushbutton with function code and have called TABLE_GET_KEY_TO_SET_CUR_ROW for the input . My alv grid doesn't show the toolbar till the records cross one page. can you please suggest 1- how to make the scrollbar visible always ? 2- How to make the position button work as in tables for ALV grid?
    Regards,
    Garima

    I have created the pushbutton in the same screen as container and assigned a function code. I have put this logic in user-command for this button and refreshed display. But it doesn't work, moreover the scrollbar is not visible if the records are less than one page.
    MODULE USER_COMMAND_0100 INPUT.
      CASE SY-UCOMM.
        WHEN '&BACK&'.
          LEAVE TO SCREEN 0.
        WHEN '&EXIT&'.
          LEAVE PROGRAM.
        WHEN '&POSI&'.
          DATA: LV_EBELN(15) TYPE C,
                IT_EXCL TYPE VIMEXCLFLD OCCURS 0,
          WA_EXCL TYPE VIMEXCLFLD,
          LV_PO TYPE EKKO-EBELN.
          DATA: LT_CELL1 TYPE TABLE OF LVC_S_ROID,
           LS_ROW_ID TYPE LVC_S_ROID,
           LS_COL_ID TYPE LVC_S_COL.
          DATA: LWA_CELL1 LIKE LINE OF LT_CELL1.
          WA_EXCL-FIELDNAME = 'MANDT'.
          APPEND WA_EXCL TO IT_EXCL.
          CALL FUNCTION 'TABLE_GET_KEY_TO_SET_CUR_ROW'
            EXPORTING
              TABLE             = 'EKKO'
            IMPORTING
              TABLE_KEY         = LV_EBELN
            TABLES
              EXCLUDE_FIELDS    = IT_EXCL
            EXCEPTIONS
              CANCELLED_BY_USER = 1
              TABLE_NOT_FOUND   = 2
              OTHERS            = 3.
          IF SY-SUBRC EQ 0.
            SHIFT LV_EBELN LEFT DELETING LEADING SPACE.
            MOVE LV_EBELN+0(10) TO LV_PO.
            READ TABLE GT_FINAL INTO WA_FINAL WITH KEY EBELN = LV_PO.
            CALL METHOD R_GRID->GET_SCROLL_INFO_VIA_ID
             iMPORTING
                ES_ROW_NO   = LS_ROW_ID
                ES_COL_INFO = LS_COL_ID.
            LS_ROW_ID-ROW_ID = sy-tabix.
            LS_COL_ID-FIELDNAME = 'EKGRP'.
            data: ls_row type LVC_S_ROW,
           ls_col type LVC_S_COL.
    ls_row-index = 2.
    CALL METHOD r_grid->set_scroll_info_via_id
       EXPORTING
         IS_ROW_INFO = ls_row
         is_col_info = ls_col.
          ENDIF.
        **Row and column of the alv are refreshed after changing values
      STABLE-ROW = 'X'.
      STABLE-COL = 'X'.
    *REfreshed ALV display with the changed values
    *This ALV is non editable and contains new values
      CALL METHOD R_GRID->REFRESH_TABLE_DISPLAY
        EXPORTING
          IS_STABLE = STABLE
        EXCEPTIONS
          FINISHED  = 1
          OTHERS    = 2.
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
               WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    Please help!!

  • Lucida Sans displayed as italic in the preview of Muse (design panel)

    Hello,
    In the Creative Cloud version of Muse, Lucida Sans is by default displayed as Italic.
    This results in a non WYSIWYG display of your website in Design mode.
    With Helvetica for example this problem doesn't occur.
    Best,
    Ysbrand

    Hi TeleSkiGrrl,
    I'm sorry you ran into trouble here. Would you be able to provide a url for the site you're having trouble with? If you'd rather not share it here, please drop us a note at: [email protected] and we'll take a look.
    Cheers,
    Benjamin

  • Right aligned buttons in panelFormLayout footer

    ADF 11g
    Hello
    I do you get right aligned buttons in the footer of a panelFormLayout ?
    Regards
    Paul

    Paul,
    How about wrapping your buttons inside panelGroupLayout and setting halign property to right?
    Sample:
    <f:facet name="footer">
       <af:panelGroupLayout layout="horizontal" id="pgl1" halign="right">
           <af:commandButton id="button1"  ... />
           <af:commandButton id="button2"  ... />
       </af:panelGroupLayout>
    </f:facet>Sireesha
    Edited by: Sireesha Pinninti on Sep 22, 2009 3:50 AM

  • How to disable or Invisible the Change and Create button in the PF-STATUS

    Hi all,
    For the table CEPCT, when we display the table entries, there are Create,Change,Display etc button in the standard application tool bar.
    My requirement is to disable or Invisible 2 buttons Create and Change
    Can any one help me in this issue as early as possible
    Regards
    Srinivas

    Hi,
    Check the below statement for more help Press F1
    SET PF-STATUS <MENU> EXCLUDING <FCODES>.

  • The display on my iPod is extra large and I am have no idea why.  I tried the HOME button and the power button at the same time but that doesn't work.  I can't even enter my code to unlock it because I cannot scroll the HUGE display!  Any ideas??

    The display on my iPod Touch is HUGE and I have no idea why.  I tried the HOME button and power button at the same time.....no help.  I cannot enter my unlock code because I can't scroll without entering a wrong number!  HELP!!

    Using three fingers, double-tap the screen.
    http://support.apple.com/kb/TS3129

  • The new ribbon user interface in Win 8.1 should display appropriate buttons depending on the currently displayed folder within the explorer.exe window.

    To begin with, in file-explorer (.\system32\explorer.exe) normally, the new ribbon user interface in Win 8.1 does indeed display appropriate buttons depending on the currently displayed folder within the explorer.exe window. 
    But when one re-parents the explorer window handle to any window handle other than 0000 (desktop's window handle), then the UIRibbon fails to do so.
    You might ask 'Who does that ?' and I would say no-one usually, however I use BrightExplorer which
    is a great little app that  gives me a tabbed file-explorer experience.
    Now, this app works fine since Windows 7, but with Windows 8 the file explorer introduced the new UIRibbon in its UI. It's that new UIRibbon that gets confused by what I think may be be caused by the re-parenting that BrightExplorer does
    to pull a file explorer session into its tabbed control.
    This phenomenon relates to Windows 8 + and is observed only by doing the following steps:
    Download BrightExplorer from BrightNewWorlds.com by going here: BrightExplorer,
    In the address bar go to This PC,
    then go to any other folder and note that the UIRibbon is not keeping track of the changing folder selections.
    Does anyone out there feel that they can do something about this, or have advise?
    Kind regards,
    Robert van der Meijden

    To begin with, in file-explorer (.\system32\explorer.exe) normally, the new ribbon user interface in Win 8.1 does indeed display appropriate buttons depending on the currently displayed folder within the explorer.exe window. 
    But when one re-parents the explorer window handle to any window handle other than 0000 (desktop's window handle), then the UIRibbon fails to do so.
    You might ask 'Who does that ?' and I would say no-one usually, however I use BrightExplorer which
    is a great little app that  gives me a tabbed file-explorer experience.
    Now, this app works fine since Windows 7, but with Windows 8 the file explorer introduced the new UIRibbon in its UI. It's that new UIRibbon that gets confused by what I think may be be caused by the re-parenting that BrightExplorer does
    to pull a file explorer session into its tabbed control.
    This phenomenon relates to Windows 8 + and is observed only by doing the following steps:
    Download BrightExplorer from BrightNewWorlds.com by going here: BrightExplorer,
    In the address bar go to This PC,
    then go to any other folder and note that the UIRibbon is not keeping track of the changing folder selections.
    Does anyone out there feel that they can do something about this, or have advise?
    Kind regards,
    Robert van der Meijden

  • When I open FF there is no text displaying(menus, content, etc.), and most of the window is blacked out. For example... I can is the the firefox button on the t

    When I open FF there is no text displaying(menus, content, etc.), and most of the window is blacked out. For example... I can see the the firefox button on the top left corner, when I go to it the drop down list drops and there is no text, if I move down the drop down I hit where there is a slide out in that drop down and no text is there. So, to start in safe mode you need to go to the firefox button, and click on start in safe mode. I can't See safe mode or click on anything were safe mode should be.

    hello, close all firefox windows & hold the shift-key while opening firefox in order to launch it in safemode. in the first dialog just choose "continue in safemode" and go to firefox > options > advanced > general. in there disable hardware acceleration, restart firefox normally again and see if this has changed anything.
    also see [[Upgrade your graphics drivers to use hardware acceleration and WebGL]]

  • Display Dataset field Value in the footer based on the Group

    Hi Guys,
    My current SSRS report is displaying multiple projects data. One Project data is rendering into 1 or 2 pages based on the project specific data.
    Now, the requirement here is to display the "ProjectName" in the footer of the SSRS report in below format. For instance, if project A data is rendering in 2 pages then the footer in two pages should display project Name A and in the
    third page it shows display the Project Name b in the footer of the report.
    ProjectName [Insert Reporting Month]                                                                                                Page
    # of #
    Has anyone come across such requirement. Thanks.
    Warm Regards Badal Ratra

    Hi Badal,
    In SQL Server Reporting Services (SSRS), we cannot use the “Project” filed without specifying a dataset aggregate in page footer. However, we can display the item value in the page footer. Please refer to the following steps:
    Add a list in the report. Configure this list with the corresponding dataset.
    Configure the list “Group on:” ProjectName.
    Add the tablix in the list, add page break “Between each instance of a group” of the list.
    Add a text box (TextBox1) with expression below:
    =Fields!ProjectName.Valu
    Set the visibility of the text box to Hide.
    Add a text box in the page footer fill with following expression:
    =ReportItems!TextBox1.Value
    If you have any questions, please feel free to let me know.
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

  • I cannot use any buttons on the display panel. The power is on and the display is lit up

    All-In-One Printer L7780  Windows 7 64-bit
    I cannot use any buttons on the display. The power is ON and the display is lit up. I have pulled the plug and waited a while and plugged it back in (several times over two days) but nothing changes.
    The diagnostics from the computer don't help. I can see the ink level and I can print a test page but the scanner does not work.
    This Printer just works when it wants to. The wireless connection only worked once in a while.
    Any help would be appreciated. Thanks!  Benno Wallé

    This may offer some help:
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c02716671&tmp_task=solveCategory&cc=us&dlc=en&la...
    007OHMSS
    I was a support engineer for HP.
    If the advice resolved the situation, please mark it as a solution. Thank you.

  • Page cannot be displayed with launch button in the ContentDB Home page

    Launch button in the ContentDB Home page lead on error (The page cannot be displayed).
    It would be of great help if you could provide help or track to solve that issue.
    It's a 2 hosts installation of Content DB 10g Release 1 (10.2.0.0.0) for Linux x86-64:
    Host 1:
    * Database10g R2 (10.2.0.1.0)
    * OID
    * Patch Set 10.2.0.2
    * Metadata Repository 101203
    Host 2:
    * SSO
    * DAS
    * Oracle Application Server Certificate Authority
    * CDB
    Thank a lot in advance for your kind help.
    Best regards.

    Hi,
    And as we also have a problem with Oracle Drive (which is not configured with SSO), here are the messages i see in the logs , after an Oracle Drive connection try:
    09/01/28 15:45:06 [ecid: 77338626691,2] content: [oracle.ifs.fdk.http.HttpServerManager] [23] FINE: Server EcmHttpServer is running
    Nouvelle entrée     09/01/28 15:45:06 [ecid: 77338626691,2] content: [oracle.ifs.protocols.dav.ecm.EcmDavServlet] [23] FINE: servicing request: LOGOUT /content/dav/
    Nouvelle entrée     09/01/28 15:45:06 [ecid: 77338626691,2] content: [oracle.ifs.protocols.dav.ecm.EcmDavServlet] [23] FINER: AUTHORIZATION: Digest username="dla",
    realm="Authorized_Users", nonce="5ffd0968214765fd49bccc784d1fd017", uri="/content/dav/", nc=00000001, cnonce="fYvHyrSPXcJoa18j", qop=auth,
    response="e9ba4664ee39abf27c787b7ba7b96177"
    Nouvelle entrée     09/01/28 15:45:06 [ecid: 77338626691,2] content: [oracle.ifs.protocols.dav.ecm.EcmDavServlet] [23] FINER: CALYPSO-CONTROL: H_Req,167899158,7777
    Nouvelle entrée     09/01/28 15:45:06 [ecid: 77338626691,2] content: [oracle.ifs.protocols.dav.ecm.EcmDavServlet] [23] FINER: CHRONOS: aggregate
    Nouvelle entrée     09/01/28 15:45:06 [ecid: 77338626691,2] content: [oracle.ifs.protocols.dav.ecm.EcmDavServlet] [23] FINER: CLIENTIP: 10.1.200.129
    Nouvelle entrée     09/01/28 15:45:06 [ecid: 77338626691,2] content: [oracle.ifs.protocols.dav.ecm.EcmDavServlet] [23] FINER: CONNECTION: Keep-Alive, Calypso-Control
    Nouvelle entrée     09/01/28 15:45:06 [ecid: 77338626691,2] content: [oracle.ifs.protocols.dav.ecm.EcmDavServlet] [23] FINER: CONTENT-LENGTH: 0
    Nouvelle entrée     09/01/28 15:45:06 [ecid: 77338626691,2] content: [oracle.ifs.protocols.dav.ecm.EcmDavServlet] [23] FINER: HOST: hera.gva.spg.ch:7777
    Nouvelle entrée     09/01/28 15:45:06 [ecid: 77338626691,2] content: [oracle.ifs.protocols.dav.ecm.EcmDavServlet] [23] FINER: ORACLE-CACHE-VERSION: 10.1.2
    Nouvelle entrée     09/01/28 15:45:06 [ecid: 77338626691,2] content: [oracle.ifs.protocols.dav.ecm.EcmDavServlet] [23] FINER: ORACLE-ECID: 77338626691,1
    Nouvelle entrée     09/01/28 15:45:06 [ecid: 77338626691,2] content: [oracle.ifs.protocols.dav.ecm.EcmDavServlet] [23] FINER: SSL-HTTPS: off
    Nouvelle entrée     09/01/28 15:45:06 [ecid: 77338626691,2] content: [oracle.ifs.protocols.dav.ecm.EcmDavServlet] [23] FINER: SURROGATE-CAPABILITY: orcl="webcache/1.0
    Surrogate/1.0 ESI/1.0 ESI-Inline/1.0 ESI-INV/1.0 ORAESI/9.0.4"
    Nouvelle entrée     09/01/28 15:45:06 [ecid: 77338626691,2] content: [oracle.ifs.protocols.dav.ecm.EcmDavServlet] [23] FINER: USER-AGENT: Oracle Drive 10.2.0.0.13
    (build 105)
    Nouvelle entrée     09/01/28 15:45:06 [ecid: 77338626691,2] content: [oracle.ifs.protocols.dav.ecm.EcmDavServlet] [23] FINER: X-FEATURES: 1
    Nouvelle entrée     09/01/28 15:45:06 [ecid: 77338626691,2] content: [oracle.ifs.fdk.http.HttpAuthManager] [23] FINE: SSO Headers: Username = null; Accept-Language
    = null; Osso-User-Dn = null; Osso-User-Guid = null; Osso-Subscriber = null; Osso-Subscriber-Dn = null; Osso-Subscriber-Guid = null
    Nouvelle entrée     09/01/28 15:45:06 [ecid: 77338626691,2] content: [oracle.ifs.protocols.dav.ecm.DavSessionManager] [23] FINER: No session found in the
    HttpSession
    Nouvelle entrée     09/01/28 15:45:06 [ecid: 77338626691,2] content: [oracle.ifs.protocols.dav.ecm.DavSessionManager] [23] FINER: DAV client detected, trying
    persistent cookie
    Nouvelle entrée     09/01/28 15:45:06 [ecid: 77338626691,2] content: [oracle.ifs.protocols.dav.ecm.DavSessionManager] [23] FINER: Trying digest headers
    Nouvelle entrée     09/01/28 15:45:06 [ecid: 77338626691,2] content: [oracle.ifs.protocols.dav.ecm.DavDigestSessionManager] [23] FINER: DigestAuthInfo =
    Digest username=dla, nonce=5ffd0968214765fd49bccc784d1fd017, response=e9ba4664ee39abf27c787b7ba7b96177, cnonce=fYvHyrSPXcJoa18j, qop=auth,
    nc=00000001, realm=Authorized_Users, uri=/content/dav/, algorithm=MD5
    Nouvelle entrée     09/01/28 15:45:06 [ecid: 77338626691,2] content: [oracle.ifs.protocols.dav.ecm.DavDigestSessionManager] [23] FINER: credential = oracle.ifs.common.HttpDigestCredential@1d4c4b7
    Nouvelle entrée     09/01/28 15:45:06 [ecid: 77338626691,2] content: [oracle.ifs.protocols.dav.ecm.DavDigestSessionManager] [23] FINER: no session in nonce-cache
    for user dla
    Nouvelle entrée     09/01/28 15:45:06 [ecid: 77338626691,2] content: [oracle.ifs.protocols.dav.impl.security.DigestAuthentication] [23] FINE: Valid nonce
    table dump:
    Nouvelle entrée     Nonce: 5ffd0968214765fd49bccc784d1fd017; Expires: Wed Jan 28 15:55:06 CET 2009
    Nouvelle entrée     09/01/28 15:45:06 [ecid: 77338626691,2] content: [oracle.ifs.fdk.http.HttpAuthManager] [23] FINE: servlet path = /dav
    Nouvelle entrée     09/01/28 15:45:06 [ecid: 77338626691,2] content: [oracle.ifs.fdk.impl.SessionPool] [23] FINE: Creating LibrarySession pool for user:
    dla
    Nouvelle entrée     09/01/28 15:45:06 [ecid: 77338626691,2] content: [oracle.ifs.fdk.impl.SessionPool] [23] FINE: Creating new LibrarySession ...
    Nouvelle entrée     09/01/28 15:45:06 [ecid: 77338626691,2] content: [oracle.ifs.fdk.impl.SessionPool] [23] FINE: Freeing LibrarySession pool: [User: dla;
      Avail = 0; In Use = 0; Total = 0; References = 0; MaxUsed = 0]
    Nouvelle entrée     09/01/28 15:45:06 [ecid: 77338626691,2] content: [oracle.ifs.protocols.dav.ecm.DavDigestSessionManager] [23] FINER: session = null
    Nouvelle entrée     09/01/28 15:45:06 [ecid: 77338626691,2] content: [oracle.ifs.protocols.dav.ecm.DavSessionManager] [23] FINER: Returning null
    Nouvelle entrée     09/01/28 15:45:06 [ecid: 77338626691,2] content: [oracle.ifs.protocols.dav.ecm.DavDigestSessionManager] [23] FINER: authHeader = Digest
    realm="Authorized_Users", nonce="5ffd0968214765fd49bccc784d1fd017", stale="false", qop="auth"
    I see a "session = null"
    Oracle Drive sent back an Error : Could not access the path
    I thought it could be a SSO problem : communication between OCS midTier and OC4J_SECURITY instance on the infra(sso) midTier.
    Finally seems there is a problem when opening a session on the ContentDb Node
    Laurent

  • Displaying a Push button in the application toolbar for an ALV report

    Hello everyone,
    Query:
    Is it possible to display a custom push button in the application tool bar while displaying an ALV report(1st one)?
    On pressing this custom push button will I be able to display another ALV report(2nd one) based on the selection made on the current ALV report(1st one)?

    Yes u can have pushbutton on application toolbar.
    You just have to use the new pf status in your report program.
    You should copy the 'STANDARD' GUI status from program SAPLKKBL using transaction SE90 >Programming SubObjects> Gui Status.
    Execute this transaction to get to next screen. select status using checkbox. click on GUI Status --> Copy.
    Enter your Z program name and the name you what for this status - you can keep it as 'STANDARD' to be simple.
    Then you can edit the new status to add or delete buttons. This will also bring in the standard SAP ALV functionality.
    Have a look at below code for using the new status.
    TYPE-POOLS: slis.
    DATA: i_qmel LIKE qmel OCCURS 0.
    data v_repid type repid.
    SELECT * FROM qmel INTO TABLE i_qmel.
    v_repid = sy-repid.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
    I_CALLBACK_PROGRAM = v_repid
    I_CALLBACK_PF_STATUS_SET = 'SET_PF_STATUS'
    I_CALLBACK_USER_COMMAND = 'USER_COMMAND'
    i_structure_name = 'QMEL'
    TABLES
    t_outtab = i_qmel
    EXCEPTIONS
    program_error = 1
    OTHERS = 2.
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    form set_pf_status using rt_extab type slis_t_extab.
    set pf-status 'TEST'.
    endform.
    FORM user_command USING ucomm LIKE sy-ucomm
    selfield TYPE slis_selfield.
    data lv_ucomm type sy-ucomm.
    lv_ucomm
    = sy-ucomm.
    CASE lv_ucomm.
    WHEN 'BUTTON'. "Double Click line Item
    **Write ur functinality here
    endcase.
    endform.
    Also have a look at below links.
    http://www.sap-basis-abap.com/abap/add-button-to-alv-toolbar-with-reuse-alv-list-display.htm
    ALV report
    Best Regards,
    Vibha
    *Please mark all the helpful answers

Maybe you are looking for

  • Excise difference in Commercial invoice and GRN for import PO

    Dear All This is regarding Import PO During Making Commercial Invoice I am booking the commercial invoice CVD ,Edu cess and Sec Edu cess Let us say 14 Rs 2 Rs 1 Rs Now during GRN when the bill of entry cones the actual CVD is 16 Rs Ecess 2.5 Rs and S

  • How to Search for "(" error  in a string?

    I am trying to search for "(" in a string, however the compiler thinks that I searching for a regular expression, and fails. Exception in thread "main" java.util.regex.PatternSyntaxException: Unclosed group near index 1 Please help me find a way to s

  • Override update profile.Purch.requisition statiscal between fund reser&po

    Dear all, We are using update profile 101 and our current chain  flow is: funds reservation purchase order invoice payment we would like to include in our flow purchase requisition but as statistical budget update. As I understood, in help it is said

  • Where can I find/download A.Pack?

    I can't open AC3 files with Compressor and I can't find good oldie A.Pack installation disc anywhere. Is there a download link / how can require A.Pack from Apple? I like to know if my AC3 files are stereo 2.0 or DTS 2.0 Message was edited by: Mr. MX

  • HP 5500 Extra page printing?

    Have am HP 5500 networked printer spitting out an extra page after print jobs, has been going on for about a month now.  It does this about 3/5 print jobs.  When a user sends a document whether multi paged or not, it will print the job then prints an