Blank subtotals

This seems to come up once in a while. I have a view which has both number and Date types. When I subtotal any of the numbers, it works fine. Ditto the dates (or more correctly, a calculation that is the difference between two Date types).
But if I try to subtotal both, when the report begins recalculating, it immediately tells me the Discover connection to the server is lost, and I must exit and restart the program. Doen't matter if I sutotal numbers first, then add the date subtotal, or if I do the date first, then add a number subtotal.
One last interesting note: the Grand Totals work fine. The propblem is repeatable in a test report with no joins other than those in the view. I've checked the joins in the view (and tried them in bth directions just in case I was wrong) with no effect.
Anyone have any ideas what I should try next? I'm using Discover Plus v. 10.1.2.54.25 on IE 7.0, Win Xp SP2.
thx

Hi John
When you are running IE7 did you upgrade to 10.1.2.2 and apply the IE7 patch? I ask because without doing that then IE7 is not a certified browser. Should this be the case have you tried the same on a machine running IE6?
Best wishes
Michael

Similar Messages

  • Insert subtotals in blank cells in Excel

    I just completed a complicated exercise where I expanded upon an existing table using VLOOKUP.  My next step was to insert subtotals in each of the new columns of the modified table.  But, the original subtotals in the original table
    were text, not formulas.   So, I had to insert new subtotal formulas in each cluster of the table.  This was time-consuming, because each grouping contained a different number of rows.
    Q:  How could I have instructed Excel to insert subtotals quickly for each set of rows in the new table, without having to enter a new range of cells in each formula?  The subtotals would have to land in the blank cells underneath each cluster
    of data.
    Doug in York PA
    Douglas R. Eckert

    I'm not quit sure what's your table looks like.
    If you want to excel insert a formula to the blank cells under each cluster of data. You may need to use VBA code to achieve that, otherwise I don't think excel will be so smart that can insert formula automatically.
    And how is it time consuming to enter the formula? since you have said they are all formatted as table, you can take advantage of the column names in the formula.
    Maybe you can share your file with us, meanwhile if you hope to find some VBA code to achieve it, you can post your question to the forum for Excel Developer:
    http://social.msdn.microsoft.com/Forums/office/en-US/home?forum=exceldev
    Best Regards,
    Wind

  • Urgent!! Sum function for subtotals.,Exporting BA does not list Workbooks

    Hi,
    I m facing this issue when calculating subtotals in the report. When i use the sum function, the subtotals are not getting displayed. I tried usin the Cell Sum Distinct function and it sums up only if the amounts are different. For example when i have two amounts of 5.00 each, it sums as 5.00 only in the subtotal. Can anyone help me resolve this?
    Also, i m facing one more issue. When i export the BA, the user wants the list of workbooks under that that would be exported. (The list is shown when exporting the EUL as such), but the list is just blank in BA export. Is this a set up issue?
    Thanks in advance.

    Hi,
    Not all calculations can be summed correctly by Discoverer. What is the calculation that you are trying to sum?
    The workbooks are not tied to a BA as the folders used in a workbook may be in many different BAs. Therefore the workbooks are not exported with a business area. The workbooks must be exported separately.
    Rod West

  • Introduce blank line after every sub-total

    I want to add a blank line after each sub-total to improve readability. I thought CHAR(13) would do the trick. Do you have any ideas on how to accomplish this?
    Thanks,
    Dinesh.

    In Pivot Table, you can do duplicate layer on the column that you are subtotalling on. Then in the sum property of the duplicate column, specify label only. Hide the duplicate column.
    hth
    -Prakash

  • New Page before or after subtotalled group

    I have a report which covers multiple projects with subtotals for each project. I currently have the situation where the page break cuts in the middle of the project group and shows on the next page, you end up not knowing what the project is. I can set page breaks so they are defined but the second projects or elements to each project are added it inserts a blank or a partial page. I'd like to have the page break inserted before or after the project group. Any suggestions?

    I was thinking that would make the most sense also.  It's just that the Lenovo Win8 pages say to do your updates *before*.
    http://download.lenovo.com/lenovo/content/windows8​/upgrade/think/notebook2_en.html
    And then there's this really scary-looking page about everything you should un-install first:
        http://download.lenovo.com/lenovo/content/windows8​/upgrade/think/notebook4_en.html
    Is this for real?  This would take hours.

  • Adobe cloud - opens to blank white window

    just downloaded the adobe cloud for the first time.  30 day trial opens to blank white screen everytime, I can't try any programs.  Thanks

    I have the same issue.
    Downloaded and installed CC ok.
    Start CC and all I get is the CC banner at top of screen with cog symbol.
    Rest of screen is white, blue circle goes round and round for few seconds while loading then disappears.
    The only options when click on cog is Help, Pin to Notification area & Quit.
    Have tried running as admin - no good.
    Have tried renaming odm.db to odb_old.db - no good.
    this is on desktop.
    i signed up for the PS & LR package.

  • Converting null and blank to NA in a column of a database table

    Hi
    This is a simple thing but is giving me a hard time. I need to change the values coming as null or blank to NA . The values comes in a flat file as a source and I need to laod it convertign to NA in database. I wrote the expression as
    ISNULL([NPS Rating]) ? "NA" : [NPS Rating] in a derived column  and checked the box " retain null values from source as null values in data flow:
    However it is not working instead giving the error as : Truncation may occur due to inserting data from dataflow column from  column name" with a length of ...........
    Can any help me to sort out this problem. Am I writing the correct expression?
    Thank you so much for your help in advance.
    Kind regards
    Rama

    In your conditional result force it to the same length and type and make sure it is long enough, e.g.
    ISNULL([NPS Rating])==TRUE ? (DT_WSTR,256)"NA" : (DT_WSTR, 256)[NPS
    Rating]
    and if the data comes from a flat file, the test will most likely need to test for zero length string too, or trim spaces and then test for zero length.
    LEN(TRIM([NPS Rating])) == 0 || ISNULL...
    Jan D'Hondt - SQL server BI development

  • When i login to a website, it loads then gives me a blank page ?

    I can view a page regularly, like everything is normal until i go to log in. I get a blank page as soon as the page loads, and this happens to many websites. Ive tried searching in safemode, editing my firewall settings, removing cookies, disabling plug-ins, clearing history/cache, but i've had no luck so far. Anyone have any solutions ?
    I notice that every page i load includes ".php" in the URL bar.
    Thanks in advance

    Hello,
    The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information.
    Note: ''This will cause you to lose any Extensions, Open websites, and some Preferences.''
    To Reset Firefox do the following:
    #Go to Firefox > Help > Troubleshooting Information.
    #Click the "Reset Firefox" button.
    #Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
    #Firefox will open with all factory defaults applied.
    Further information can be found in the [[Reset Firefox – easily fix most problems]] article.
    Did this fix your problems? Please report back to us!
    Thank you.

  • New Install - startx results in blank screen with mouse cursor

    I installed Arch on my desktop last week with no issues, so I wanted to install it on an old THinkpad R31. Everything with the installation went smooth, but when I try to 'startx' all I get is a blank screen with a mouse cursor that I can move around. I've installed xorg-xinit, xorg-twm, xorg-xclock, and xterm.
    I'm not getting any significant errors in the logs, or even the terminal I issue 'startx' in.
    I'm not sure what the problem could be...
    Here is my output from 'startx'
    X.Org X Server 1.13.0
    Release Date: 2012-09-05
    X Protocol Version 11, Revision 0
    Build Operating System: Linux 3.6.0-1-ARCH i686
    Current Operating System: Linux x_00294-ibc 3.5.6-1-ARCH #1 SMP PREEMPT Sun Oct 7 19:33:50 CEST 2012 i686
    Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=ec6a9a60-8d8c-4de0-960b-9e2a044d0ca5 ro quiet
    Build Date: 05 October 2012 02:01:30PM
    Current version of pixman: 0.26.2
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    (==) Log file: "/var/log/Xorg.0.log", Time: Sat Oct 13 09:26:12 2012
    (==) Using config directory: "/etc/X11/xorg.conf.d"
    Initializing built-in extension Generic Event Extension
    Initializing built-in extension SHAPE
    Initializing built-in extension MIT-SHM
    Initializing built-in extension XInputExtension
    Initializing built-in extension XTEST
    Initializing built-in extension BIG-REQUESTS
    Initializing built-in extension SYNC
    Initializing built-in extension XKEYBOARD
    Initializing built-in extension XC-MISC
    Initializing built-in extension SECURITY
    Initializing built-in extension XINERAMA
    Initializing built-in extension XFIXES
    Initializing built-in extension RENDER
    Initializing built-in extension RANDR
    Initializing built-in extension COMPOSITE
    Initializing built-in extension DAMAGE
    Initializing built-in extension MIT-SCREEN-SAVER
    Initializing built-in extension DOUBLE-BUFFER
    Initializing built-in extension RECORD
    Initializing built-in extension DPMS
    Initializing built-in extension X-Resource
    Initializing built-in extension XVideo
    Initializing built-in extension XVideo-MotionCompensation
    Initializing built-in extension XFree86-VidModeExtension
    Initializing built-in extension XFree86-DGA
    Initializing built-in extension XFree86-DRI
    Initializing built-in extension DRI2
    Loading extension GLX
    xinit: connection to X server lost
    waiting for X server to shut down XIO: fatal IO error 0 (Success) on X server ":0"
    after 554 requests (554 known processed) with 0 events remaining.
    xterm: fatal IO error 11 (Resource temporarily unavailable) or KillClient on X server ":0"
    xterm: fatal IO error 11 (Resource temporarily unavailable) or KillClient on X server ":0"
    xterm: fatal IO error 11 (Resource temporarily unavailable) or KillClient on X server ":0"
    Server terminated successfully (0). Closing log file.
    xinit: unexpected signal 2
    And my Xorg.0.log
    [ 4955.478]
    X.Org X Server 1.13.0
    Release Date: 2012-09-05
    [ 4955.479] X Protocol Version 11, Revision 0
    [ 4955.479] Build Operating System: Linux 3.6.0-1-ARCH i686
    [ 4955.479] Current Operating System: Linux x_00294-ibc 3.5.6-1-ARCH #1 SMP PREEMPT Sun Oct 7 19:33:50 CEST 2012 i686
    [ 4955.479] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=ec6a9a60-8d8c-4de0-960b-9e2a044d0ca5 ro quiet
    [ 4955.479] Build Date: 05 October 2012 02:01:30PM
    [ 4955.479]
    [ 4955.479] Current version of pixman: 0.26.2
    [ 4955.479] Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    [ 4955.479] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    [ 4955.480] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Oct 13 09:26:12 2012
    [ 4955.480] (==) Using config directory: "/etc/X11/xorg.conf.d"
    [ 4955.480] (==) No Layout section. Using the first Screen section.
    [ 4955.480] (==) No screen section available. Using defaults.
    [ 4955.480] (**) |-->Screen "Default Screen Section" (0)
    [ 4955.480] (**) | |-->Monitor "<default monitor>"
    [ 4955.481] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
    [ 4955.481] (==) Automatically adding devices
    [ 4955.481] (==) Automatically enabling devices
    [ 4955.481] (==) Automatically adding GPU devices
    [ 4955.481] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
    [ 4955.481] Entry deleted from font path.
    [ 4955.481] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
    [ 4955.481] Entry deleted from font path.
    [ 4955.481] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
    [ 4955.481] Entry deleted from font path.
    [ 4955.481] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
    [ 4955.481] Entry deleted from font path.
    [ 4955.481] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
    [ 4955.481] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
    [ 4955.481] Entry deleted from font path.
    [ 4955.481] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
    [ 4955.481] (==) FontPath set to:
    /usr/share/fonts/misc/
    [ 4955.481] (==) ModulePath set to "/usr/lib/xorg/modules"
    [ 4955.481] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
    [ 4955.481] (II) Loader magic: 0x825a620
    [ 4955.482] (II) Module ABI versions:
    [ 4955.482] X.Org ANSI C Emulation: 0.4
    [ 4955.482] X.Org Video Driver: 13.0
    [ 4955.482] X.Org XInput driver : 18.0
    [ 4955.482] X.Org Server Extension : 7.0
    [ 4955.484] (II) config/udev: Adding drm device (/dev/dri/card0)
    [ 4955.486] (--) PCI:*(0:0:2:0) 8086:3577:1014:0505 rev 4, Mem @ 0x98000000/134217728, 0x90100000/524288
    [ 4955.486] (--) PCI: (0:0:2:1) 8086:3577:1014:0505 rev 0, Mem @ 0x88000000/134217728, 0x80200000/524288
    [ 4955.486] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
    [ 4955.486] Initializing built-in extension Generic Event Extension
    [ 4955.486] Initializing built-in extension SHAPE
    [ 4955.486] Initializing built-in extension MIT-SHM
    [ 4955.486] Initializing built-in extension XInputExtension
    [ 4955.486] Initializing built-in extension XTEST
    [ 4955.486] Initializing built-in extension BIG-REQUESTS
    [ 4955.486] Initializing built-in extension SYNC
    [ 4955.487] Initializing built-in extension XKEYBOARD
    [ 4955.487] Initializing built-in extension XC-MISC
    [ 4955.487] Initializing built-in extension SECURITY
    [ 4955.487] Initializing built-in extension XINERAMA
    [ 4955.487] Initializing built-in extension XFIXES
    [ 4955.487] Initializing built-in extension RENDER
    [ 4955.487] Initializing built-in extension RANDR
    [ 4955.487] Initializing built-in extension COMPOSITE
    [ 4955.487] Initializing built-in extension DAMAGE
    [ 4955.487] Initializing built-in extension MIT-SCREEN-SAVER
    [ 4955.487] Initializing built-in extension DOUBLE-BUFFER
    [ 4955.487] Initializing built-in extension RECORD
    [ 4955.487] Initializing built-in extension DPMS
    [ 4955.487] Initializing built-in extension X-Resource
    [ 4955.487] Initializing built-in extension XVideo
    [ 4955.487] Initializing built-in extension XVideo-MotionCompensation
    [ 4955.487] Initializing built-in extension XFree86-VidModeExtension
    [ 4955.487] Initializing built-in extension XFree86-DGA
    [ 4955.487] Initializing built-in extension XFree86-DRI
    [ 4955.487] Initializing built-in extension DRI2
    [ 4955.487] (II) LoadModule: "glx"
    [ 4955.488] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
    [ 4955.489] (II) Module glx: vendor="X.Org Foundation"
    [ 4955.489] compiled for 1.13.0, module version = 1.0.0
    [ 4955.489] ABI class: X.Org Server Extension, version 7.0
    [ 4955.489] (==) AIGLX enabled
    [ 4955.489] Loading extension GLX
    [ 4955.489] (==) Matched intel as autoconfigured driver 0
    [ 4955.489] (==) Matched intel as autoconfigured driver 1
    [ 4955.489] (==) Matched vesa as autoconfigured driver 2
    [ 4955.489] (==) Matched modesetting as autoconfigured driver 3
    [ 4955.489] (==) Matched fbdev as autoconfigured driver 4
    [ 4955.489] (==) Assigned the driver to the xf86ConfigLayout
    [ 4955.489] (II) LoadModule: "intel"
    [ 4955.490] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
    [ 4955.491] (II) Module intel: vendor="X.Org Foundation"
    [ 4955.491] compiled for 1.13.0, module version = 2.20.9
    [ 4955.491] Module class: X.Org Video Driver
    [ 4955.491] ABI class: X.Org Video Driver, version 13.0
    [ 4955.491] (II) LoadModule: "vesa"
    [ 4955.491] (WW) Warning, couldn't open module vesa
    [ 4955.491] (II) UnloadModule: "vesa"
    [ 4955.492] (II) Unloading vesa
    [ 4955.492] (EE) Failed to load module "vesa" (module does not exist, 0)
    [ 4955.492] (II) LoadModule: "modesetting"
    [ 4955.492] (WW) Warning, couldn't open module modesetting
    [ 4955.492] (II) UnloadModule: "modesetting"
    [ 4955.492] (II) Unloading modesetting
    [ 4955.492] (EE) Failed to load module "modesetting" (module does not exist, 0)
    [ 4955.493] (II) LoadModule: "fbdev"
    [ 4955.493] (WW) Warning, couldn't open module fbdev
    [ 4955.493] (II) UnloadModule: "fbdev"
    [ 4955.493] (II) Unloading fbdev
    [ 4955.493] (EE) Failed to load module "fbdev" (module does not exist, 0)
    [ 4955.493] (II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
    i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G, 915G,
    E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G,
    965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45,
    4 Series, G45/G43, Q45/Q43, G41, B43, B43, Clarkdale, Arrandale,
    Sandybridge Desktop (GT1), Sandybridge Desktop (GT2),
    Sandybridge Desktop (GT2+), Sandybridge Mobile (GT1),
    Sandybridge Mobile (GT2), Sandybridge Mobile (GT2+),
    Sandybridge Server, Ivybridge Mobile (GT1), Ivybridge Mobile (GT2),
    Ivybridge Desktop (GT1), Ivybridge Desktop (GT2), Ivybridge Server,
    Ivybridge Server (GT2), Haswell Desktop (GT1), Haswell Desktop (GT2),
    Haswell Desktop (GT2+), Haswell Mobile (GT1), Haswell Mobile (GT2),
    Haswell Mobile (GT2+), Haswell Server (GT1), Haswell Server (GT2),
    Haswell Server (GT2+), Haswell SDV Desktop (GT1),
    Haswell SDV Desktop (GT2), Haswell SDV Desktop (GT2+),
    Haswell SDV Mobile (GT1), Haswell SDV Mobile (GT2),
    Haswell SDV Mobile (GT2+), Haswell SDV Server (GT1),
    Haswell SDV Server (GT2), Haswell SDV Server (GT2+),
    Haswell ULT Desktop (GT1), Haswell ULT Desktop (GT2),
    Haswell ULT Desktop (GT2+), Haswell ULT Mobile (GT1),
    Haswell ULT Mobile (GT2), Haswell ULT Mobile (GT2+),
    Haswell ULT Server (GT1), Haswell ULT Server (GT2),
    Haswell ULT Server (GT2+), Haswell CRW Desktop (GT1),
    Haswell CRW Desktop (GT2), Haswell CRW Desktop (GT2+),
    Haswell CRW Mobile (GT1), Haswell CRW Mobile (GT2),
    Haswell CRW Mobile (GT2+), Haswell CRW Server (GT1),
    Haswell CRW Server (GT2), Haswell CRW Server (GT2+),
    ValleyView PO board
    [ 4955.496] (--) using VT number 7
    [ 4955.508] (II) intel(0): using device path '/dev/dri/card0'
    [ 4955.509] (II) intel(0): Creating default Display subsection in Screen section
    "Default Screen Section" for depth/fbbpp 24/32
    [ 4955.509] (==) intel(0): Depth 24, (--) framebuffer bpp 32
    [ 4955.509] (==) intel(0): RGB weight 888
    [ 4955.509] (==) intel(0): Default visual is TrueColor
    [ 4955.509] (--) intel(0): Integrated Graphics Chipset: Intel(R) i830M
    [ 4955.509] (**) intel(0): Relaxed fencing disabled
    [ 4955.509] (**) intel(0): Wait on SwapBuffers? enabled
    [ 4955.509] (**) intel(0): Triple buffering? enabled
    [ 4955.509] (**) intel(0): Framebuffer tiled
    [ 4955.510] (**) intel(0): Pixmaps tiled
    [ 4955.510] (**) intel(0): 3D buffers tiled
    [ 4955.510] (**) intel(0): SwapBuffers wait enabled
    [ 4955.510] (==) intel(0): video overlay key set to 0x101fe
    [ 4955.593] (II) intel(0): Output VGA1 has no monitor section
    [ 4955.593] (II) intel(0): Output LVDS1 has no monitor section
    [ 4955.594] (--) intel(0): found backlight control interface /sys/class/backlight/thinkpad_screen
    [ 4955.676] (II) intel(0): EDID for output VGA1
    [ 4955.677] (II) intel(0): Printing probed modes for output VGA1
    [ 4955.677] (II) intel(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz e)
    [ 4955.677] (II) intel(0): Modeline "800x600"x60.3 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz e)
    [ 4955.677] (II) intel(0): Modeline "800x600"x56.2 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz e)
    [ 4955.677] (II) intel(0): Modeline "848x480"x60.0 33.75 848 864 976 1088 480 486 494 517 +hsync +vsync (31.0 kHz e)
    [ 4955.677] (II) intel(0): Modeline "640x480"x59.9 25.18 640 656 752 800 480 489 492 525 -hsync -vsync (31.5 kHz e)
    [ 4955.677] (II) intel(0): EDID for output LVDS1
    [ 4955.677] (II) intel(0): Not using default mode "320x240" (doublescan mode not supported)
    [ 4955.677] (II) intel(0): Not using default mode "400x300" (doublescan mode not supported)
    [ 4955.677] (II) intel(0): Not using default mode "400x300" (doublescan mode not supported)
    [ 4955.677] (II) intel(0): Not using default mode "512x384" (doublescan mode not supported)
    [ 4955.678] (II) intel(0): Not using default mode "640x480" (doublescan mode not supported)
    [ 4955.678] (II) intel(0): Not using default mode "640x512" (doublescan mode not supported)
    [ 4955.678] (II) intel(0): Not using default mode "800x600" (doublescan mode not supported)
    [ 4955.678] (II) intel(0): Not using default mode "896x672" (doublescan mode not supported)
    [ 4955.678] (II) intel(0): Not using default mode "928x696" (doublescan mode not supported)
    [ 4955.678] (II) intel(0): Not using default mode "960x720" (doublescan mode not supported)
    [ 4955.678] (II) intel(0): Not using default mode "700x525" (doublescan mode not supported)
    [ 4955.678] (II) intel(0): Printing probed modes for output LVDS1
    [ 4955.678] (II) intel(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 771 777 806 +hsync +vsync (48.4 kHz P)
    [ 4955.678] (II) intel(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz d)
    [ 4955.678] (II) intel(0): Modeline "800x600"x60.3 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz d)
    [ 4955.678] (II) intel(0): Modeline "800x600"x56.2 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz d)
    [ 4955.678] (II) intel(0): Modeline "640x480"x59.9 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz d)
    [ 4955.678] (II) intel(0): Output VGA1 connected
    [ 4955.678] (II) intel(0): Output LVDS1 connected
    [ 4955.678] (II) intel(0): Using exact sizes for initial modes
    [ 4955.678] (II) intel(0): Output VGA1 using initial mode 1024x768
    [ 4955.678] (II) intel(0): Output LVDS1 using initial mode 1024x768
    [ 4955.678] (II) intel(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
    [ 4955.678] (II) intel(0): Kernel page flipping support detected, enabling
    [ 4955.678] (==) intel(0): DPI set to (96, 96)
    [ 4955.678] (II) Loading sub module "fb"
    [ 4955.678] (II) LoadModule: "fb"
    [ 4955.679] (II) Loading /usr/lib/xorg/modules/libfb.so
    [ 4955.679] (II) Module fb: vendor="X.Org Foundation"
    [ 4955.679] compiled for 1.13.0, module version = 1.0.0
    [ 4955.679] ABI class: X.Org ANSI C Emulation, version 0.4
    [ 4955.679] (II) Loading sub module "dri2"
    [ 4955.679] (II) LoadModule: "dri2"
    [ 4955.680] (II) Module "dri2" already built-in
    [ 4955.680] (==) Depth 24 pixmap format is 32 bpp
    [ 4955.680] (II) intel(0): [DRI2] Setup complete
    [ 4955.680] (II) intel(0): [DRI2] DRI driver: i915
    [ 4955.680] (II) intel(0): Allocated new frame buffer 1024x768 stride 4096, tiled
    [ 4955.680] (II) UXA(0): Driver registered support for the following operations:
    [ 4955.680] (II) solid
    [ 4955.680] (II) copy
    [ 4955.680] (II) composite (RENDER acceleration)
    [ 4955.680] (II) put_image
    [ 4955.680] (II) get_image
    [ 4955.680] (==) intel(0): Backing store disabled
    [ 4955.680] (==) intel(0): Silken mouse enabled
    [ 4955.681] (II) intel(0): Initializing HW Cursor
    [ 4955.681] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
    [ 4955.684] (==) intel(0): DPMS enabled
    [ 4955.684] (==) intel(0): Intel XvMC decoder disabled
    [ 4955.684] (II) intel(0): Set up overlay video
    [ 4955.684] (II) intel(0): direct rendering: DRI2 Enabled
    [ 4955.684] (==) intel(0): hotplug detection: "enabled"
    [ 4955.983] (--) RandR disabled
    [ 4956.021] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
    [ 4956.021] (II) AIGLX: enabled GLX_INTEL_swap_event
    [ 4956.021] (II) AIGLX: enabled GLX_ARB_create_context
    [ 4956.021] (II) AIGLX: enabled GLX_ARB_create_context_profile
    [ 4956.021] (II) AIGLX: enabled GLX_EXT_create_context_es2_profile
    [ 4956.021] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
    [ 4956.021] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
    [ 4956.021] (II) AIGLX: Loaded and initialized i915
    [ 4956.022] (II) GLX: Initialized DRI2 GL provider for screen 0
    [ 4956.023] (II) intel(0): Setting screen physical size to 270 x 203
    [ 4956.124] (II) config/udev: Adding input device Power Button (/dev/input/event4)
    [ 4956.124] (**) Power Button: Applying InputClass "evdev keyboard catchall"
    [ 4956.124] (II) LoadModule: "evdev"
    [ 4956.124] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
    [ 4956.125] (II) Module evdev: vendor="X.Org Foundation"
    [ 4956.125] compiled for 1.13.0, module version = 2.7.3
    [ 4956.125] Module class: X.Org XInput Driver
    [ 4956.125] ABI class: X.Org XInput driver, version 18.0
    [ 4956.125] (II) Using input driver 'evdev' for 'Power Button'
    [ 4956.125] (**) Power Button: always reports core events
    [ 4956.125] (**) evdev: Power Button: Device: "/dev/input/event4"
    [ 4956.126] (--) evdev: Power Button: Vendor 0 Product 0x1
    [ 4956.126] (--) evdev: Power Button: Found keys
    [ 4956.126] (II) evdev: Power Button: Configuring as keyboard
    [ 4956.126] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input4/event4"
    [ 4956.126] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
    [ 4956.126] (**) Option "xkb_rules" "evdev"
    [ 4956.126] (**) Option "xkb_model" "evdev"
    [ 4956.126] (**) Option "xkb_layout" "us"
    [ 4956.197] (II) config/udev: Adding input device Video Bus (/dev/input/event2)
    [ 4956.198] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
    [ 4956.198] (II) Using input driver 'evdev' for 'Video Bus'
    [ 4956.198] (**) Video Bus: always reports core events
    [ 4956.198] (**) evdev: Video Bus: Device: "/dev/input/event2"
    [ 4956.198] (--) evdev: Video Bus: Vendor 0 Product 0x6
    [ 4956.198] (--) evdev: Video Bus: Found keys
    [ 4956.198] (II) evdev: Video Bus: Configuring as keyboard
    [ 4956.198] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0A03:00/LNXVIDEO:00/input/input2/event2"
    [ 4956.198] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
    [ 4956.198] (**) Option "xkb_rules" "evdev"
    [ 4956.198] (**) Option "xkb_model" "evdev"
    [ 4956.198] (**) Option "xkb_layout" "us"
    [ 4956.200] (II) config/udev: Adding input device Lid Switch (/dev/input/event3)
    [ 4956.200] (II) No input driver specified, ignoring this device.
    [ 4956.200] (II) This device may have been added with another device file.
    [ 4956.201] (II) config/udev: Adding input device Sleep Button (/dev/input/event1)
    [ 4956.201] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
    [ 4956.201] (II) Using input driver 'evdev' for 'Sleep Button'
    [ 4956.202] (**) Sleep Button: always reports core events
    [ 4956.202] (**) evdev: Sleep Button: Device: "/dev/input/event1"
    [ 4956.202] (--) evdev: Sleep Button: Vendor 0 Product 0x3
    [ 4956.202] (--) evdev: Sleep Button: Found keys
    [ 4956.202] (II) evdev: Sleep Button: Configuring as keyboard
    [ 4956.202] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input1/event1"
    [ 4956.202] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 8)
    [ 4956.202] (**) Option "xkb_rules" "evdev"
    [ 4956.202] (**) Option "xkb_model" "evdev"
    [ 4956.202] (**) Option "xkb_layout" "us"
    [ 4956.204] (II) config/udev: Adding drm device (/dev/dri/card0)
    [ 4956.205] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
    [ 4956.205] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
    [ 4956.205] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
    [ 4956.205] (**) AT Translated Set 2 keyboard: always reports core events
    [ 4956.205] (**) evdev: AT Translated Set 2 keyboard: Device: "/dev/input/event0"
    [ 4956.205] (--) evdev: AT Translated Set 2 keyboard: Vendor 0x1 Product 0x1
    [ 4956.205] (--) evdev: AT Translated Set 2 keyboard: Found keys
    [ 4956.205] (II) evdev: AT Translated Set 2 keyboard: Configuring as keyboard
    [ 4956.205] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input0/event0"
    [ 4956.205] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 9)
    [ 4956.205] (**) Option "xkb_rules" "evdev"
    [ 4956.206] (**) Option "xkb_model" "evdev"
    [ 4956.206] (**) Option "xkb_layout" "us"
    [ 4956.208] (II) config/udev: Adding input device TPPS/2 IBM TrackPoint (/dev/input/event6)
    [ 4956.208] (**) TPPS/2 IBM TrackPoint: Applying InputClass "evdev pointer catchall"
    [ 4956.208] (II) Using input driver 'evdev' for 'TPPS/2 IBM TrackPoint'
    [ 4956.208] (**) TPPS/2 IBM TrackPoint: always reports core events
    [ 4956.208] (**) evdev: TPPS/2 IBM TrackPoint: Device: "/dev/input/event6"
    [ 4956.208] (--) evdev: TPPS/2 IBM TrackPoint: Vendor 0x2 Product 0xa
    [ 4956.208] (--) evdev: TPPS/2 IBM TrackPoint: Found 3 mouse buttons
    [ 4956.208] (--) evdev: TPPS/2 IBM TrackPoint: Found relative axes
    [ 4956.208] (--) evdev: TPPS/2 IBM TrackPoint: Found x and y relative axes
    [ 4956.208] (II) evdev: TPPS/2 IBM TrackPoint: Configuring as mouse
    [ 4956.208] (**) evdev: TPPS/2 IBM TrackPoint: YAxisMapping: buttons 4 and 5
    [ 4956.208] (**) evdev: TPPS/2 IBM TrackPoint: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
    [ 4956.208] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input6/event6"
    [ 4956.208] (II) XINPUT: Adding extended input device "TPPS/2 IBM TrackPoint" (type: MOUSE, id 10)
    [ 4956.209] (II) evdev: TPPS/2 IBM TrackPoint: initialized for relative axes.
    [ 4956.209] (**) TPPS/2 IBM TrackPoint: (accel) keeping acceleration scheme 1
    [ 4956.209] (**) TPPS/2 IBM TrackPoint: (accel) acceleration profile 0
    [ 4956.209] (**) TPPS/2 IBM TrackPoint: (accel) acceleration factor: 2.000
    [ 4956.209] (**) TPPS/2 IBM TrackPoint: (accel) acceleration threshold: 4
    [ 4956.210] (II) config/udev: Adding input device TPPS/2 IBM TrackPoint (/dev/input/mouse0)
    [ 4956.210] (II) No input driver specified, ignoring this device.
    [ 4956.210] (II) This device may have been added with another device file.
    [ 4956.211] (II) config/udev: Adding input device PC Speaker (/dev/input/event5)
    [ 4956.211] (II) No input driver specified, ignoring this device.
    [ 4956.211] (II) This device may have been added with another device file.
    [ 4956.213] (II) config/udev: Adding input device ThinkPad Extra Buttons (/dev/input/event7)
    [ 4956.213] (**) ThinkPad Extra Buttons: Applying InputClass "evdev keyboard catchall"
    [ 4956.213] (II) Using input driver 'evdev' for 'ThinkPad Extra Buttons'
    [ 4956.213] (**) ThinkPad Extra Buttons: always reports core events
    [ 4956.213] (**) evdev: ThinkPad Extra Buttons: Device: "/dev/input/event7"
    [ 4956.214] (--) evdev: ThinkPad Extra Buttons: Vendor 0x1014 Product 0x5054
    [ 4956.214] (--) evdev: ThinkPad Extra Buttons: Found keys
    [ 4956.214] (II) evdev: ThinkPad Extra Buttons: Configuring as keyboard
    [ 4956.214] (**) Option "config_info" "udev:/sys/devices/platform/thinkpad_acpi/input/input7/event7"
    [ 4956.214] (II) XINPUT: Adding extended input device "ThinkPad Extra Buttons" (type: KEYBOARD, id 11)
    [ 4956.214] (**) Option "xkb_rules" "evdev"
    [ 4956.214] (**) Option "xkb_model" "evdev"
    [ 4956.214] (**) Option "xkb_layout" "us"
    [ 4960.630] (II) AIGLX: Suspending AIGLX clients for VT switch
    [ 4964.186] (II) evdev: ThinkPad Extra Buttons: Close
    [ 4964.189] (II) UnloadModule: "evdev"
    [ 4964.189] (II) evdev: TPPS/2 IBM TrackPoint: Close
    [ 4964.189] (II) UnloadModule: "evdev"
    [ 4964.189] (II) evdev: AT Translated Set 2 keyboard: Close
    [ 4964.189] (II) UnloadModule: "evdev"
    [ 4964.189] (II) evdev: Sleep Button: Close
    [ 4964.189] (II) UnloadModule: "evdev"
    [ 4964.189] (II) evdev: Video Bus: Close
    [ 4964.190] (II) UnloadModule: "evdev"
    [ 4964.190] (II) evdev: Power Button: Close
    [ 4964.190] (II) UnloadModule: "evdev"
    [ 4964.192] Server terminated successfully (0). Closing log file.

    karol wrote:
    Leonid.I wrote:@0x001A4:
    To run twm, you need to install xorg-twm from [extra] (I am not sure if it installs by default). Do you have xterm installed?
    According to his first post he has both xorg-twm and xterm installed.
    I do indeed.
    I went ahead and installed LXDE anyways, just to see what would happen. Exact same thing, it looks like everything is about to load but only the mouse cursor shows up. My Xorg.0.log is the same, so I won't post it again.
    I do get an error in the console about the openbox menu.xml file missing but I doubt that's related.
    X.Org X Server 1.13.0
    Release Date: 2012-09-05
    X Protocol Version 11, Revision 0
    Build Operating System: Linux 3.6.0-1-ARCH i686
    Current Operating System: Linux x_00294-ibc 3.5.6-1-ARCH #1 SMP PREEMPT Sun Oct 7 19:33:50 CEST 2012 i686
    Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=ec6a9a60-8d8c-4de0-960b-9e2a044d0ca5 ro quiet
    Build Date: 05 October 2012 02:01:30PM
    Current version of pixman: 0.26.2
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    (==) Log file: "/var/log/Xorg.0.log", Time: Mon Oct 15 18:12:28 2012
    (==) Using config directory: "/etc/X11/xorg.conf.d"
    Initializing built-in extension Generic Event Extension
    Initializing built-in extension SHAPE
    Initializing built-in extension MIT-SHM
    Initializing built-in extension XInputExtension
    Initializing built-in extension XTEST
    Initializing built-in extension BIG-REQUESTS
    Initializing built-in extension SYNC
    Initializing built-in extension XKEYBOARD
    Initializing built-in extension XC-MISC
    Initializing built-in extension SECURITY
    Initializing built-in extension XINERAMA
    Initializing built-in extension XFIXES
    Initializing built-in extension RENDER
    Initializing built-in extension RANDR
    Initializing built-in extension COMPOSITE
    Initializing built-in extension DAMAGE
    Initializing built-in extension MIT-SCREEN-SAVER
    Initializing built-in extension DOUBLE-BUFFER
    Initializing built-in extension RECORD
    Initializing built-in extension DPMS
    Initializing built-in extension X-Resource
    Initializing built-in extension XVideo
    Initializing built-in extension XVideo-MotionCompensation
    Initializing built-in extension XFree86-VidModeExtension
    Initializing built-in extension XFree86-DGA
    Initializing built-in extension XFree86-DRI
    Initializing built-in extension DRI2
    Loading extension GLX
    Openbox-Message: Unable to find a valid menu file "/usr/share/lxde/openbox/menu.xml"
    xinit: connection to X server lost
    waiting for X server to shut down pcmanfm: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
    XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
    after 2326 requests (2323 known processed) with 0 events remaining.
    Server terminated successfully (0). Closing log file.
    xinit: unexpected signal 2
    .xinitrc for my user
    exec ck-launch-session startlxde
    Very wierd.

  • Apple Cinema 23" on a PC? can't get it to work just has a blank screen?

    Sorry this may have been asked a million times but i have a 23" cinema HD display and i'm try to connect it to a laptop PC with the convertor to vga and no matter what i try it has a blank screen with the white power light. I have tried to change the res to the lowest it doesn't work what am i doing wrong please help!!

    You can't use a simple VGA to DVI adapter, since VGA doesn't have the digital video signals needed by Apple displays. You need a VGA to DVI converter, such as
    <http://www.gefen.com/kvm/dproduct.jsp?prod_id=4341>

  • This morning, Firefox stopped opening .pdf documents that I am trying to retrieve from websites. It does not download them, and the page goes blank, with nothing more happening. What do I do to fix it?

    I went to the FAA website, and I needed to review a document. I clicked on the link, the page turned blank, but I never saw the document. I tried again, but I still could not get the document. Word documents still bring up the dialog box allowing me to open the document. I went to another website to find additional information on the project I am working on, and I am experiencing the same problem, when I click on a link to a pdf, it will not open, and the download dialog box does not open.
    I have tried looking at applications and plugins, but everything seems to be fine. What do I do to fix this?
    Thanks,
    Anne

    Using the Adobe Reader plugin with Firefox
    * https://support.mozilla.com/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox
    Opening PDF files within Firefox
    * https://support.mozilla.com/en-US/kb/Opening%20PDF%20files%20within%20Firefox
    Check and tell if its working.

  • Sales Analysis Report - Items -- blank result

    Hi,
    I'm testing a setup and running the sales analysis report. It works for the Customer version but I get no results when running on Items.
    I'm on SBO 2007A SP01 PL07. There are open and closed invoices for inventory items; no credit memos have been posted. All Item type invoices.
    When I run by Customer, I get the correct data - open and closed invoices for that customer.
    When I run by Items, I get no results. The date range is the same for both reports.
    When I run the purchase analysis on Items, I get data for the same items I am trying to see in the sales analysis.
    Any ideas what could be causing this?
    Thank you,
    Heather

    HI Gordon,
    I left the default settings: 
    - Annual Report, Invoices, Individual Display, No Totals
    - Posting Date:  whole fiscal year
    - Main selection:  left blank/default (group = all, no properties)
    I have double/triple/quadruple-check even the Secondary SElection to make sure there's nothing there.
    I have also run it on Due Date instead of Posting Date, still no results (if run on Items).
    As I mentioned, the selection criteria is what I want but for some reason that one version, Items, does not work. The other 2 tabs work with the same selection.
    Heather

  • In ALV report is possible to display the subtotals in separate column

    Hi,
    I have made one ALV report, i need to show the subtotals of ekpo-brtwr (Gross Value)  grouped by or sorted by
    ekko-ebeln (Purshasing Doc) but in separate column  not at the end of the line items of each purshasing doc
    any idea how can i do this?
    let us say i have the following cols in my report:
    ekko-bukrs
    ekko-ebeln,
    ekko-aedat,
    kko-lifnr,
    ekpo-brtwr
    i want to add one more col for example (T-Gross) and to fill it with the suptotals of (ekpo-brtwr) sorted by the
    ekko-ebeln (Purshasing Doc).
    thanks a lot.

    If you need one more column, then you need to expand the field catalog table and data table as you did for all other fields and you need to code the logic to calculate the subtotals and populate the new column, but if you want to have row, that will be easy. For more info you can [refer |http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/4063c42a-2549-2c10-fab6-a8c99d98b9b5?quicklink=index&overridelayout=true]this:

  • ALV Totals , Subtotals for a particular field in ALV Grid report

    Hi,
    I have an issue in ALV totals and subtotals.
    Scenario is like this.
    i have a vendor data to be pulled out of SAP and to be shown in the form of report.
    i am populating all the data and doing do_sum based on Vendor ( has expansin & collapse option ) and display the number of reports .
    Vendor -
    100
    Vendor1 -
    1
    Vendor2----
    2.
    Vendor100----
    100.
    but my problem is in the same report i have a date field .
    if i have a five vendors created on 03/03/2008. in the same report for the date field having ( expansion & collapse ) , when i expand based on that date can i be able to sum up all the vendors created on 03/03/2008 and display in the same report along with the vendor count.
    Let me know . Thank you in advance
    Regards,
    Ry

    Hi Roby,
    Have a look at this sample code
    It will help u,
    REPORT ZIN_FI_AGEING
           message-id zbdc
           no standard page heading.
    Title                   : For Ageing Details
    Author                  :
    Date                    : 22/11/2004
    Transport/Correction Id :
    Clarify case ID         :
    Application             : FI
    Program Type            :
    Frequency               :
    Purpose                 :
    Comments                :
    Request No              :
      TABLES DELCARATIONS
    Tables: zzgeinz9a,    "Actual line item table
            t001.         "Plants/Branches
      ALV TTPE DELCARATIONS
    type-pools: slis.
    *Type Declarations for Field Catalog
    data : i_fldcat_head type slis_t_fieldcat_alv,
           wa_fldcat_head type slis_fieldcat_alv.
    *Type Declarations for ALV Events
    data : i_events type slis_t_event,
           wa_event like line of i_events.
    *Type Declarations for Layout Design
    data : wa_layout type slis_layout_alv.
    *Type Declarations for Sorting Fields
    data:  it_sort type slis_sortinfo_alv occurs 0 with header line.
    *Type Declarations for Displaying Images on Grid
    data : i_comment type slis_t_listheader,
           wa_comment type slis_listheader.
    *Type Declarations for Grouping fields
    data : wa_group type slis_sp_group_alv,
           i_group type slis_t_sp_group_alv.
      DATA DELCARATIONS
    data: v_flag,                 "Status Flag
          v_repid like sy-repid,  "Program Name
          p_year(4) type c,       "Year
          v_due_days type i.      "To hold the due days
      CONSTANTS DELCARATIONS
    constants: c_x type c value 'X',
               c_bukrs(4) type c value '0373'.
      INTERNAL TABLES DELCARATIONS
    *--Internal table to hold the required data
    data: begin of it_final_vendor occurs 0,
            rzzlifnr    like zzgeinz9a-rzzlifnr,  "Vendor
            name1       like lfa1-name1,          "Vendor Name
            docnr       like zzgeinz9a-DOCNR,     "Accounting Doc No
            refdocnr    like zzgeinz9a-REFDOCNR,  "Reference document no
            belnr       like bkpf-belnr,          "FI Doc No
            doc_date    like bkpf-awkey,          "Document Date
            zbd1t       like bsik-zbd1t,          "Cash discount days 1
            bldat       like bkpf-bldat,          "Document Date
            due_date    like bkpf-bldat,          "Due Date
            due_days    type i,                   "Due Days
            rzz_ebeln   like zzgeinz9a-rzz_ebeln, "P.O. Ref No
            not_due     like zzgeinz9a-hsl,       "Not Yet Due
            hsl         like zzgeinz9a-hsl,       "local currency
            found       type c,                   "Existance Flag
          end of it_final_vendor.
    data: begin of it_final_vendor_temp occurs 0,
            rzzlifnr    like zzgeinz9a-rzzlifnr,  "Vendor
            name1       like lfa1-name1,          "Vendor Name
            belnr       like bkpf-belnr,          "FI Doc No
            bldat       like bkpf-bldat,          "Document Date
            rzz_ebeln   like zzgeinz9a-rzz_ebeln, "P.O. Ref No
            hsl        like zzgeinz9a-hsl,        "local currency
            due_date    like bkpf-bldat,          "Due Date
            due_days    type i,                   "Due Days
            not_due     like zzgeinz9a-hsl,       "Not Yet Due
            buck_0_30   like zzgeinz9a-hsl,       "Invoiceamt in localcurr
            buck_31_60  like zzgeinz9a-hsl,       "Invoiceamt in localcurr
            buck_61_90  like zzgeinz9a-hsl,       "Invoiceamt in localcurr
            buck_91_180 like zzgeinz9a-hsl,       "Invoiceamt in localcurr
            buck_180    like zzgeinz9a-hsl,       "Invoiceamt in localcurr
            docnr       like zzgeinz9a-DOCNR,     "Accounting Doc No
            refdocnr    like zzgeinz9a-REFDOCNR,  "Reference document no
            doc_date    like bkpf-awkey,          "Document Date
            found       type c,                   "Existance Flag
          end of it_final_vendor_temp.
    data: begin of it_final_customer occurs 0,
            rzzkunnr    like zzgeinz9a-rzzkunnr,  "Customer
            name1       like kna1-name1,          "Customer Name
            docnr       like zzgeinz9a-DOCNR,     "Accounting Doc No
            refdocnr    like zzgeinz9a-REFDOCNR,  "Reference document no
            belnr       like bkpf-belnr,          "FI Doc No
            doc_date    like bkpf-awkey,          "Document Date
            zbd1t       like bsik-zbd1t,          "Cash discount days 1
            bldat       like bkpf-bldat,          "Document Date
            due_date    like bkpf-bldat,          "Due Date
            due_days    type i,                   "Due Days
            rzz_ebeln   like zzgeinz9a-rzz_ebeln, "P.O. Ref No
            not_due     like zzgeinz9a-hsl,       "Not Yet Due
            hsl         like zzgeinz9a-hsl,       "local currency
            found       type c,                   "Existance Flag
          end of it_final_customer.
    data: begin of it_final_customer_temp occurs 0,
            rzzkunnr    like zzgeinz9a-rzzkunnr,  "Customer
            name1       like kna1-name1,          "Customer Name
            belnr       like bkpf-belnr,          "FI Doc No
            bldat       like bkpf-bldat,          "Document Date
            rzz_ebeln   like zzgeinz9a-rzz_ebeln, "P.O. Ref No
            hsl        like zzgeinz9a-hsl,        "local currency
            due_date    like bkpf-bldat,          "Due Date
            due_days    type i,                   "Due Days
            not_due     like zzgeinz9a-hsl,       "Not Yet Due
            buck_0_30   like zzgeinz9a-hsl,       "Invoiceamt in localcurr
            buck_31_60  like zzgeinz9a-hsl,       "Invoiceamt in localcurr
            buck_61_90  like zzgeinz9a-hsl,       "Invoiceamt in localcurr
            buck_91_180 like zzgeinz9a-hsl,       "Invoiceamt in localcurr
            buck_180    like zzgeinz9a-hsl,       "Invoiceamt in localcurr
            docnr       like zzgeinz9a-DOCNR,     "Accounting Doc No
            refdocnr    like zzgeinz9a-REFDOCNR,  "Reference document no
            doc_date    like bkpf-awkey,          "Document Date
            found       type c,                   "Existance Flag
          end of it_final_customer_temp.
    *--Internal Table to hold the Cash discount days 1 for Vendors
    data: begin of it_final_bsik occurs 0,
            belnr like bsik-belnr,
            zbd1t like bsik-zbd1t,
          end of it_final_bsik.
    *--Internal Table to hold the Cash discount days 1 for Customers
    data: begin of it_final_bsid occurs 0,
            belnr like bsid-belnr,
            zbd1t like bsid-zbd1t,
          end of it_final_bsid.
      INITIALIZATION
    v_repid = sy-repid.
      SELECTION SCREEN
    selection-screen: begin of block b1 with frame title text-h01.
    selection-screen skip.
    select-options: s_vendor for zzgeinz9a-rzzlifnr modif id ven.
    parameters: p_comp1 like t001-bukrs modif id ven.
    parameters: p_rundt1 like bkpf-bldat modif id ven.
    select-options: s_cust for zzgeinz9a-rzzkunnr modif id cst.
    parameters: p_comp2 like t001-bukrs modif id cst.
    parameters: p_rundt2 like bkpf-bldat modif id cst.
    selection-screen skip.
    selection-screen: begin of block b2 with frame title text-h02.
    parameters : p_vendor radiobutton group gr1 default 'X'
                                      user-command test,
                 p_cust  radiobutton group gr1.
    selection-screen: end of block b2.
    selection-screen: end of block b1.
    **************************AT Selection Screen OutPut ******************
    at selection-screen output.
      loop at screen.
        if p_cust = 'X'.
          if screen-group1 = 'VEN'.
            screen-active = '0'.
            screen-input = '0'.
            screen-output = '0'.
            screen-invisible = '0'.
          endif.
        elseif p_vendor = 'X'.
          if screen-group1 = 'CST'.
            screen-active = '0'.
            screen-input = '0'.
            screen-output = '0'.
            screen-invisible = '0'.
          endif.
        endif.
        modify screen.
      endloop.
      SELECTION SCREEN ON
    at selection-screen on s_vendor.
    *--Validating Vendor
      if not s_vendor[] is initial.
        perform validate_s_vendor.
      endif.
    at selection-screen on s_cust.
    *--Validating Customer
      if not s_cust[] is initial.
        perform validate_s_cust.
      endif.
    at selection-screen on p_comp1.
    *--Validating Company Code.
      if not p_comp1 is initial.
        perform validate_p_comp1.
      endif.
    at selection-screen on p_comp2.
    *--Validating Company Code.
      if not p_comp2 is initial.
        perform validate_p_comp2.
      endif.
      START OF SELECTION
    start-of-selection.
    if p_vendor = 'X'.
       perform get_vendor_data.
    elseif p_cust = 'X'.
       perform get_customer_data.
    endif.
      END OF SELECTION
    end-of-selection.
    if p_vendor = 'X'.
    *--Generating the output for vendor
      perform generate_field_catalog_vendor.
      perform get_events_vendor.
      perform generate_layout_vendor.
      perform generate_sort_vendor.
      perform generate_group_vendor.
      perform disp_alv_grid_vendor.
    elseif p_cust = 'X'.
    *--Generating the output for customer
      perform generate_field_catalog_cust.
      perform get_events_customer.
      perform generate_layout_customer.
      perform generate_sort_customer.
      perform generate_group_customer.
      perform disp_alv_grid_customer.
    endif.
    *&      Form  validate_s_vendor
          Validating the Vendor
    form validate_s_vendor.
      select rzzlifnr up to 1 rows
      into (zzgeinz9a-rzzlifnr)
      from zzgeinz9a
      where rzzlifnr in s_vendor.
      endselect.
      if sy-subrc ne 0.
        message e004 with 'Invalid Range of Vendor'(002)
    s_vendor-low 'To'(006) s_vendor-high.
      endif.
    endform.                    " validate_s_vendor
    *&      Form  validate_s_cust
          Validating the Customer
    form validate_s_cust.
       select rzzkunnr up to 1 rows
       into (zzgeinz9a-rzzkunnr)
       from zzgeinz9a
       where rzzkunnr in s_cust.
       endselect.
       if sy-subrc ne 0.
         message e004 with 'Invalid Range of Customer'(005)
    s_cust-low 'To'(006) s_cust-high.
      endif.
    endform.                    " validate_s_cust
    *&      Form  validate_p_comp1
          Validating the Company Code
    form validate_p_comp1.
      select single bukrs
             into   (t001-bukrs)
             from   t001
             where  bukrs eq p_comp1.
      if sy-subrc ne 0.
        message e004 with 'Company Code'(004) p_comp1 'Does not Exists'(003)
      endif.
    endform.                    " validate_p_comp1
    *&      Form  validate_p_comp2
          Validating the Company Code
    form validate_p_comp2.
      select single bukrs
             into   (t001-bukrs)
             from   t001
             where  bukrs eq p_comp2.
      if sy-subrc ne 0.
        message e004 with 'Company Code'(004) p_comp2 'Does not Exists'(003)
      endif.
    endform.                    " validate_p_comp2
    *&      Form  get_vendor_data
          Getting the Vendor Related Docs
    form get_vendor_data.
    select a~rzzlifnr
            b~name1
            a~docnr
            a~refdocnr
            a~rzz_ebeln
            a~hsl
        into corresponding fields of table it_final_vendor
        from zzgeinz9a as a
        inner join lfa1 as b
        on arzzlifnr = blifnr
        where rzzlifnr in s_vendor
        and   rbukrs   eq p_comp1.
        if sy-subrc eq 0.
          v_flag = 'X'.
          p_year = sy-datum+0(4).
          perform get_doc_date using p_comp1
                                     p_year.
          perform move_records.
          sort it_final_vendor by rzzlifnr.
          perform generate_data.
        else.
          v_flag = space.
        endif.
    endform.                    " get_vendor_data
    *&      Form  get_customer_data
          Getting the Customer Related Docs
    form get_customer_data.
    select a~rzzkunnr
            b~name1
            a~docnr
            a~refdocnr
            a~rzz_ebeln
            a~hsl
        into corresponding fields of table it_final_customer
        from zzgeinz9a as a
        inner join kna1 as b
        on arzzkunnr = bkunnr
        where rzzkunnr in s_cust
        and   rbukrs   eq p_comp2.
        if sy-subrc eq 0.
          v_flag = 'X'.
          p_year = sy-datum+0(4).
          perform get_doc_date_cust using p_comp2
                                          p_year.
          perform move_records_cust.
          sort it_final_customer by rzzkunnr.
          perform generate_data_cust.
        else.
          v_flag = space.
        endif.
    endform.                    " get_customer_data
    *&      Form  get_doc_date
          Getting the Document Date and FI Doc No
         -->P_P_COMP1 Company Code
         -->P_P_YEAR  Fiscal Year
    form get_doc_date using    p_p_comp1
                               p_p_year.
      loop at it_final_vendor.
        concatenate it_final_vendor-refdocnr '*' into
    it_final_vendor-doc_date.
        modify it_final_vendor index sy-tabix.
    endloop.
    clear it_final_vendor.
    data: v_doc_date(11) type c,
          v_belnr like bkpf-belnr,
          v_bldat like bkpf-bldat.
          loop at it_final_vendor.
           concatenate it_final_vendor-refdocnr '%' into v_doc_date.
            select single belnr
                          bldat
                   into corresponding fields of it_final_vendor
                   from bkpf
                   where bukrs eq p_p_comp1
                   and   gjahr eq p_p_year
                   and   awkey like v_doc_date.
                   modify it_final_vendor.
           endloop.
        clear:it_final_vendor.
    endform.                    " get_doc_date
    *&      Form  move_records
          Moving records to final internal table
    form move_records.
    *--Checking the existance of belnr in bsik
    clear it_final_vendor.
      select belnr
             zbd1t
             into table it_final_bsik
             from bsik
             for all entries in it_final_vendor
             where belnr eq it_final_vendor-belnr
             and   bukrs eq c_bukrs.
    clear it_final_bsik.
      loop at it_final_vendor.
        read table it_final_bsik with key belnr = it_final_vendor-belnr.
        if sy-subrc eq 0.
          it_final_vendor-zbd1t = it_final_bsik-zbd1t.
          it_final_vendor-due_date = it_final_vendor-bldat +
    it_final_bsik-zbd1t.
          it_final_vendor-found    = 'X'.
          modify it_final_vendor.
        endif.
      endloop.
    endform.                    " move_records
    *&      Form  generate_data
          Segregating the records based on due_date
    form generate_data.
      delete it_final_vendor[] where found ne 'X'.
      sort it_final_vendor by belnr.
      loop at it_final_vendor.
        if it_final_vendor-due_date > p_rundt1.
          move-corresponding it_final_vendor to it_final_vendor_temp.
          move it_final_vendor-hsl to it_final_vendor_temp-not_due.
        elseif it_final_vendor-due_date < p_rundt1.
          it_final_vendor-due_days = p_rundt1 - it_final_vendor-DUE_DATE.
        endif.
    *--filling 0-30 bucket.
        if it_final_vendor-due_days ge 0 AND it_final_vendor-due_days le 30.
          move-corresponding it_final_vendor to it_final_vendor_temp.
          move it_final_vendor-hsl to it_final_vendor_temp-buck_0_30.
    *--filling 31-60 bucket.
    elseif it_final_vendor-due_days ge 31 AND it_final_vendor-due_days le 60
          move-corresponding it_final_vendor to it_final_vendor_temp.
          move it_final_vendor-hsl to it_final_vendor_temp-buck_31_60.
    *--filling 61-90 bucket.
    elseif it_final_vendor-due_days ge 61 AND it_final_vendor-due_days le 90
          move-corresponding it_final_vendor to it_final_vendor_temp.
          move it_final_vendor-hsl to it_final_vendor_temp-buck_61_90.
    *--filling 91-180 bucket.
        elseif it_final_vendor-due_days ge 91 AND it_final_vendor-due_days
    le 180.
          move-corresponding it_final_vendor to it_final_vendor_temp.
          move it_final_vendor-hsl to it_final_vendor_temp-buck_91_180.
    *--filling 180 bucket.
        elseif it_final_vendor-due_days gt 180.
          move-corresponding it_final_vendor to it_final_vendor_temp.
          move it_final_vendor-hsl to it_final_vendor_temp-buck_180.
        endif.
         append it_final_vendor_temp.
         clear it_final_vendor_temp.
      endloop.
    endform.                    " generate_data
    *&      Form  DISP_ALV_GRID_VENDOR
          Displaying the output in grid For Vendor
    form DISP_ALV_GRID_VENDOR.
    *--Generating the OUTPUT GRID FOR VENDOR
      call function 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
        I_INTERFACE_CHECK                 = ' '
        I_BYPASSING_BUFFER                =
        I_BUFFER_ACTIVE                   = ' '
          I_CALLBACK_PROGRAM                = v_repid
        I_CALLBACK_PF_STATUS_SET          = ' '
        I_CALLBACK_USER_COMMAND           = ' '
        I_CALLBACK_TOP_OF_PAGE            = ' '
        I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
        I_CALLBACK_HTML_END_OF_LIST       = ' '
        I_STRUCTURE_NAME                  =
        I_BACKGROUND_ID                   = ' '
        I_GRID_TITLE                      =
        I_GRID_SETTINGS                   =
          IS_LAYOUT                         = wa_layout
          IT_FIELDCAT                       = i_fldcat_head
        IT_EXCLUDING                      =
          IT_SPECIAL_GROUPS                 = i_group
          IT_SORT                           = it_sort[]
        IT_FILTER                         =
        IS_SEL_HIDE                       =
        I_DEFAULT                         = 'X'
        I_SAVE                            = ' '
        IS_VARIANT                        =
          IT_EVENTS                         = i_events
        IT_EVENT_EXIT                     =
        IS_PRINT                          =
        IS_REPREP_ID                      =
        I_SCREEN_START_COLUMN             = 0
        I_SCREEN_START_LINE               = 0
        I_SCREEN_END_COLUMN               = 0
        I_SCREEN_END_LINE                 = 0
        IT_ALV_GRAPHICS                   =
        IT_ADD_FIELDCAT                   =
        IT_HYPERLINK                      =
        I_HTML_HEIGHT_TOP                 =
        I_HTML_HEIGHT_END                 =
        IT_EXCEPT_QINFO                   =
      IMPORTING
        E_EXIT_CAUSED_BY_CALLER           =
        ES_EXIT_CAUSED_BY_USER            =
        tables
          t_outtab                          = it_final_vendor_temp
       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.
    endform.                    " DISP_ALV_GRID
    *&      Form  get_doc_date_cust
          text
         -->P_P_COMP2 Company Code
         -->P_P_YEAR  Fiscal Year
    form get_doc_date_cust using    p_p_comp2
                                    p_p_year.
      loop at it_final_customer.
        concatenate it_final_customer-refdocnr '*' into
    it_final_customer-doc_date.
        modify it_final_customer index sy-tabix.
    endloop.
    clear it_final_customer.
    data: v_doc_date(11) type c,
          v_belnr like bkpf-belnr,
          v_bldat like bkpf-bldat.
          loop at it_final_customer.
           concatenate it_final_customer-refdocnr '%' into v_doc_date.
            select single belnr
                          bldat
                   into corresponding fields of it_final_customer
                   from bkpf
                   where bukrs eq p_p_comp2
                   and   gjahr eq p_p_year
                   and   awkey like v_doc_date.
                   modify it_final_customer.
           endloop.
        clear:it_final_customer.
    endform.                    " get_doc_date_cust
    *&      Form  move_records_cust
          Moving Customer Data to Final Internal Table
    form move_records_cust.
    *--Checking the existance of belnr in bsid
      select belnr
             zbd1t
             into table it_final_bsid
             from bsid
             for all entries in it_final_customer
             where belnr eq it_final_customer-belnr
             and   bukrs eq c_bukrs.
    clear it_final_bsid.
      loop at it_final_customer.
        read table it_final_bsid with key belnr = it_final_customer-belnr.
        if sy-subrc eq 0.
          it_final_customer-zbd1t    = it_final_bsid-zbd1t.
          it_final_customer-due_date = it_final_customer-bldat +
    it_final_bsid-zbd1t.
          it_final_customer-found    = 'X'.
          modify it_final_customer.
        endif.
      endloop.
    endform.                    " move_records_cust
    *&      Form  generate_data_cust
          Generating the Customer Output
    form generate_data_cust.
      delete it_final_customer[] where found ne 'X'.
      sort it_final_customer by belnr.
      loop at it_final_customer.
        if it_final_customer-due_date > p_rundt2.
         move-corresponding it_final_customer to it_final_customer_temp.
         move it_final_customer-hsl to it_final_customer_temp-not_due.
        elseif it_final_customer-due_date < p_rundt2.
         it_final_customer-due_days = p_rundt2 - it_final_customer-DUE_DATE.
        endif.
    *--filling 0-30 bucket.
    if it_final_customer-due_days ge 0 AND it_final_customer-due_days le 30
          move-corresponding it_final_customer to it_final_customer_temp.
          move it_final_customer-hsl to it_final_customer_temp-buck_0_30.
    *--filling 31-60 bucket.
    elseif it_final_customer-due_days ge 31 AND it_final_customer-due_days
    le 60
          move-corresponding it_final_customer to it_final_customer_temp.
          move it_final_customer-hsl to it_final_customer_temp-buck_31_60.
    *--filling 61-90 bucket.
    elseif it_final_customer-due_days ge 61 AND it_final_customer-due_days
    le 90
          move-corresponding it_final_customer to it_final_customer_temp.
          move it_final_customer-hsl to it_final_customer_temp-buck_61_90.
    *--filling 91-180 bucket.
        elseif it_final_customer-due_days ge 91 AND
    it_final_customer-due_days
    le 180.
          move-corresponding it_final_customer to it_final_customer_temp.
          move it_final_customer-hsl to it_final_customer_temp-buck_91_180.
    *--filling 180 bucket.
        elseif it_final_customer-due_days gt 180.
          move-corresponding it_final_customer to it_final_customer_temp.
          move it_final_customer-hsl to it_final_customer_temp-buck_180.
        endif.
         append it_final_customer_temp.
         clear it_final_customer_temp.
      endloop.
    endform.                    " generate_data_cust
    *&      Form  generate_field_catalog_vendor
          Generating the Field Catalog for Vendor
    form generate_field_catalog_vendor.
      call function 'REUSE_ALV_FIELDCATALOG_MERGE'
       EXPORTING
          I_PROGRAM_NAME               = v_repid
          I_INTERNAL_TABNAME           = 'IT_FINAL_VENDOR_TEMP'
        I_STRUCTURE_NAME             =
        I_CLIENT_NEVER_DISPLAY       = 'X'
          I_INCLNAME                   = v_repid
        I_BYPASSING_BUFFER           =
        I_BUFFER_ACTIVE              =
        changing
          ct_fieldcat                  = i_fldcat_head
       EXCEPTIONS
         INCONSISTENT_INTERFACE       = 1
         PROGRAM_ERROR                = 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.
      if not i_fldcat_head[] is initial.
        loop at i_fldcat_head into wa_fldcat_head.
        case wa_fldcat_head-fieldname.
         when 'RZZLIFNR'.
            wa_fldcat_head-col_pos = '1'.
            wa_fldcat_head-ref_tabname = ' '.
            wa_fldcat_head-seltext_m  = 'Vendor No'(001).
            wa_fldcat_head-ddictxt = 'M'.
            wa_fldcat_head-outputlen = '12'.
         when 'NAME1'.
            wa_fldcat_head-col_pos = '2'.
            wa_fldcat_head-seltext_m  = 'Vendor Name'(007).
            wa_fldcat_head-ddictxt = 'M'.
            wa_fldcat_head-outputlen = '35'.
         when 'BELNR'.
            wa_fldcat_head-col_pos = '3'.
            wa_fldcat_head-seltext_m  = 'Invoice No'(008).
            wa_fldcat_head-ddictxt = 'M'.
            wa_fldcat_head-outputlen = '12'.
            wa_fldcat_head-KEY       = ' '.
         when 'BLDAT'.
            wa_fldcat_head-col_pos = '4'.
            wa_fldcat_head-seltext_m  = 'Document Date'(009).
            wa_fldcat_head-ddictxt = 'M'.
            wa_fldcat_head-outputlen = '13'.
            wa_fldcat_head-ref_tabname = ' '.
         when 'RZZ_EBELN'.
            wa_fldcat_head-col_pos = '5'.
            wa_fldcat_head-seltext_m  = 'PO.Ref.No'(010).
            wa_fldcat_head-ddictxt = 'M'.
            wa_fldcat_head-outputlen = '13'.
            wa_fldcat_head-ref_tabname = ' '.
         when 'HSL'.
            wa_fldcat_head-col_pos = '6'.
            wa_fldcat_head-seltext_m  = 'Invoice Amount'(011).
            wa_fldcat_head-ddictxt = 'M'.
            wa_fldcat_head-outputlen = '16'.
            wa_fldcat_head-do_sum = 'X'.
         when 'DUE_DATE'.
            wa_fldcat_head-col_pos = '7'.
            wa_fldcat_head-seltext_m  = 'Due Date'(012).
            wa_fldcat_head-ddictxt = 'M'.
            wa_fldcat_head-outputlen = '12'.
            wa_fldcat_head-ref_tabname = ' '.
         when 'DUE_DAYS'.
            wa_fldcat_head-col_pos = '8'.
            wa_fldcat_head-seltext_m  = 'Due Days'(013).
            wa_fldcat_head-ddictxt = 'M'.
            wa_fldcat_head-outputlen = '9'.
         when 'NOT_DUE'.
            wa_fldcat_head-col_pos = '9'.
            wa_fldcat_head-seltext_m  = 'Not Due'(014).
            wa_fldcat_head-ddictxt = 'M'.
            wa_fldcat_head-outputlen = '16'.
            wa_fldcat_head-do_sum = 'X'.
         when 'BUCK_0_30'.
            wa_fldcat_head-col_pos = '10'.
            wa_fldcat_head-seltext_m  = '0 To 30'(015).
            wa_fldcat_head-ddictxt = 'M'.
            wa_fldcat_head-outputlen = '16'.
            wa_fldcat_head-do_sum = 'X'.
         when 'BUCK_31_60'.
            wa_fldcat_head-col_pos = '11'.
            wa_fldcat_head-seltext_m  = '31 To 60'(016).
            wa_fldcat_head-ddictxt = 'M'.
            wa_fldcat_head-outputlen = '16'.
            wa_fldcat_head-do_sum = 'X'.
         when 'BUCK_61_90'.
            wa_fldcat_head-col_pos = '12'.
            wa_fldcat_head-seltext_m  = '61 To 90'(017).
            wa_fldcat_head-ddictxt = 'M'.
            wa_fldcat_head-outputlen = '16'.
            wa_fldcat_head-do_sum = 'X'.
         when 'BUCK_91_180'.
            wa_fldcat_head-col_pos = '13'.
            wa_fldcat_head-seltext_m  = '91 To 180'(018).
            wa_fldcat_head-ddictxt = 'M'.
            wa_fldcat_head-outputlen = '16'.
            wa_fldcat_head-do_sum = 'X'.
         when 'BUCK_180'.
            wa_fldcat_head-col_pos = '14'.
            wa_fldcat_head-seltext_m  = 'Beyond 180'(019).
            wa_fldcat_head-ddictxt = 'M'.
            wa_fldcat_head-outputlen = '16'.
            wa_fldcat_head-do_sum = 'X'.
        when 'DOCNR'.
            wa_fldcat_head-no_out = 'X'.
        when 'REFDOCNR'.
            wa_fldcat_head-no_out = 'X'.
        when 'DOC_DATE'.
            wa_fldcat_head-no_out = 'X'.
        when 'FOUND'.
            wa_fldcat_head-no_out = 'X'.
         endcase.
         modify i_fldcat_head from wa_fldcat_head index sy-tabix.
        endloop.
      endif.
    endform.                    " generate_field_catalog_vendor
    *&      Form  get_events_vendor
          Getting ALV Events
    form get_events_vendor.
        call function 'REUSE_ALV_EVENTS_GET'
      EXPORTING
        I_LIST_TYPE           = 0
       importing
         et_events             = i_events
      exceptions
        list_type_wrong       = 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.
      if not i_events[] is initial.
       read table i_events into wa_event with key name = 'TOP_OF_PAGE'(024)
       wa_event-form = 'GENERATE_USERCOMMAND'.
       modify i_events from wa_event index sy-tabix.
       read table i_events into wa_event with key name = 'END_OF_LIST'(025)
       wa_event-form = 'GENERATE_USERCOMMAND_FOOTER'.
       modify i_events from wa_event index sy-tabix.
      endif.
    endform.                    " get_events_vendor
    *&      Form  GENERATE_USERCOMMAND
          Displaying Header-Text and Logo on Grid
    form generate_usercommand .
      clear i_comment[].
      wa_comment-typ = 'H'.
      wa_comment-info = 'Vendor Ageing Report'(026).
      append wa_comment to i_comment.
      call function 'REUSE_ALV_COMMENTARY_WRITE'
        exporting
          it_list_commentary = i_comment
          i_logo             = 'ENJOYSAP_LOGO'
        I_END_OF_LIST_GRID       = 'X'
    endform.                    " GENERATE_USERCOMMAND
    *&      Form  GENERATE_USERCOMMAND_FOOTER
          Displaying Footer-Text on Grid
    form generate_usercommand_footer.
      clear i_comment[].
      clear wa_comment.
      wa_comment-typ = 'S'.
      wa_comment-key = 'GE-Betz'(027).
      append wa_comment to i_comment.
      call function 'REUSE_ALV_COMMENTARY_WRITE'
        exporting
          it_list_commentary       = i_comment
        I_LOGO                  = ''
          i_end_of_list_grid       = 'X'.
    endform.                    " GENERATE_USERCOMMAND_FOOTER
    *&      Form  generate_layout_vendor
          Generating the ALV Layout
    form generate_layout_vendor.
      WA_LAYOUT-COLWIDTH_OPTIMIZE = 'X'.     "OPTIMIZING FIELD WIDTH
      wa_layout-zebra = 'X'.                  "PUTTING ZEBRA COLORS
      wa_layout-confirmation_prompt = 'X'.    "DISPLAYS CONFIRMATION DIALOG
      wa_layout-totals_text = 'Totals'(028).       "DISPLAYS TOTALS TEXT
      wa_layout-subtotals_text = 'Sub Totals'(029)."DISPLAYS SUBTOTALS TEXT
    endform.                    " generate_layout_vendor
    *&      Form  generate_sort_vendor
          Sorting the Internal Table by Vendor
    form generate_sort_vendor.
      it_sort-fieldname = 'RZZLIFNR'.
      it_sort-tabname = 'IT_FINAL_VENDOR_TEMP'.
      it_sort-up = 'X'.
      it_sort-subtot = 'X'.
      append it_sort.
    endform.                    " generate_sort_vendor
    *&      Form  generate_group_vendor
          Grouping the Data
    form generate_group_vendor.
      clear i_group.
      wa_group-sp_group = 'A'.
      wa_group-text  = 'RZZLIFNR'.
      append wa_group to i_group.
    endform.                    " generate_group_vendor
    *&      Form  GENERATE_FIELD_CATALOG_CUST
          Generating Field Catalog for Customer
    form GENERATE_FIELD_CATALOG_CUST.
      call function 'REUSE_ALV_FIELDCATALOG_MERGE'
       EXPORTING
          I_PROGRAM_NAME               = v_repid
          I_INTERNAL_TABNAME           = 'IT_FINAL_CUSTOMER_TEMP'
        I_STRUCTURE_NAME             =
        I_CLIENT_NEVER_DISPLAY       = 'X'
          I_INCLNAME                   = v_repid
        I_BYPASSING_BUFFER           =
        I_BUFFER_ACTIVE              =
        changing
          ct_fieldcat                  = i_fldcat_head
       EXCEPTIONS
         INCONSISTENT_INTERFACE       = 1
         PROGRAM_ERROR                = 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.
      if not i_fldcat_head[] is initial.
        loop at i_fldcat_head into wa_fldcat_head.
        case wa_fldcat_head-fieldname.
         when 'RZZKUNNR'.
            wa_fldcat_head-col_pos = '1'.
            wa_fldcat_head-ref_tabname = ' '.
            wa_fldcat_head-seltext_m  = 'Customer No'(020).
            wa_fldcat_head-ddictxt = 'M'.
            wa_fldcat_head-outputlen = '12'.
         when 'NAME1'.
            wa_fldcat_head-col_pos = '2'.
            wa_fldcat_head-seltext_m  = 'Customer Name'(021).
            wa_fldcat_head-ddictxt = 'M'.
            wa_fldcat_head-outputlen = '35'.
         when 'BELNR'.
            wa_fldcat_head-col_pos = '3'.
            wa_fldcat_head-seltext_m  = 'Invoice No'(008).
            wa_fldcat_head-ddictxt = 'M'.
            wa_fldcat_head-outputlen = '12'.
            wa_fldcat_head-KEY       = ' '.
         when 'BLDAT'.
            wa_fldcat_head-col_pos = '4'.
            wa_fldcat_head-seltext_m  = 'Document Date'(009).
            wa_fldcat_head-ddictxt = 'M'.
            wa_fldcat_head-outputlen = '13'.
            wa_fldcat_head-ref_tabname = ' '.
         when 'RZZ_EBELN'.
            wa_fldcat_head-col_pos = '5'.
            wa_fldcat_head-seltext_m  = 'PO.Ref.No'(010).
            wa_fldcat_head-ddictxt = 'M'.
            wa_fldcat_head-outputlen = '13'.
            wa_fldcat_head-ref_tabname = ' '.
         when 'HSL'.
            wa_fldcat_head-col_pos = '6'.
            wa_fldcat_head-seltext_m  = 'Invoice Amount'(011).
            wa_fldcat_head-ddictxt = 'M'.
            wa_fldcat_head-outputlen = '16'.
            wa_fldcat_head-do_sum = 'X'.
         when 'DUE_DATE'.
            wa_fldcat_head-col_pos = '7'.
            wa_fldcat_head-seltext_m  = 'Due Date'(012).
            wa_fldcat_head-ddictxt = 'M'.
            wa_fldcat_head-outputlen = '12'.
            wa_fldcat_head-ref_tabname = ' '.
         when 'DUE_DAYS'.
            wa_fldcat_head-col_pos = '8'.
            wa_fldcat_head-seltext_m  = 'Due Days'(013).
            wa_fldcat_head-ddictxt = 'M'.
            wa_fldcat_head-outputlen = '9'.
         when 'NOT_DUE'.
            wa_fldcat_head-col_pos = '9'.
            wa_fldcat_head-seltext_m  = 'Not Due'(014).
            wa_fldcat_head-ddictxt = 'M'.
            wa_fldcat_head-outputlen = '16'.
            wa_fldcat_head-do_sum = 'X'.
         when 'BUCK_0_30'.
            wa_fldcat_head-col_pos = '10'.
            wa_fldcat_head-seltext_m  = '0 To 30'(015).
            wa_fldcat_head-ddictxt = 'M'.
            wa_fldcat_head-outputlen = '16'.
            wa_fldcat_head-do_sum = 'X'.
         when 'BUCK_31_60'.
            wa_fldcat_head-col_pos = '11'.
            wa_fldcat_head-seltext_m  = '31 To 60'(016).
            wa_fldcat_head-ddictxt = 'M'.
            wa_fldcat_head-outputlen = '16'.
            wa_fldcat_head-do_sum = 'X'.
         when 'BUCK_61_90'.
            wa_fldcat_head-col_pos = '12'.
            wa_fldcat_head-seltext_m  = '61 To 90'(017).
            wa_fldcat_head-ddictxt = 'M'.
            wa_fldcat_head-outputlen = '16'.
            wa_fldcat_head-do_sum = 'X'.
         when 'BUCK_91_180'.
            wa_fldcat_head-col_pos = '13'.
            wa_fldcat_head-seltext_m  = '91 To 180'(018).
            wa_fldcat_head-ddictxt = 'M'.
            wa_fldcat_head-outputlen = '16'.
            wa_fldcat_head-do_sum = 'X'.
         when 'BUCK_180'.
            wa_fldcat_head-col_pos = '14'.
            wa_fldcat_head-seltext_m  = 'Beyond 180'(019).
            wa_fldcat_head-ddictxt = 'M'.
            wa_fldcat_head-outputlen = '16'.
            wa_fldcat_head-do_sum = 'X'.
        when 'DOCNR'.
            wa_fldcat_head-no_out = 'X'.
        when 'REFDOCNR'.
            wa_fldcat_head-no_out = 'X'.
        when 'DOC_DATE'.
            wa_fldcat_head-no_out = 'X'.
        when 'FOUND'.
            wa_fldcat_head-no_out = 'X'.
         endcase.
         modify i_fldcat_head from wa_fldcat_head index sy-tabix.
        endloop.
      endif.
    endform.                    " GENERATE_FIELD_CATALOG_CUST
    *&      Form  get_events_customer
          Getting ALV Events
    form get_events_customer.
        call function 'REUSE_ALV_EVENTS_GET'
      EXPORTING
        I_LIST_TYPE           = 0
       importing
         et_events             = i_events
      exceptions
        list_type_wrong       = 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.
      if not i_events[] is initial.
       read table i_events into wa_event with key name = 'TOP_OF_PAGE'(024)
       wa_event-form = 'GENERATE_USERCOMMAND_CUST'.
       modify i_events from wa_event index sy-tabix.
       read table i_events into wa_event with key na

  • Discoverer report showing null instead blank

    hi,
    I am running report from discoverer and it is showing null instead blank, do I need to check some thing in pref.txt file in oracle 9i
    regards
    kumar

    hi,
    I am running report from discoverer and it is showing null instead blank, do I need to check some thing in pref.txt file in oracle 9i
    regards
    kumar

