REGARDING ALV BLOCK DISPLAY AND GRID DISPLAY

HI FRIENDS,
I HAVE A TROUBLE IN DISPLAYNG TWO TABLES TOGETHER IN THE GRID DISPLAY, BUT I CAN DISPLAY USING BLOCKS. I DONT WANT TO  USE JOIN STATEMENT IN THE SELECT QUERY.
HELP WITH BY DISPLAYING THE RESPECTIVE CODES FOR THAT.
THANK U IN ADVANCE

hi,
type-pools  : slis,icon.
data : gd_repid like sy-repid.
data : d_fieldcat type slis_t_fieldcat_alv,
          d_fieldcat_wa type slis_fieldcat_alv.
data : begin of itab_mara occurs 0,
         matnr like mara-matnr,
         ernam like mara-ernam,
        end of itab_mara.
data : begin of itab_marc occurs 0,
         matnr like marc-matnr,
         werks like marc-werks,
         end of itab_marc.
data : begin of itab_final occurs 0,
          matnr like mara-matnr,
          ernam like mara-ernam,
          werks like marc-werks,
          end of itab_final.
gd_repid = sy-repid.
loop at itab_emp.
itab_final-matnr = itab_emp-matnr.
itab_final-ernam = itab_emp-ernam.
append itab_emp.
clear itab_emp.
endloop.
d_fieldcat_wa-fieldname = 'MATNR'.
d_fieldcat_wa-seltext_l = 'material number'.
d_fieldcat_wa-col_pos = 1.
append d_fieldcat_wa to d_fieldcat.
clear d_fieldcat_wa.
d_fieldcat_wa-fieldname = 'ERNAM'.
d_fieldcat_wa-seltext_l = 'created by'.
d_fieldcat_wa-col_pos = 2.
append d_fieldcat_wa to d_fieldcat.
clear d_fieldcat_wa.
d_fieldcat_wa-fieldname = 'WERKS'.
d_fieldcat_wa-seltext_l = 'plant number'.
d_fieldcat_wa-col_pos = 1.
append d_fieldcat_wa to d_fieldcat.
clear d_fieldcat_wa.
call function module 'REUSE_ALV_GRID_DISPLAY'.
Reward with points if helpful.

