ALV List Display With a Pushbutton in the basic list

i have displayed the po details in teh basic list. I have used the double clicking functionality. It worked well. Now instead of double clicking, i will place the cursor on the po and click a push button. then it should show the other details.
Can anyone please guide me how to create the pushbuttons on the basic list ?

Hi,
   You create your own GUI status.Pass the name of GUI status to FM REUSE_ALV_GRID_DISPLAY.
e.g.
  CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
      i_callback_program      = sy-repid
      CALLBACKPF_STATUS_SET = 'PF'
      i_callback_user_command = 'USER_COMMAND'
      i_grid_title            = text-020
      is_layout               = wa_layout
      it_fieldcat             = it_fieldcat[]
    TABLES
      t_outtab                = it_basic
    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.
SET PF_STATUS 'P1'.
ENDFORM.
On pressing that button go to secondary list.

Similar Messages

  • Create a list style with unique space after the last list item?

    I should start by saying that I'm a web designer and therefore extremely used to using CSS for type setting to the point that I now become frustrated when going back to the print world
    So here's what I'm trying to achieve:
    - I want to create a list style for bullet lists
    - I want there to be 3pt space after and space before paragraph breaks
    - I want there to be 9pt space after the entire list (or last list item)
    I can't for the life of me figure out how to do this short of overriding the space after amount on the last item each time I use my style.

    Hi supportneeder
    Welcome to the forum.
    Try this link:
    http://www.freeforum101.com/iworktipsntrick/viewtopic.php?t=179&mforum=iworktips ntrick
    Pay attention to how +"styles work by example"+. Form up the list levels the way you want them and then select them to make the list style.
    Personally I can't help remarking on the obtuse behavior of programmers that they manufactured all the problems on the internet and only now, more than a decade later, patch together "solutions" they struggle to implement due to the legacy of all the awful standards we never needed to have in the first place.
    Peter
    btw The last list item is always a problem in typesetting. Usually you deal with it by having a particular style for that or the paragraph afte,r all of which can take multiple forms.

  • When I change size of icons or icon vs list display, why does it affect the whole computer?

    When I change size of icons, or icon vs list display, why does it affect the whole computer? In some folders I want to see a list and others I want to see an icon and I don't need a large icon in all folders. I used to be able to set each folder separately in the old OS. How do I fix this?

    I can hilight an item, go to the finder/file/getinfo but there is no box next to icon view.
    I can go to view/options and adjust the icon size etc, but this applies to every folder in the whole computer. I need varied options in different folders, i.e., I want to view images as icons and text as text. I have to change it every time I open a folder. I used to be able to set it per folder in the old OS.

  • How to Display a Calender upon clicking the dropdown list inside a table co

    Hi,
    I have a Listbox inside my table control and I need to Display a Calender upon clicking the dropdown list.
    Can any body help.
    Srinivas

    Hi,
    Try this:
    On your customizing screen,
    PROCESS ON VALUE-REQUEST.          
        Field T_ZT-SDATE
          module create_dateselect.
    In your main program:
    module create_dateselect.
    data:p_date like sy-datum.
    CALL FUNCTION 'F4_DATE'
       EXPORTING
         holiday_calendar_id = 'CN'                   
         display = ' '
       IMPORTING
         select_date = p_date
       EXCEPTIONS
         OTHERS = 4.
    t_zt-sdate = p_date.
    endmodule.
    Regards,
    Pole

  • I am trying to free up some room on my touch and am unable to delete any songs or books from the listing.  With iTumes open and my touch listed I open the touch.  I then select the items I want to delete from the touch and press the delete button.

    I am trying to free up some room on my touch and am unable to delete any songs or books from the listing.  With iTumes open and my touch listed I open the touch.  I then select the items I want to delete from the touch and press the delete button.  Nothing happens.  I have also tried to right click on the item, but a delete option is not listed.  What do I need to do to get rid of some books?

    Open itunes, connect ipod, go to each tab, select what you want to be on the ipod, sync

  • I downloaded itunessetup but when i open it it asks what program to run it with. but none of the programs listed would be a program to run a .exe program?

    so i downloaded itunessetup but when i open it it asks what program to run it with. but none of the programs listed would be a program to run a .exe program? what should i do?

    Maybe it didn't get the EXE extension.  If it does not have the extension, put one on it and see if that helps.
    If it has a DMG extension, it is the Mac version of the software.

  • Is there any way to get an ipod to display only complete albums in the albums list?

    is there any way to get an ipod to display only complete albums in the albums list (rather than every album represented by every song on the ipod)?

    Sounds like there is some discrepancies in the tagging in iTunes.  See this page for more information.
    Grouping Tracks Into Albums
    B-rock

  • Sometimes my ipod does not down load my entire library when I sync up with itunes, even if I have items loaded in the play list and can see them in the play list in my itunes when I check my ipod play list some items are missing part 1 will be there but p

    Sometimes my ipod does not down load my entire library when I sync up with itunes, even if I have items loaded in the play list and can see them in the play list in my itunes when I check my ipod play list some items are missing part 1 will be there but part two is not. Why?????

    How is your iPod configured to sync music from your iTunes library?  In other words, what options and configurations do you have enabled from under the iPod's Summary and Music configuration panes in iTunes?
    B-rock

  • Can you have two detail lists from the basic list at the same time?

    Hi
    Can you have two detail lists from the basic list at the same time?
    If yes how and if no why?
    Thanks
    Venkat

    No   ... it is not   possible   of   2 detail  list at   one time   from the basic  list ...
    you can  increament   the SY-LSIND  .... But you can not   display  both the windows   at single time  ...
    it is  possible  to  display  2 Detail list  in ALV   ......  from one  basic  list   using  the  Blocked  list  concept    .
    Sample Program on BLOCK LISTS
    Report   zblock_list
    * Declarations for BLOCK ALV DISPLAY
    *--type pools
    TYPE-POOLS:slis.
    DATA:x_layout TYPE slis_layout_alv,
    t_field TYPE slis_t_fieldcat_alv,
    *--field catalog
    x_fldcat LIKE LINE OF t_field,
    *--to hold all the events
    t_events TYPE slis_t_event,
    x_events TYPE slis_alv_event,
    t_sort TYPE slis_t_sortinfo_alv,
    x_sort LIKE LINE OF t_sort ,
    *--Print Layout
    x_print_layout TYPE slis_print_alv.
    *----Macro to add field catalog.
    *field "text "length "tech "COL_POS "DATATYPE "DDIC_OUTPUTLEN
    DEFINE add_catalog.
    clear x_fldcat.
    x_fldcat-fieldname = &1.
    x_fldcat-seltext_m = &2.
    x_fldcat-outputlen = &3.
    x_fldcat-tech = &4.
    x_fldcat-col_pos = &5.
    x_fldcat-no_zero = 'X'.
    x_fldcat-ddictxt = 'M'.
    x_fldcat-datatype = &6.
    x_fldcat-ddic_outputlen = &7.
    if &6 = 'N'.
    x_fldcat-lzero = 'X'.
    endif.
    *--build field catalog
    append x_fldcat to t_field.
    END-OF-DEFINITION.
    *----- data declerations.
    data: v_repid like sy-repid.
    data: begin of itab occurs 0,
    matnr like mara-matnr,
    ernam like mara-ernam,
    meins like mara-meins,
    end of itab.
    data: begin of jtab occurs 0,
    matnr like makt-matnr,
    maktx like makt-maktx,
    end of jtab.
    select matnr ernam meins
    up to 20 rows
    from mara
    into table itab.
    select matnr maktx
    up to 20 rows
    from makt
    into table jtab.
    v_repid = sy-repid.
    *DISPLAY alv
    * Initialize Block
    call function 'REUSE_ALV_BLOCK_LIST_INIT'
    exporting
    i_callback_program = v_repid.
    *Block 1:
    *INITIALIZE
    refresh t_field. clear t_field.
    refresh t_events.
    *field "text "length "tech "COL_POS "DATATYPE "DDIC_OUTPUTLEN
    add_catalog:
    'MATNR' 'Material' '18' '' '1' 'C' '18',
    'ERNAM' 'Created By' '12' '' '2' 'C' '12',
    'MEINS' 'Unit' '5' '' '3' 'C' '3'.
    *--build table for events.
    x_events-form = 'TOP_OF_LIST1'.
    x_events-name = slis_ev_top_of_list.
    append x_events to t_events.
    call function 'REUSE_ALV_BLOCK_LIST_APPEND'
    exporting
    is_layout = x_layout
    it_fieldcat = t_field
    i_tabname = 'ITAB'
    it_events = t_events
    it_sort = t_sort
    tables
    t_outtab = itab
    exceptions
    program_error = 1
    maximum_of_appends_reached = 2
    others = 3.
    if sy-subrc <> 0.
    message id sy-msgid type sy-msgty number sy-msgno
    with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    endif.
    *--BLOCK 2(SUMMARY REPORT)
    *INITIALIZE
    refresh t_field. clear t_field.
    refresh t_events.
    *field "text "length "tech "COL_POS "DATATYPE "DDIC_OUTPUTLEN
    add_catalog:
    'MATNR' 'Material' '20' '' '1' 'C' '18',
    'MAKTX' 'Description' '40' '' '2' 'C' '40'.
    *--build table for events.
    x_events-form = 'TOP_OF_LIST2'.
    x_events-name = slis_ev_top_of_list.
    append x_events to t_events.
    * Append table block.
    call function 'REUSE_ALV_BLOCK_LIST_APPEND'
    exporting
    is_layout = x_layout
    it_fieldcat = t_field
    i_tabname = 'JTAB'
    it_events = t_events
    tables
    t_outtab = jtab
    exceptions
    program_error = 1
    maximum_of_appends_reached = 2
    others = 3.
    if sy-subrc <> 0.
    message id sy-msgid type sy-msgty number sy-msgno
    with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    endif.
    *--CALL FM TO DISPLAY THE BLOCK REPORT.
    call function 'REUSE_ALV_BLOCK_LIST_DISPLAY'
    * exporting
    * is_print = x_print_layout
    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 top_of_list1.
    skip 1.
    write: 10 'List 1',
    /5 '--------------------'.
    skip 1.
    format reset.
    endform.
    form top_of_list2.
    skip 1.
    write: 10 'List 2',
    /5 '--------------------'.
    skip 1.
    format reset.
    endform.
    reward  points if it is  usefull ....
    Girish

  • How to run the basic list in background to generate secondary.

    How to run the basic list in background to generate secondary and spool for the secondary.Please note that Basic list will run in foreground.

    Problem solved.

  • ALV grid display with more than 1000 columns

    Hi Friends,
    I have to prepare a report output which have 1015 columns.
    User will give 100 weeks of data to retrieve. I have to display the output in day wise.
    100*7 + 315 = 1015 columns.
    I am using ALV grid display for this in 4.6C.
    My Question is, whether I have to declare the output table type with 1015 fields.?
    Is there any other way to do this, without declaring 1015 cloumns.
    Please guide me to solve this.
    Regards,
    Viji.

    I'm thinking when your End-user will press Ctrl + P feeding A4 size to printer
    Thomas:
    Maybe the functional consultant is pulling your leg?
    May be OP is pulling our legs or something further?
    Cheers

  • ALV Hierarichal display with multiple line headings

    Hi,
          I have designed an ALV report with Hierarichal display with multiple line headings...
    When i change the layout of this report,the headings which we enter manually will not take effect.The column we can hide in the report using the layout management.But the heading remains the same since it was written manually in top of page.
    Is there any possiblity to work out the Manual headings based on the layout fields.

    Hi,
    Do you use REUSE_ALV_HIERSEQ_LIST_DISPLAY? Why do you write heading manually? You can use IT_FIELDCAT parameter for defining a field catalog.

  • I have a problem with black squares in the contact list on facebook, but it is only in Firefox, I no longer know what to do? I'm using Windows 8

    I have a problem with black squares,rectangles, etc, in the contact list on facebook, but it is only in Firefox, I no longer know what to do? I'm using Windows 8.

    '''Try the Firefox Safe Mode''' to see how it works there. The Safe Mode is a troubleshooting mode, which disables most add-ons.''
    ''(If you're not using it, switch to the Default theme.)''
    * You can open the Firefox 4.0+ Safe Mode by holding the '''Shift''' key when you use the Firefox desktop or Start menu shortcut.
    * Or use the Help menu item and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    ''Don't select anything right now, just use "'Start in Safe Mode"''
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shift key) to open it again.''
    '''''If it is good in the Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one.
    Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''

  • How to set up displaying all jsp-errors in the problems-list?

    how can i set up that all jsp-problems and warnings like "some tag does not have an end tag..." are displayed in the problem list?
    when i open up a jsp-page in the editor, the warnings are displayed i can´t see them in the problem list. in the older version (m7) these warnings have been displayed by default and i can not find any setting to display this.
    any idea?
    tnx
    Rel

    When exactly it stopped displaying in Problems View? Have you installed any other plug-ins to Eclipse?
    Try the following steps:
    - Quit & relaunch Workshop
    - In Problems View, Launch Filters... window
    - Click "Restore Defaults" button (make sure JSP problem is checked)
    - Click OK
    - Does the warnings displayed in Workshop JSP/XML Editor appear in the Problems View?
    In case you still face the same problem, please send the following information to [email protected]
    * Help > About Workshop > Click on Eclipse icon - Version & build id
    * Help > About Workshop > Click on Workshop icon - Version & build id
    * Window > Preferences > Java > Installed JREs - the JRE/JDK version
    * .log file from <Eclipse Workspsace>.metadata directory
    * m7.log.0 from <Workshop_Home_Dir>Workshop\eclipse\plugins\com.m7.nitrox_3.0.0 directory
    * <Workshop_Home_Dir>Workshop_InstallLog.log
    * If you can remember, the steps exercised (or plug-ins installed) before encountering this behavior

  • 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

Maybe you are looking for

  • How do I sync my i phone contacts and calendar on to my new lap top?

    I want to replicate my phone calendar and contacts on my lap top. Also, emails that I send from my phone show on my lap top, but not vice versa. Can I sync all of this through i Tunes somehow?

  • Error during distribution for compiled codegeneration

    Hi, I'm doing application distribution for my application using a fscript script and am forcing compilation on 2 of my partitions. This I have been doing from quite sometime successfully. Recently I developed a new service and plugged it into my appl

  • Using ipod as a flash drive

    Yes, it's the same as a Flash Drive, and can be used to store anything you want. say i put a paper for class on it and i wana upload it on school computers do i have to load my ipod on the computers and take my usb or what?

  • Jump Drive does not appear in finder

    Since installing Leopard none of my jump drives appear in the finder even after checking the appropriate boxes.

  • Multiple NICs for one virtual network (need better then 1GB)

    I just finished deploying a new two node cluster. The network part is as follows: New-NetLBFOTeam –Name ConvergedNetTeam –TeamMembers pNIC-300,pNIC-301,pNIC-400,pNIC-401,pNIC-901 –TeamingMode SwitchIndependent –LoadBalancingAlgorithm Dynamic -confirm