Maybe you are looking for

  • Automatic Payment Programe

    Hi, I would like to know what are the setting has to be don in APP when having Different Vendor Currency. For Ex.: My Bank currency is USD and Vendor currency is EUR. How to Make this payment through APP(F110) Regards, Vadiraj

  • Too many java processes.

    Hi, I have installed Forms & Reports Services Standalone 10.1.2.0.2 on RHEL 5 and applied the 10.1.2.3 patch to it. After the patch, the java processes continue to grow so fast that sometimes when I open a new session and try to switch to oracle user

  • PLEASE PLEASE! HELP .. iTunes gone CRAZY!

    I downloaded 3 videos from LOST and all downloaded fine. The next day I tried again (3 more), but my internet conection failed and the videos were left on hold. EVERYTIME I go to ADVANCE --> Check for Purchases ... It sort of names one by one, and th

  • Is there a best practice for copying or moving tasks between schedules?

    Working Project Pro 2010 and PWA/ Server 2010.  What is the best way to copy or move tasks from one project schedule to another, with out using copy and paste?

  • Not possible to increase the size of a sparsebundle on 10.5.7

    Hi, I have a sparsebundle of 300GB on a NAS (Droboshare). It's used for Time Machine backups. I think the band size is 64MB. I can decrease the size (e.g. from 300 to 299GB) with hdiutils but when I try to increase it, I always get the following erro