Similar Messages

  • What is the  difference between list display and grid display in alv report

    Hai genious
    i am a new of the abap, i dont know the alv report, i have a small doubt, can u please tell me  what is the main difference between list display and grid display in alv report
    thanks&regards
    chinnu

    Hi ,
    1. For all practical purposes, they are the same.
    2. Some differences:
    a) from abap coding point of view,
    alv list is done with Function modules,
    alv gris can also be done with FM,
    but can also be done using OO concepts.
    b) Alv grid (using oo concept) requires
    designing the screen layout .
    Hence, in one screen, we can show more
    then one alv grid
    (we cannot show more than
    one alv list on one screen)
    c) ALV grid uses ActiveX controls
    present on the Presentation Server.
    Hence, it consumes More Memory
    on the presentation server.
    d) ALV LIST is Display Only.
    Whereas
    ALV Grid Can Be made EDITABLE for entry purpose.
    e) In alv grid, these options are possible,
    but not in alv list.
    without horizontal lines
    without vertical lines
    without cell merging during sorts
    display total lines above the entries
    I hope it helps.
    Regards,
    Mamta
    Edited by: Mamta Verma on Nov 27, 2008 6:41 AM

  • List display and grid display

    hi SDNers,
    can any one help me on what are the differences between list diplay and grid display in r3 alv reports.
    quick reply is highly appreciated.

    Hi mahesh,
    1. For all practical purposes, they are the same.
    2. Some differences:
    a) from abap coding point of view,
    alv list is done with Function modules,
    alv gris can also be done with FM,
    but can also be done using OO concepts.
    b) Alv grid (using oo concept) requires
    designing the screen layout .
    Hence, in one screen, we can show more
    then one alv grid
    (we cannot show more than
    one alv list on one screen)
    c) ALV grid uses ActiveX controls
    present on the Presentation Server.
    Hence, it consumes More Memory
    on the presentation server.
    d) ALV LIST is Display Only.
    Whereas
    ALV Grid Can Be made EDITABLE for entry purpose.
    e) In alv grid, these options are possible,
    but not in alv list.
    without horizontal lines
    without vertical lines
    without cell merging during sorts
    display total lines above the entries
    I hope it helps.
    regards,
    amit m.

  • Diffence in line item display and Balance display

    Hi Gurus,
    Please let me know why there is difference in line item display and balance display in one of GL account in previous year for 1 posting period.what can be cause for this, If I go at FS10n and check the balance for specific period it shows different balance and if I double click on same period and I can see the different Balance for same GL.
    Thanks
    Edited by: Manu Rathore on Feb 8, 2012 3:06 AM
    Edited by: Manu Rathore on Feb 8, 2012 3:15 AM

    Hi,
    this is FS10N - Balance display-GL X
    Period                    Dr                  Cr                 Balance
    12/2011                  33,229.00       49,395.00     16,166.00-Cr
      Type     Doc. Date  Amount in local cur. DocumentNo
      KG       31.12.2011              400.00  65762562
      KG       31.12.2011              200.00  65762563
      KA       28.12.2011              900.00  68250089
      KA       28.12.2011            1,000.00  68250090
    Line item Display Account             X 
    company Code            0000
      Type     Doc. Date  Amount in local cur. DocumentNo
      KZ       22.12.2011              500.00  69461532
      KA       22.12.2011              200.00  68250072
      KZ       22.12.2011              200.00  69461534
      RE       28.12.2011            4,445.00  60000201
      RE       28.12.2011            1,445.00  60000202
      KA       28.12.2011              250.00  68250084
      KA       28.12.2011            1,500.00  68250085
      KA       15.12.2011            2,000.00  68250077
      KZ       29.12.2011            6,555.00  69461633
      KZ       29.12.2011            7,868.00  69461633
      RG       30.12.2011            5,566.00  64000464
    Account x           33,029.00     
    See the difference in Dr side at FS10N it= 33229
    and line item total =33029
    Difference of 200.
    Same there is difference in credit side.
    Hope you understand it.
    Thanks

  • Different resolutions for Macbook Pro display and External display

    Is it possible to have different resolutions for a Macbook Pro and an external display. I prefer to see less but larger on my Macbook Pro whilst seeing more but smaller on my external display. I use the DVI output to connect to an Acer 22in display.
    Thanks in advance
    Ian

    in4time wrote:
    I've actually tried that process and it doesn't work; I still get the same display qualities on both. Perhaps that process might work if one is not mirroring. Maybe there is a compatibility issue between my Macbook Pro and the Acer 223W. I'll persevere, but thanks for your help anyway.
    Ian
    Hi Ian,
    allow me to chime in:
    You are absolutely correct!
    In 'Mirroring Mode' both internal and external display have the same resolution.
    Only in 'Extended Mode' you can have different resolutions for both displays.
    Regards
    Stefan

  • Two External Displays and Internal Display Over Different Connections

    Hi there.
    I'm going to be purchasing a rMBP in the very, very near future. However, I am unclear about how external displays work with this. My current display setup at work is two basic 1080p monitors that can be run over DVI, VGA or HDMI. I'd like to keep using these when I start using the rMBP but also gain the advantage of a third screen by using the internal display at the same time (so much space for activities!).
    One of the thunderbolt ports will need to be used for an Ethernet connection (there is no wireless here), so this leaves the setup needing to be one monitor run via Thunderbolt -> DVI and the other monitor run via HDMI.
    The internet in general isn't being entirely helpful with this. I'm looking for a clear answer of whether the rMBP will run the internal display and the two external displays using this setup under OS X. Some seem to believe that it won't work using different connection types, for example.
    Thanks for any help.

    Hello dljfield,
    Thanks for using Apple Support Communities.
    If you'd like to use multiple external displays with a MacBook Pro with Retina display, then please take a look at the information outlined below. A 15" MacBook Pro mid-2014 can support up to two external displays using different outputs.
    MacBook Pro (Retina, 15-inch, Mid 2014) - Technical Specifications
    OS X Yosemite: Connect multiple displays to your Mac
    Take care,
    Alex H.

  • What is the difference between GRID DISPLAY AND LIST DISPLAY

    WHAT IS THE DIFFERENCE BETWEEN THE
                                                        REUSE_ALV_GRID_DISPLAY .
                                                                           AND
                                                       REUSE ALVLIST_DISPLAY.
    COULD U PLZ GIVE ME THE CLEAR DIFFERENCE.

    hi,
    1. For all practical purposes, they are the same.
    2. Some differences:
    a) from abap coding point of view,
    alv list is done with Function modules,
    alv gris can also be done with FM,
    but can also be done using OO concepts.
    b) Alv grid (using oo concept) requires
    designing the screen layout .
    Hence, in one screen, we can show more
    then one alv grid
    (we cannot show more than
    one alv list on one screen)
    c) ALV grid uses ActiveX controls
    present on the Presentation Server.
    Hence, it consumes More Memory
    on the presentation server.
    d) ALV LIST is Display Only.
    Whereas
    ALV Grid Can Be made EDITABLE for entry purpose.
    e) In alv grid, these options are possible,
    but not in alv list.
    without horizontal lines
    without vertical lines
    without cell merging during sorts
    display total lines above the entries
    ALV LIST Can be coded using only FMs
    ALV GRID Can be coded using FMs and object oriented concepts
    ALV LIST Can be displayed hieraicharlly
    ALV GRID cannot be displayed hierarichally
    I hope it helps.
    Regards
    anver

  • Regarding ALV double click and error

    hello all ,
    suppose you have error in your report at particular line no. you are displaying that line no. in alv now if you double click on line no in alv ,it will open that report in se38 with cursor postion at that line no contain error.i think there should be FM but i donot know its name.
    its urgent.
    plz help me.
    thanks in advance.

    I have an alv which has two column one is reort name and 2nd is for error (conatin line no where is error) that reort conatain. 
    now i duble click on error column it should open that report in se38 and cursor should be at that line no.
    e.g. i have zsales report which has an error on line no.'11' .
    when i double click on line no 11.report zsales should be open in se38 with cursor postion at 11th line no in report.
    thanks

  • Laptop Built In Display and External Display not Working

    Hi all, I have a HP Envy M6-1158ca, and recently my Built-in display stopped working. I plugged it into an external display via HDMI and it showed no input. It seems as though the laptop is not booting into Windows either, as usually whenever my laptop boots into windows, the fingerprint scanner blinks letting me know I can now sign in using it. I am extremly frustrated with this, and have an unbelieveable amount of stress because this was my only PC. Please respond as soon as possible, it would be much appreciated.
    Thanks in advance.
    This question was solved.
    View Solution.

    Yes.. i think thats what might have damaged it...Notebook should always be completely powered off with the battery out and ac adapter disconnected while  replacing any internal hardware..
    Shouldnt be a BIOS problem....but still you can check this link..
    Restoring the BIOS
    Note:
    If you have HP Support Assistant installed on the computer(The Blue Question Mark) then open it ==> Complete all pending Updates & Tuneups==> Restart and Check. It may solve your problem
    Although I am an HP employee, I am speaking for myself and not for HP.
    **Click on “Kudos” Star if you think this reply helped** Or Mark it as "Solved" if issue got fixed.

  • Apple Cinema Display and mini display port

    I have purchased (for a ridiculous price) an adapter to allow me to use my cinema display with my new macbook pro retina system.  While it does work it doesn't seem to allow me to use anything but best for display which is only 1280x800 resolution which is far less than this monitor supports and looks terrible.  In fact for making me spend $30 for a stupid adapter is is very disppointing.
    So first question is can anyone tell me if there is some way to get this to actually work?
    Second question along the same line, is that I also purchased an adapter for mini display to VGA for using with projector systems that I sometimes need to hook up to when I go onsite to customer facitilites and within about an hour of being attached to an Acer monitor my entire system seg faulted and crashed with a hard reset.  Equivalent to the Windows blue screen of death.  I've never had this happen before and wondering if this is a known problem?
    Thanks for any info you can provide.
    Glenn

    Do you have your MacBook Pro in mirror mode or extended desktop mode (System Preferences > Displays)?  If it's in mirror (the default) then the external display will be limited to the MBP's screen resolution.  I use my miniDisplayPort -> DVI adapter all the time with my Sony Bravia TV and have no issues displaying 1920x1080 on the extended desktop.
    Officially, the Retina MBP supports:
    - 2880 by 1800 pixels (Retina mode)
    - 1920 by 1200, 1680 by 1050, 1280 by 800, and 1024 by 640 pixels (scaled mode)
    In System Preferences > Displays make sure your display setting is Extended and then select the extended display panel and select 1680x1050.  See if that helps.  If that works, then try the 1920x1200 setting if your display supports it.  BTW, the extended display panel only appears if you actually have the external display connected. 
    What make/model monitor are you using?
    Never heard of a system crashing because it was connected to a projector.  I also use the miniDisplayPort -> VGA adapter to project and have never had a problem.
    Is there anything else going on with your MBP?

  • Thunderbolt Display and MBA Display options

    if i make any application ( chrome, spotify etc ) full screen either on MBA display or on the Thunderbolt screen, the other screen goes grey. How can make an application like spotify, chrome full screen on Thunderbolt display but still keep using outlook/mail on the main mba screen ?

    Hello, Fran. 
    Thank you for using Apple Support Communities. 
    This is the normal functionality of operating systems Mac OS X 10.8 and earlier.  However, we recently released a new operating system for free that will allow the use of multiple displays in full screen mode. 
    http://www.apple.com/osx/whats-new/#multiple-displays
    Hope this helps,
    Jason H. 

  • Look at the diff between my retina display and 27 display!

    Is this normal? Brand new 15" retina next to brand new thunderbolt display...

    Yes, they are clearly different.  But the Thunderbolt display is NOT a retina display.  I would not expect them to look the same "out of the box."  It's actually the same panel as the older Apple LED Cinema Display.  It's an LED lit (edge lit) IPS LCD panel vs. the Retina panel's back lit design, and I would have to believe the underlying colorspace of the two is not the same.
    I assume the TBolt display is connected to your rMBP.  It would appear to be so, and that you are using Extended Desktop mode.  Is that the case?
    Are you using the same, or a higher resolution, on the TBolt display compared to your rMBP?  Have you adjusted the brightness on each display so they are comparably illumnated?
    That said, I would have no expectation that the TBolt display (or any other external display) would match your rMBP display.  They are not the same technologies.  I have no idea why someone at Applecare would suggest otherwise.
    If you truly want them to match as closely as possible you will need to calibrate the displays. There are many calibrators available, at different price & feature levels.

  • FORUM is displayed and then displays the mainpage instead

    Hello,
    I have a strange behavior with the forums component. The forum shows up in the portal. After a few seconds the forums iView shows the portal homepage top and left navigation in the area of the iView. So I have two times the same header and left side navigation. In the remaining content part (the content part of the inner area) there is a message that says something like "you didn't show a topic or your session expired". When I test the iView it shows the same text and I can see that the forum forwarded to "http://mydomain:myport/irj/portal/forums?ForumsTarget=forums/recent-history.jspa"
    We are using the most recent versions of the KMC + forums component.
    Has someone an idea what could be wrong with it?
    Thx, Vanessa

    Hi Vanessa.
    I had this problem too long time ago.
    Try to recreate a forum iview and make sure that in iView Wizard you choose "iView template - create an iView from an existing iView template" (not from *par file).
    This is a strange advice, but anyway that was my mistake.
    Secondly, try to open foum Iview through the Quicklink.
    Hope this helps.
    Yauhen

  • ALV BLOCK and GRID to move right in screen

    Dear all,
      How to move the reuse_alv_block_display and grid display to little right side of screen and also it should go back to the previous screen clicking the back button.
    Thanks in advance.

    Hi
    call function 'REUSE_ALV_GRID_DISPLAY'
    Exporting
    This code will start your screen at column 4 and line 5.
    SCREEN_START_COLUMN = 4
    Screen_start_line                 = 5.
    And you header will come in every page for that you have to define a routine
    Form top_of_page.
    Endform.
    and pass this routine name name to your REUSE_ALV_GRID_DISPLAY FM.
    Check this code for the example of TOP_OF_PAGE.
    http://www.sap-img.com/abap/sample-alv-heading-in-alv.htm
    Regards
    Neha
    Edited by: Neha Shukla on Nov 30, 2008 7:11 PM

  • Refreshing grid display

    Hi All,
    My question is regarding report and grid display:
    1) After executing report (with selection-screen), we will be directed to a screen (module pool) with multiplt ALV grids by making use of Splitter Control (which is dynamic depending on the output table).
    Suppose only one output table is available then only on grid will be displayed, if two output tables are there then 2 grids will be displayed.
    2) After executing this module pool screen, one more screen with errors would be displayed.
    Now the output tables may vary in terms of no.of tables and in terms of data. Say like one more output table may be added to the previous screen.
    But my second screen (mentioned in point 1) is not getting refreshed after coming back from error screen (mentioned in point 2).
    Please provide some info on this. Hopefully my req is clear.
    Regards
    Satya Priya

    when you are coming back , call the method: CALL METHOD gv_grid1->refresh_table_display. and CALL METHOD gv_grid2->refresh_table_display.
    this might help.

Maybe you are looking for

  • Images Problem in Firefox -- very weird -- please help!

    Hi all, I need your help here with ideas... I have built a site that is 100% Flex, full size.  It uses images in two different ways: Image controls and HTML text.  Both are populated dynamiccally from XML resources. In IE, these all work perfectly. 

  • W_DAY_D_FSCL_TMP population

    Hi all, We have W_DAY_D populated from different sources . one of the source for few of the columns is W_DAY_D_FSCL_TMP. but , now the issue is the mapping populating W_DAY_D where W_DAY_D_FSCL_TMP is a source did not run till now in our ETL. What co

  • Using a touch on a mac and a pc?

    Hello everyone!! Well i have a question about a touch i just ordered for a friend as a gift. Actually she has a pc and i have a mac. Once received i wanted to put some music, video and photo inside, but i wonder if the touch will be associated to my

  • No DataTimeDigitized value in movies as is in photos?

    In a photo there is a metadata value that shows the date the photo was shot, that is different from when the file was created, so you don't have to worry if you copy or change the file later and the date of the it changes, since the date of the shot

  • Illustrator CS3 install error

    Hello, I'm away from home and brought my Illustrator CS3 box with me to install on a laptop gifted to me to try and get me working again. My old (and I mean OLD) desktop computer at home hasn't run for over 6 months. (Had installed Illustrator CS3 on