Yahoo's stock market report doesn't always update

Is something going on with the stock market report updates on Yahoo's home page? It used to work ok, but for the past few weeks the stock market report doesn't always update and sometimes the Nasdaq report doesn't show (only the Dow). This happens in Safari 5.0.1 running Leopard and 4.1.1 running Tiger.

HI,
It appears Yahoo needs to update their software to be compatible with the most recent versions of Safari whether it's 4.1 or 5.0.1
You can contact Customer Care at the bottom of this window.
http://help.yahoo.com/l/us/yahoo/homepage/homepage/
Carolyn

Similar Messages

  • Bound control doesn't always update shared variable (LV 8.2 + DSC)

    It seems that it is possible for a bound shared variable to NOT always get updated with the latest UI control value that it is bound to. 
    If you run the vi in the attached project, and (fairly quickly) toggle the 'Keyswitch Control' between the 'Off' and 'Start' positions, you should be able to reproduce the effect shown in the attached pdf.  Sometimes the bound shared variable (Keyswitch_Control) gets stuck in the 'On' position when the control reads 'Off' or 'Start.'  It does not catch up after a little while either; it seems truly "stuck."
    Unless I am missing something here, this looks like a bug. 
    I haven't played around with any other control types yet to test further.  I also don't know if this is limited to 'control -> SV' binding or if it also affects 'SV -> indicator' bindings (I hope not!).
    Any ideas!?!?!?
    Attachments:
    DataBindTest.zip ‏21 KB
    DataBindTest.pdf ‏40 KB

    Hello WHAVEman,
    I was able to replicate what you were observing. It seems that there is a bug in the front panel binding code. I would be filing a Corrective Action Report to let R&D know about this. Thanks for pointing it out.
    Just on the side note, if you are looking to build an application based on the application architecture as in your posted code, then I would recommend that you refer to the attached VI for a much more efficient way of doing this.
    Regards,
    Chetan K
    Application Engineering
    National Instruments
    Attachments:
    Connect Shared Varibles.vi ‏29 KB
    DataBind UI_modified.vi ‏12 KB

  • Doesn't always update last played list

    I have a 2nd generation shuffle that I bought a month ago.
    It works fine, except for one thing. About 25 percent of the time when I plug my shuffle into my iMac, it doesn't update the "last played" list with the songs I've been listening to since the last time I had it plugged in. The other 75 percent of the time, it updates the "last played" list just like it's supposed to. As far as I can tell, this behavior is random.
    I'm using all the latest versions of iTunes, and I've updated my iPod software.

    Hello WHAVEman,
    I was able to replicate what you were observing. It seems that there is a bug in the front panel binding code. I would be filing a Corrective Action Report to let R&D know about this. Thanks for pointing it out.
    Just on the side note, if you are looking to build an application based on the application architecture as in your posted code, then I would recommend that you refer to the attached VI for a much more efficient way of doing this.
    Regards,
    Chetan K
    Application Engineering
    National Instruments
    Attachments:
    Connect Shared Varibles.vi ‏29 KB
    DataBind UI_modified.vi ‏12 KB

  • Stock ageing report in inventory management

    Hi,
    iam working in stock ageing report my requirment is i for developing stock ageing i have chars for plant and material ,and other 2 chars but i dont have cal day i have only creation on date means posting date only availble .my current layout is :
    Plant
    Plant   Material     0 u2013 30 Days  30 u2013 60 Days 60 u2013 90 Days  90 u2013 180 Days   > 180 Days     
    Expired     Blocked     Restricted
    above is mentioned is my current layout.
    but now user will be want  they want see 0-30 below month also mean july- august same as 30-60 also.
    Report to display always 2 months data at a time. Previous month closing and current month ongoing                                        
    this is my requirement please hpe help on this.
    thanks in advance.
    Deva

    As you already noticed not only the input (GR) but the output (GI) is also important.
    The date of the GR is only one thing, but after that you received the goods in your SLoc you cannot make difference between stocks received at different times.
    As your stock is not distinguished in the system as per the GR date you cannot say that which sub-stock has been consumed during GI.
    So, without batch management you cannot achieve your goal in standard system.
    Of course, physically you can realize your idea by putting labels on different batches - this would mean batch management physically and not in SAP.
    If you use warehouse management you can use a workaround: the GR date is stored in the quants and this makes possible to track the age of the stock without batch management. Please check:
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/c6/f83b5e4afa11d182b90000e829fbfe/frameset.htm
    Regards,
    Csaba

  • Link to detail Report doesn't work.

    Hi, we are using Webi for On Demand reports (against Salesforce universe) and the hyperlinks to details reports are not working.
    my URL in master report looks like this:
    ="<a href=https://na.crystalreports.com/opendoc/openDocument.do?iDocID=48877773&sType=wid&sWindow=New&lsMFocusBook="[Focus Book]"&lsMSegment="[Segment]"&lsMAccount="[Account Name]">"[Segment]"</a>"
    and UR in detail report appears as:
    https://na.crystalreports.com/opendoc/documentXML.jsp?cmdP1=untitled488777731wid*&token=&cmd=askPromptView&cmdBlock=all&cmdP2=lsMSegment%3D%255BSegment%255D%26sWindow%3DNew%26useCustomPrompts%3DY
    Some how details report doesn't recognise the propmpt values and always asks to fill prompts.
    can some one advise?
    Thanks

    Hello,
    The openDocument.do url was really only designed for use with Crystal Reports documents.
    It is not officially supported for webi documents, or any of the other document types.
    That being said, it sounds like opening webi docs with openDocument.do does work, it is just the parameter passing that is problematic.
    Cheers
    Steve

  • "Put" command doesn't always work

    Hi,
    I'm looking for a confirmation that the put command doesn't
    always work in DW8.
    I don't use check in/out, so I have started to rely on the
    Put command, rather than going in to Windows Explorer to copy and
    paste web page changes from Local to Remote (via LAN). But even
    when I know there are differences between the local and remote
    file, the Put command will often report that the Local file was not
    moved to the Remote location because DW thinks the Remote file is
    the same as the Local. I get a log message like this:
    "the file" - same - not transferred
    But, I can confirm the local is newer than the remote by
    manually copying and pasting. I can see a different timestamp and
    file size in Windows Explorer.
    Is this command "broken" in DW8?
    Thanx,
    Chris

    > I'm looking for a confirmation that the put command
    doesn't always work in
    > DW8.
    You won't get it from me. I have never had it fail since DW2.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "ChrisRi" <[email protected]> wrote in
    message
    news:egg99f$2s3$[email protected]..
    > Hi,
    >
    > I'm looking for a confirmation that the put command
    doesn't always work in
    > DW8.
    >
    > I don't use check in/out, so I have started to rely on
    the Put command,
    > rather
    > than going in to Windows Explorer to copy and paste web
    page changes from
    > Local
    > to Remote (via LAN). But even when I know there are
    differences between
    > the
    > local and remote file, the Put command will often report
    that the Local
    > file
    > was not moved to the Remote location because DW thinks
    the Remote file is
    > the
    > same as the Local. I get a log message like this:
    >
    > "the file" - same - not transferred
    >
    > But, I can confirm the local is newer than the remote by
    manually copying
    > and
    > pasting. I can see a different timestamp and file size
    in Windows
    > Explorer.
    >
    > Is this command "broken" in DW8?
    >
    > Thanx,
    >
    > Chris
    >
    >

  • Fidelity stock market widget has just disappeared.  What happened?

    My Fidelity Stock Market Widget just disappared today....installing it again...doesn't help. What could have happened?

    You are most welcome

  • My USB mouse doesn't always start at boot.

    After updating from Arch 0.7.1 to 0.8, one of the big pile of bugs I had was that my USB mouse doesn't always start at boot. In fact, when I start the computer, the red LED in the mouse lights up but sometimes it switches off after the menu where I can choose to use Arch linux or .. Arch linux.
    So, the mouse switches off before I startx one time on two. When it happens I just deplug and replug it but I hate to do that.
    Need some help.

    dmesg when the mouse isn't working :
    $ dmesg
    Linux version 2.6.19-ARCH (root@Laptop) (gcc version 4.1.2 20061215 (prerelease)
    ) #1 SMP PREEMPT Thu Jan 11 20:08:17 CET 2007
    BIOS-provided physical RAM map:
    BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
    BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
    BIOS-e820: 00000000000ec000 - 00000000000f0000 (ACPI NVS)
    BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
    BIOS-e820: 0000000000100000 - 000000000f800000 (usable)
    BIOS-e820: 00000000fffc0000 - 0000000100000000 (reserved)
    0MB HIGHMEM available.
    248MB LOWMEM available.
    Entering add_active_range(0, 0, 63488) 0 entries of 256 used
    Zone PFN ranges:
      DMA             0 ->     4096
      Normal       4096 ->    63488
      HighMem     63488 ->    63488
    early_node_map[1] active PFN ranges
        0:        0 ->    63488
    On node 0 totalpages: 63488
      DMA zone: 32 pages used for memmap
      DMA zone: 0 pages reserved
      DMA zone: 4064 pages, LIFO batch:0
      Normal zone: 464 pages used for memmap
      Normal zone: 58928 pages, LIFO batch:15
      HighMem zone: 0 pages used for memmap
    DMI 2.3 present.
    ACPI: RSDP (v000 COMPAQ                                ) @ 0x000ec010
    ACPI: RSDT (v001 COMPAQ HAWA7K31 0x00010503  0x00000000) @ 0x000ec080
    ACPI: FADT (v001 COMPAQ HAWA7K31 0x00010503  0x00000000) @ 0x000ec0cc
    ACPI: SSDT (v001 COMPAQ HAWA7K3  0x00000001 MSFT 0x0100000c) @ 0x000ec223
    ACPI: DSDT (v001 COMPAQ DSDTTBL  0x00000001 MSFT 0x0100000c) @ 0x00000000
    ACPI: PM-Timer IO Port: 0xee08
    Allocating PCI resources starting at 10000000 (gap: 0f800000:f07c0000)
    Detected 901.637 MHz processor.
    Built 1 zonelists.  Total pages: 62992
    Kernel command line: root=/dev/hda3 ro earlymodules=piix
    Local APIC disabled by BIOS -- you can enable it with "lapic"
    mapped APIC to ffffd000 (011fa000)
    Enabling fast FPU save and restore... done.
    Initializing CPU#0
    PID hash table entries: 1024 (order: 10, 4096 bytes)
    Console: colour VGA+ 80x25
    Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
    Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
    Memory: 246968k/253952k available (2330k kernel code, 6392k reserved, 735k data,
    260k init, 0k highmem)
    virtual kernel memory layout:
        fixmap  : 0xfff83000 - 0xfffff000   ( 496 kB)
        pkmap   : 0xff800000 - 0xffc00000   (4096 kB)
        vmalloc : 0xd0000000 - 0xff7fe000   ( 759 MB)
        lowmem  : 0xc0000000 - 0xcf800000   ( 248 MB)
          .init : 0xc0405000 - 0xc0446000   ( 260 kB)
          .data : 0xc0346806 - 0xc03fe64c   ( 735 kB)
          .text : 0xc0100000 - 0xc0346806   (2330 kB)
    Checking if this processor honours the WP bit even in supervisor mode... Ok.
    Calibrating delay using timer specific routine.. 1805.52 BogoMIPS (lpj=3611040)
    Security Framework v1.0.0 initialized
    Mount-cache hash table entries: 512
    CPU: After generic identify, caps: 0183f9ff c1c7f9ff 00000000 00000000 00000000
    00000000 00000000
    CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
    CPU: L2 Cache: 64K (64 bytes/line)
    CPU: After all inits, caps: 0183f9ff c1c7f9ff 00000000 00000420 00000000 0000000
    0 00000000
    Intel machine check architecture supported.
    Intel machine check reporting enabled on CPU#0.
    Compat vDSO mapped to ffffe000.
    Checking 'hlt' instruction... OK.
    SMP alternatives: switching to UP code
    Freeing SMP alternatives: 12k freed
    checking if image is initramfs... it is
    Freeing initrd memory: 501k freed
    ACPI: Core revision 20060707
    ACPI: Looking for DSDT in initramfs... error, file /DSDT.aml not found.
    ACPI: setting ELCR to 0200 (from 0c28)
    CPU0: AMD Duron(tm) Processor stepping 01
    SMP motherboard not detected.
    Local APIC not detected. Using dummy APIC emulation.
    Brought up 1 CPUs
    NET: Registered protocol family 16
    ACPI: bus type pci registered
    PCI: PCI BIOS revision 2.10 entry at 0xfa154, last bus=1
    PCI: Using configuration type 1
    Setting up standard PCI resources
    ACPI: Interpreter enabled
    ACPI: Using PIC for interrupt routing
    ACPI: PCI Interrupt Link [LNKA] (IRQs *3 4 5 6 7 10 11 15)
    ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 *5 6 7 10 11 15)
    ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 *10 11 15)
    ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 10 *11 15)
    ACPI: PCI Root Bridge [PCI0] (0000:00)
    PCI: Probing PCI hardware (bus 00)
    ACPI: Assume root bridge [_SB_.PCI0] bus is 0
    PCI quirk: region ee00-eeff claimed by vt82c586 ACPI
    PCI quirk: region ec00-ec0f claimed by vt82c686 SMB
    Boot video device is 0000:01:00.0
    ACPI: PCI Interrupt Routing Table [_SB_.PCI0._PRT]
    Linux Plug and Play Support v0.97 (c) Adam Belay
    pnp: PnP ACPI init
    pnp: PnP ACPI: found 12 devices
    SCSI subsystem initialized
    PCI: Using ACPI for IRQ routing
    PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
    NetLabel: Initializing
    NetLabel:  domain hash size = 128
    NetLabel:  protocols = UNLABELED CIPSOv4
    NetLabel:  unlabeled traffic allowed by default
    pnp: 00:0b: ioport range 0x4d0-0x4d1 has been reserved
    pnp: 00:0b: ioport range 0xee00-0xee7f could not be reserved
    pnp: 00:0b: ioport range 0xee80-0xeeff has been reserved
    PCI: Bridge: 0000:00:01.0
      IO window: disabled.
      MEM window: 80000000-800fffff
      PREFETCH window: 88000000-8fffffff
    PCI: Setting latency timer of device 0000:00:01.0 to 64
    NET: Registered protocol family 2
    IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
    TCP established hash table entries: 8192 (order: 4, 98304 bytes)
    TCP bind hash table entries: 4096 (order: 3, 49152 bytes)
    TCP: Hash tables configured (established 8192 bind 4096)
    TCP reno registered
    apm: BIOS not found.
    VFS: Disk quotas dquot_6.5.1
    Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    Installing knfsd (copyright (C) 1996 [email protected]).
    io scheduler noop registered
    io scheduler anticipatory registered
    io scheduler deadline registered
    io scheduler cfq registered (default)
    PCI: Disabling Via external APIC routing
    ACPI: Power Button (FF) [PWRF]
    ACPI: Power Button (CM) [PBTN]
    isapnp: Scanning for PnP cards...
    isapnp: No Plug & Play device found
    Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
    serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
    00:03: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
    PCI: Enabling device 0000:00:03.0 (0000 -> 0001)
    ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 3
    PCI: setting IRQ 3 as level-triggered
    ACPI: PCI Interrupt 0000:00:03.0[A] -> Link [LNKA] -> GSI 3 (level, low) -> IRQ
    3
    RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
    loop: loaded (max 8 devices)
    PNP: PS/2 Controller [PNP0303:KBD,PNP0f0e:PS2M] at 0x60,0x64 irq 1,12
    serio: i8042 KBD port at 0x60,0x64 irq 1
    serio: i8042 AUX port at 0x60,0x64 irq 12
    mice: PS/2 mouse device common for all mice
    TCP cubic registered
    NET: Registered protocol family 1
    NET: Registered protocol family 17
    Using IPI No-Shortcut mode
    ACPI: (supports S0 S1 S4 S5)
    Freeing unused kernel memory: 260k freed
    Time: tsc clocksource has been installed.
    input: AT Translated Set 2 keyboard as /class/input/input0
    Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
    ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
    VP_IDE: IDE controller at PCI slot 0000:00:14.1
    VP_IDE: chipset revision 16
    VP_IDE: not 100% native mode: will probe irqs later
    VP_IDE: VIA vt82c686a (rev 22) IDE UDMA66 controller on pci0000:00:14.1
        ide0: BM-DMA at 0x1880-0x1887, BIOS settings: hda:DMA, hdb:pio
        ide1: BM-DMA at 0x1888-0x188f, BIOS settings: hdc:pio, hdd:DMA
    Probing IDE interface ide0...
    hda: QUANTUM FIREBALLlct20 40, ATA DISK drive
    ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
    Probing IDE interface ide1...
    hdd: Compaq CRD-8322B, ATAPI CD/DVD-ROM drive
    ide1 at 0x170-0x177,0x376 on irq 15
    hda: max request size: 128KiB
    hda: 78177792 sectors (40027 MB) w/418KiB Cache, CHS=65535/16/63
    hda: cache flushes not supported
    hda: hda1 hda2 hda3
    hdd: ATAPI 32X CD-ROM drive, 128kB Cache, DMA
    Uniform CD-ROM driver Revision: 3.20
    kjournald starting.  Commit interval 5 seconds
    EXT3-fs: mounted filesystem with ordered data mode.
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    Linux agpgart interface v0.101 (c) Dave Jones
    USB Universal Host Controller Interface driver v3.0
    ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11
    PCI: setting IRQ 11 as level-triggered
    ACPI: PCI Interrupt 0000:00:14.2[D] -> Link [LNKD] -> GSI 11 (level, low) -> IRQ
    11
    uhci_hcd 0000:00:14.2: UHCI Host Controller
    uhci_hcd 0000:00:14.2: new USB bus registered, assigned bus number 1
    uhci_hcd 0000:00:14.2: irq 11, io base 0x00001840
    usb usb1: configuration #1 chosen from 1 choice
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 2 ports detected
    ACPI: PCI Interrupt 0000:00:14.3[D] -> Link [LNKD] -> GSI 11 (level, low) -> IRQ
    11
    uhci_hcd 0000:00:14.3: UHCI Host Controller
    uhci_hcd 0000:00:14.3: new USB bus registered, assigned bus number 2
    uhci_hcd 0000:00:14.3: irq 11, io base 0x00001860
    usb usb2: configuration #1 chosen from 1 choice
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 2 ports detected
    agpgart: Detected VIA Twister-K/KT133x/KM133 chipset
    agpgart: AGP aperture is 64M @ 0x90000000
    usb 1-1: new low speed USB device using uhci_hcd and address 2
    usb 1-1: configuration #1 chosen from 1 choice
    usb 1-2: new full speed USB device using uhci_hcd and address 3
    usb 1-2: configuration #1 chosen from 1 choice
    parport_pc: VIA 686A/8231 detected
    parport_pc: probing current configuration
    parport_pc: Current parallel port base: 0x378
    parport0: PC-style at 0x378 (0x778), irq 7, using FIFO [PCSPP,TRISTATE,COMPAT,EC
    P]
    parport_pc: VIA parallel port: io=0x378, irq=7
    ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 10
    PCI: setting IRQ 10 as level-triggered
    ACPI: PCI Interrupt 0000:00:14.5[C] -> Link [LNKC] -> GSI 10 (level, low) -> IRQ
    10
    PCI: Setting latency timer of device 0000:00:14.5 to 64
    pci_hotplug: PCI Hot Plug PCI Core version: 0.5
    shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
    input: PC Speaker as /class/input/input1
    via686a 0000:00:14.4: base address not set - upgrade BIOS or use force_addr=0xad
    dr
    vt596_smbus 0000:00:14.4: SMBUS: Error: Host SMBus controller not enabled! - upg
    rade BIOS or use force=1
    via-rhine.c:v1.10-LK1.4.2 Sept-11-2006 Written by Donald Becker
    PCI: Enabling device 0000:00:05.0 (0004 -> 0007)
    ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 5
    PCI: setting IRQ 5 as level-triggered
    ACPI: PCI Interrupt 0000:00:05.0[A] -> Link [LNKB] -> GSI 5 (level, low) -> IRQ
    5
    eth0: VIA Rhine II at 0x11000, 00:05:5d:e9:5a:17, IRQ 5.
    eth0: MII PHY found at address 8, status 0x782d advertising 01e1 Link 0021.
    usbcore: registered new interface driver hiddev
    usbhid: probe of 1-1:1.0 failed with error -71
    usbcore: registered new interface driver usbhid
    drivers/usb/input/hid-core.c: v2.6:USB HID core driver
    Initializing USB Mass Storage driver...
    lp0: using parport0 (interrupt-driven).
    scsi0 : SCSI emulation for USB Mass Storage devices
    usb-storage: device found at 3
    usb-storage: waiting for device to settle before scanning
    usbcore: registered new interface driver usb-storage
    USB Mass Storage support registered.
    Real Time Clock Driver v1.12ac
    ppdev: user-space parallel port driver
    EXT3 FS on hda3, internal journal
    Adding 262576k swap on /dev/hda2.  Priority:-1 extents:1 across:262576k
    scsi 0:0:0:0: Direct-Access     JetFlash TS256MJF110      0.00 PQ: 0 ANSI: 2
    usb-storage: device scan complete
    eth0: link up, 10Mbps, half-duplex, lpa 0x0021
    SCSI device sda: 512000 512-byte hdwr sectors (262 MB)
    sda: Write Protect is off
    sda: Mode Sense: 00 00 00 00
    sda: assuming drive cache: write through
    SCSI device sda: 512000 512-byte hdwr sectors (262 MB)
    sda: Write Protect is off
    sda: Mode Sense: 00 00 00 00
    sda: assuming drive cache: write through
    sda: sda1
    sd 0:0:0:0: Attached scsi removable disk sda
    NET: Registered protocol family 10
    lo: Disabled Privacy Extensions
    Mobile IPv6
    [drm] Initialized drm 1.0.1 20051102
    ACPI: PCI Interrupt 0000:01:00.0[A] -> Link [LNKA] -> GSI 3 (level, low) -> IRQ
    3
    [drm] Initialized savage 2.4.1 20050313 on minor 0
    mtrr: base(0x8a000000) is not aligned on a size(0x5000000) boundary
    agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
    agpgart: Putting AGP V2 device at 0000:00:00.0 into 1x mode
    agpgart: Putting AGP V2 device at 0000:01:00.0 into 1x mode
    eth0: no IPv6 routers present
    mtrr: base(0x8a000000) is not aligned on a size(0x5000000) boundary
    mtrr: base(0x8a000000) is not aligned on a size(0x5000000) boundary
    mtrr: base(0x8a000000) is not aligned on a size(0x5000000) boundary
    agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
    agpgart: Putting AGP V2 device at 0000:00:00.0 into 1x mode
    agpgart: Putting AGP V2 device at 0000:01:00.0 into 1x mode
    And here's the output of dmesg when the mouse works :
    $ dmesg
    Linux version 2.6.19-ARCH (root@Laptop) (gcc version 4.1.2 20061215 (prerelease
    BIOS-provided physical RAM map:
    BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
    BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
    BIOS-e820: 00000000000ec000 - 00000000000f0000 (ACPI NVS)
    BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
    BIOS-e820: 0000000000100000 - 000000000f800000 (usable)
    BIOS-e820: 00000000fffc0000 - 0000000100000000 (reserved)
    0MB HIGHMEM available.
    248MB LOWMEM available.
    Entering add_active_range(0, 0, 63488) 0 entries of 256 used
    Zone PFN ranges:
      DMA             0 ->     4096
      Normal       4096 ->    63488
      HighMem     63488 ->    63488
    early_node_map[1] active PFN ranges
        0:        0 ->    63488
    On node 0 totalpages: 63488
      DMA zone: 32 pages used for memmap
      DMA zone: 0 pages reserved
      DMA zone: 4064 pages, LIFO batch:0
      Normal zone: 464 pages used for memmap
      Normal zone: 58928 pages, LIFO batch:15
      HighMem zone: 0 pages used for memmap
    DMI 2.3 present.
    ACPI: RSDP (v000 COMPAQ                                ) @ 0x000ec010
    ACPI: RSDT (v001 COMPAQ HAWA7K31 0x00010503  0x00000000) @ 0x000ec080
    ACPI: FADT (v001 COMPAQ HAWA7K31 0x00010503  0x00000000) @ 0x000ec0cc
    ACPI: SSDT (v001 COMPAQ HAWA7K3  0x00000001 MSFT 0x0100000c) @ 0x000ec223
    ACPI: DSDT (v001 COMPAQ DSDTTBL  0x00000001 MSFT 0x0100000c) @ 0x00000000
    ACPI: PM-Timer IO Port: 0xee08
    Allocating PCI resources starting at 10000000 (gap: 0f800000:f07c0000)
    Detected 901.637 MHz processor.
    Built 1 zonelists.  Total pages: 62992
    Kernel command line: root=/dev/hda3 ro earlymodules=piix
    Local APIC disabled by BIOS -- you can enable it with "lapic"
    mapped APIC to ffffd000 (011fa000)
    Enabling fast FPU save and restore... done.
    Initializing CPU#0
    PID hash table entries: 1024 (order: 10, 4096 bytes)
    Console: colour VGA+ 80x25
    Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
    Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
    Memory: 246968k/253952k available (2330k kernel code, 6392k reserved, 735k data
    virtual kernel memory layout:
        fixmap  : 0xfff83000 - 0xfffff000   ( 496 kB)
        pkmap   : 0xff800000 - 0xffc00000   (4096 kB)
        vmalloc : 0xd0000000 - 0xff7fe000   ( 759 MB)
        lowmem  : 0xc0000000 - 0xcf800000   ( 248 MB)
          .init : 0xc0405000 - 0xc0446000   ( 260 kB)
          .data : 0xc0346806 - 0xc03fe64c   ( 735 kB)
          .text : 0xc0100000 - 0xc0346806   (2330 kB)
    Checking if this processor honours the WP bit even in supervisor mode... Ok.
    Calibrating delay using timer specific routine.. 1805.52 BogoMIPS (lpj=3611040)
    Security Framework v1.0.0 initialized
    Mount-cache hash table entries: 512
    CPU: After generic identify, caps: 0183f9ff c1c7f9ff 00000000 00000000 00000000
    CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
    CPU: L2 Cache: 64K (64 bytes/line)
    CPU: After all inits, caps: 0183f9ff c1c7f9ff 00000000 00000420 00000000 000000
    Intel machine check architecture supported.
    Intel machine check reporting enabled on CPU#0.
    Compat vDSO mapped to ffffe000.
    Checking 'hlt' instruction... OK.
    SMP alternatives: switching to UP code
    Freeing SMP alternatives: 12k freed
    checking if image is initramfs... it is
    Freeing initrd memory: 501k freed
    ACPI: Core revision 20060707
    ACPI: Looking for DSDT in initramfs... error, file /DSDT.aml not found.
    ACPI: setting ELCR to 0200 (from 0c28)
    CPU0: AMD Duron(tm) Processor stepping 01
    SMP motherboard not detected.
    Local APIC not detected. Using dummy APIC emulation.
    Brought up 1 CPUs
    NET: Registered protocol family 16
    ACPI: bus type pci registered
    PCI: PCI BIOS revision 2.10 entry at 0xfa154, last bus=1
    PCI: Using configuration type 1
    Setting up standard PCI resources
    ACPI: Interpreter enabled
    ACPI: Using PIC for interrupt routing
    ACPI: PCI Interrupt Link [LNKA] (IRQs *3 4 5 6 7 10 11 15)
    ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 *5 6 7 10 11 15)
    ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 *10 11 15)
    ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 10 *11 15)
    ACPI: PCI Root Bridge [PCI0] (0000:00)
    PCI: Probing PCI hardware (bus 00)
    ACPI: Assume root bridge [_SB_.PCI0] bus is 0
    PCI quirk: region ee00-eeff claimed by vt82c586 ACPI
    PCI quirk: region ec00-ec0f claimed by vt82c686 SMB
    Boot video device is 0000:01:00.0
    ACPI: PCI Interrupt Routing Table [_SB_.PCI0._PRT]
    Linux Plug and Play Support v0.97 (c) Adam Belay
    pnp: PnP ACPI init
    pnp: PnP ACPI: found 12 devices
    SCSI subsystem initialized
    PCI: Using ACPI for IRQ routing
    PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
    NetLabel: Initializing
    NetLabel:  domain hash size = 128
    NetLabel:  protocols = UNLABELED CIPSOv4
    NetLabel:  unlabeled traffic allowed by default
    pnp: 00:0b: ioport range 0x4d0-0x4d1 has been reserved
    pnp: 00:0b: ioport range 0xee00-0xee7f could not be reserved
    pnp: 00:0b: ioport range 0xee80-0xeeff has been reserved
    PCI: Bridge: 0000:00:01.0
      IO window: disabled.
      MEM window: 80000000-800fffff
      PREFETCH window: 88000000-8fffffff
    PCI: Setting latency timer of device 0000:00:01.0 to 64
    NET: Registered protocol family 2
    IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
    TCP established hash table entries: 8192 (order: 4, 98304 bytes)
    TCP bind hash table entries: 4096 (order: 3, 49152 bytes)
    TCP: Hash tables configured (established 8192 bind 4096)
    TCP reno registered
    apm: BIOS not found.
    VFS: Disk quotas dquot_6.5.1
    Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    Installing knfsd (copyright (C) 1996 [email protected]).
    io scheduler noop registered
    io scheduler anticipatory registered
    io scheduler deadline registered
    io scheduler cfq registered (default)
    PCI: Disabling Via external APIC routing
    ACPI: Power Button (FF) [PWRF]
    ACPI: Power Button (CM) [PBTN]
    isapnp: Scanning for PnP cards...
    isapnp: No Plug & Play device found
    Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
    serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
    00:03: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
    PCI: Enabling device 0000:00:03.0 (0000 -> 0001)
    ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 3
    PCI: setting IRQ 3 as level-triggered
    ACPI: PCI Interrupt 0000:00:03.0[A] -> Link [LNKA] -> GSI 3 (level, low) -> IRQ
    RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
    loop: loaded (max 8 devices)
    PNP: PS/2 Controller [PNP0303:KBD,PNP0f0e:PS2M] at 0x60,0x64 irq 1,12
    serio: i8042 KBD port at 0x60,0x64 irq 1
    serio: i8042 AUX port at 0x60,0x64 irq 12
    mice: PS/2 mouse device common for all mice
    TCP cubic registered
    NET: Registered protocol family 1
    NET: Registered protocol family 17
    Using IPI No-Shortcut mode
    ACPI: (supports S0 S1 S4 S5)
    Freeing unused kernel memory: 260k freed
    Time: tsc clocksource has been installed.
    input: AT Translated Set 2 keyboard as /class/input/input0
    Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
    ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
    VP_IDE: IDE controller at PCI slot 0000:00:14.1
    VP_IDE: chipset revision 16
    VP_IDE: not 100% native mode: will probe irqs later
    VP_IDE: VIA vt82c686a (rev 22) IDE UDMA66 controller on pci0000:00:14.1
        ide0: BM-DMA at 0x1880-0x1887, BIOS settings: hda:DMA, hdb:pio
        ide1: BM-DMA at 0x1888-0x188f, BIOS settings: hdc:pio, hdd:DMA
    Probing IDE interface ide0...
    hda: QUANTUM FIREBALLlct20 40, ATA DISK drive
    ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
    Probing IDE interface ide1...
    hdd: Compaq CRD-8322B, ATAPI CD/DVD-ROM drive
    ide1 at 0x170-0x177,0x376 on irq 15
    hda: max request size: 128KiB
    hda: 78177792 sectors (40027 MB) w/418KiB Cache, CHS=65535/16/63
    hda: cache flushes not supported
    hda: hda1 hda2 hda3
    hdd: ATAPI 32X CD-ROM drive, 128kB Cache, DMA
    Uniform CD-ROM driver Revision: 3.20
    kjournald starting.  Commit interval 5 seconds
    EXT3-fs: mounted filesystem with ordered data mode.
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    Linux agpgart interface v0.101 (c) Dave Jones
    USB Universal Host Controller Interface driver v3.0
    ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11
    PCI: setting IRQ 11 as level-triggered
    ACPI: PCI Interrupt 0000:00:14.2[D] -> Link [LNKD] -> GSI 11 (level, low) -> IR
    uhci_hcd 0000:00:14.2: UHCI Host Controller
    uhci_hcd 0000:00:14.2: new USB bus registered, assigned bus number 1
    uhci_hcd 0000:00:14.2: irq 11, io base 0x00001840
    usb usb1: configuration #1 chosen from 1 choice
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 2 ports detected
    ACPI: PCI Interrupt 0000:00:14.3[D] -> Link [LNKD] -> GSI 11 (level, low) -> IR
    uhci_hcd 0000:00:14.3: UHCI Host Controller
    uhci_hcd 0000:00:14.3: new USB bus registered, assigned bus number 2
    uhci_hcd 0000:00:14.3: irq 11, io base 0x00001860
    usb usb2: configuration #1 chosen from 1 choice
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 2 ports detected
    agpgart: Detected VIA Twister-K/KT133x/KM133 chipset
    agpgart: AGP aperture is 64M @ 0x90000000
    usb 1-1: new low speed USB device using uhci_hcd and address 2
    usb 1-1: configuration #1 chosen from 1 choice
    usb 1-2: new full speed USB device using uhci_hcd and address 3
    usb 1-2: configuration #1 chosen from 1 choice
    parport_pc: VIA 686A/8231 detected
    parport_pc: probing current configuration
    parport_pc: Current parallel port base: 0x378
    parport0: PC-style at 0x378 (0x778), irq 7, using FIFO [PCSPP,TRISTATE,COMPAT,E
    parport_pc: VIA parallel port: io=0x378, irq=7
    ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 10
    PCI: setting IRQ 10 as level-triggered
    ACPI: PCI Interrupt 0000:00:14.5[C] -> Link [LNKC] -> GSI 10 (level, low) -> IR
    PCI: Setting latency timer of device 0000:00:14.5 to 64
    pci_hotplug: PCI Hot Plug PCI Core version: 0.5
    shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
    input: PC Speaker as /class/input/input1
    via686a 0000:00:14.4: base address not set - upgrade BIOS or use force_addr=0xa
    vt596_smbus 0000:00:14.4: SMBUS: Error: Host SMBus controller not enabled! - up
    via-rhine.c:v1.10-LK1.4.2 Sept-11-2006 Written by Donald Becker
    PCI: Enabling device 0000:00:05.0 (0004 -> 0007)
    ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 5
    PCI: setting IRQ 5 as level-triggered
    ACPI: PCI Interrupt 0000:00:05.0[A] -> Link [LNKB] -> GSI 5 (level, low) -> IRQ
    eth0: VIA Rhine II at 0x11000, 00:05:5d:e9:5a:17, IRQ 5.
    eth0: MII PHY found at address 8, status 0x782d advertising 01e1 Link 0021.
    usbcore: registered new interface driver hiddev
    usbhid: probe of 1-1:1.0 failed with error -71
    usbcore: registered new interface driver usbhid
    drivers/usb/input/hid-core.c: v2.6:USB HID core driver
    Initializing USB Mass Storage driver...
    lp0: using parport0 (interrupt-driven).
    scsi0 : SCSI emulation for USB Mass Storage devices
    usb-storage: device found at 3
    usb-storage: waiting for device to settle before scanning
    usbcore: registered new interface driver usb-storage
    USB Mass Storage support registered.
    Real Time Clock Driver v1.12ac
    ppdev: user-space parallel port driver
    EXT3 FS on hda3, internal journal
    Adding 262576k swap on /dev/hda2.  Priority:-1 extents:1 across:262576k
    scsi 0:0:0:0: Direct-Access     JetFlash TS256MJF110      0.00 PQ: 0 ANSI: 2
    usb-storage: device scan complete
    eth0: link up, 10Mbps, half-duplex, lpa 0x0021
    SCSI device sda: 512000 512-byte hdwr sectors (262 MB)
    sda: Write Protect is off
    sda: Mode Sense: 00 00 00 00
    sda: assuming drive cache: write through
    SCSI device sda: 512000 512-byte hdwr sectors (262 MB)
    sda: Write Protect is off
    sda: Mode Sense: 00 00 00 00
    sda: assuming drive cache: write through
    sda: sda1
    sd 0:0:0:0: Attached scsi removable disk sda
    NET: Registered protocol family 10
    lo: Disabled Privacy Extensions
    Mobile IPv6
    [drm] Initialized drm 1.0.1 20051102
    ACPI: PCI Interrupt 0000:01:00.0[A] -> Link [LNKA] -> GSI 3 (level, low) -> IRQ
    [drm] Initialized savage 2.4.1 20050313 on minor 0
    mtrr: base(0x8a000000) is not aligned on a size(0x5000000) boundary
    agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
    agpgart: Putting AGP V2 device at 0000:00:00.0 into 1x mode
    agpgart: Putting AGP V2 device at 0000:01:00.0 into 1x mode
    eth0: no IPv6 routers present
    mtrr: base(0x8a000000) is not aligned on a size(0x5000000) boundary
    mtrr: base(0x8a000000) is not aligned on a size(0x5000000) boundary
    mtrr: base(0x8a000000) is not aligned on a size(0x5000000) boundary
    agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
    agpgart: Putting AGP V2 device at 0000:00:00.0 into 1x mode
    agpgart: Putting AGP V2 device at 0000:01:00.0 into 1x mode
    usb 1-1: USB disconnect, address 2
    usb 1-2: USB disconnect, address 3
    usb 1-1: new low speed USB device using uhci_hcd and address 4
    usb 1-1: configuration #1 chosen from 1 choice
    input: HID 062a:0000 as /class/input/input2
    input: USB HID v1.10 Mouse [HID 062a:0000] on usb-0000:00:14.2-1

  • Urgent: Regarding Stock Ageing report

    hi,
    i want to have stock ageing report in which i want to have the deatils :-
    This is the material which is present in the palnt from dis <b>date</b> and further details of it consumption. plzz tell the <b>tcode</b> for it.
    plzz help me out as it is most urgent to me..
    regards,
    ric.s
    Message was edited by:
            ric .s

    Hi
    The report MC.9 shows Last movement date/Last receipt date / Last issue date.
    In period to analyze give appropriate date range
    Or
    check  MSEG & MARD table to get details about material documents with date
    Vishal...

  • Stock summary report

    hi
    i am doing stock summary report
    i am checking the data with mc.9 standard report
    the total amount for particular month is not tallying with standard one.
    data is coming with all the materials and with opening nd closing balances...
    but it is taking the stock amount with inclusive of all taxes. i am using the field mseg-dmbtr.
    but i need the material stock amount without taxes.
    i tried with mbew table, but i didn't get closing stock amount.
    values is there correct value in mbew but i am not able to get the correct value..
    tell me anyother tables or give me any soln....
    thanks nd regards
    vidya

    Go through this......
    *& Report  Z_OPEN_CLOSE                                                *
    REPORT  Z_OPEN_CLOSE MESSAGE-ID YW2 LINE-SIZE 231 LINE-COUNT 45
    NO STANDARD PAGE HEADING.
    Type Declaration *
    TYPE-POOLS SLIS.
    Tables *
    TABLES: MKPF, " Material Document: Header Data
            MSEG, " Material Document: Item Data
            MARA,
            MARD,
            S031,
            EKKO,
            EKPO,
            LIKP,
            MAKT,
            J_1IWRKCUS,
            T001W,
            WB2_V_MKPF_MSEG2,
            MMIM_REP_PRINT,
            YW2_STKMOVEMENTS,
            YPLNT,
            MARDH.
    Internal Tables *
    DATA: I_WERKS LIKE J_1IWRKCUS OCCURS 0 WITH HEADER LINE.
    DATA: BEGIN OF I_YPLNT OCCURS 0,
             PPLNT LIKE YPLNT-PPLNT,
             WPLNT LIKE YPLNT-WPLNT,
          END OF I_YPLNT.
    DATA: BEGIN OF I_MKPF OCCURS 0,
            MBLNR LIKE MKPF-MBLNR,
            MJAHR LIKE MKPF-MJAHR,
            BUDAT LIKE MKPF-BUDAT,
            VGART LIKE MKPF-VGART,
            BWART LIKE MSEG-BWART,
            MATNR LIKE MSEG-MATNR,
            WERKS LIKE MSEG-WERKS,
            LGORT LIKE MSEG-LGORT,
            MENGE LIKE MSEG-MENGE,
            MEINS LIKE MSEG-MEINS,
            KUNNR LIKE MSEG-KUNNR,
            ZEILE LIKE MSEG-ZEILE,
            XAUTO LIKE MSEG-XAUTO,
            SHKZG LIKE MSEG-SHKZG,
            MATNR1 LIKE MSEG-MATNR,
          END OF I_MKPF.
    DATA: BEGIN OF I_MARDH OCCURS 0,
           WERKS LIKE MARDH-WERKS,
           MEINS LIKE MARA-MEINS,
           MATNR LIKE MARDH-MATNR,
           LGORT LIKE MARDH-LGORT,
           LABST LIKE MARDH-LABST,
           LFGJA LIKE MARDH-LFGJA, "Added -MB
           LFMON LIKE MARDH-LFMON, "Added -MB
           PERIO(6),
           INSME LIKE MARDH-LABST,
           EINME LIKE MARDH-LABST,
           SPEME LIKE MARDH-LABST,
           RETME LIKE MARDH-LABST,
           O_STK LIKE MARDH-LABST, " Opening Stock
           C_STK LIKE MARDH-LABST, " Closing Stock
          END OF I_MARDH.
    DATA: BEGIN OF I_MARD OCCURS 0,
           WERKS LIKE MARD-WERKS,
           MATNR LIKE MARD-MATNR,
           LGORT LIKE MARD-LGORT,
           LABST LIKE MARD-LABST,
           INSME LIKE MARD-LABST,
           MEINS LIKE MARA-MEINS,
           EINME LIKE MARD-LABST,
           SPEME LIKE MARD-LABST,
           RETME LIKE MARD-LABST,
          END OF I_MARD.
    DATA: I_MARD1 LIKE I_MARD OCCURS 0 WITH HEADER LINE.
    DATA: I_MARDH1 LIKE I_MARDH OCCURS 0 WITH HEADER LINE.
    DATA: BEGIN OF I_MKPF1 OCCURS 0,
            MBLNR LIKE MKPF-MBLNR,
            WERKS LIKE MSEG-WERKS,
            MATNR LIKE MSEG-MATNR,
            BUDAT LIKE MKPF-BUDAT,
            BWART LIKE MSEG-BWART,
            MJAHR LIKE MKPF-MJAHR,
            VGART LIKE MKPF-VGART,
            LGORT LIKE MSEG-LGORT,
            MENGE LIKE MSEG-MENGE,
            MEINS LIKE MSEG-MEINS,
            XAUTO LIKE MSEG-XAUTO,
            SHKZG LIKE MSEG-SHKZG,
          END OF I_MKPF1.
    DATA: BEGIN OF I_MKPF2 OCCURS 0,
           WERKS LIKE MSEG-WERKS,
           MATNR LIKE MSEG-MATNR,
           BUDAT LIKE MKPF-BUDAT,
           BWART LIKE MSEG-BWART,
           MJAHR LIKE MKPF-MJAHR,
           VGART LIKE MKPF-VGART,
           LGORT LIKE MSEG-LGORT,
           MENGE LIKE MSEG-MENGE,
           MEINS LIKE MSEG-MEINS,
           XAUTO LIKE MSEG-XAUTO,
         END OF I_MKPF2.
    DATA: BEGIN OF I_FINAL5 OCCURS 0,
           WERKS LIKE MSEG-WERKS, " Plant
           MATNR LIKE MSEG-MATNR, " Material
           LGORT LIKE MSEG-LGORT, " Storage Location
           BUDAT LIKE MKPF-BUDAT, " Posting Date
           MTART LIKE MARA-MTART, " Material Type
           SPMON LIKE S031-SPMON, " Month
           MAKTX LIKE MAKT-MAKTX, " Description
    meins(3), " UOM
            MEINS LIKE MSEG-MEINS,
            O_STK LIKE MARDH-LABST, " opening stock
            TRECEP LIKE MARDH-LABST, " total receipts
            PRODU LIKE MARDH-LABST, " Net Receipts - Production
            RECEP LIKE MARDH-LABST, " Net Receipts - Receipts
            SAL_RET LIKE MARDH-LABST, " Net Receipts - Sales Return
            TDISP LIKE MARDH-LABST, " total dispatches
            CUSTMR LIKE MARDH-LABST, " Net Dispatches - Customers
            OPLANT LIKE MARDH-LABST, " Net Dispatches - To Other Plant
            TLOSS LIKE MARDH-LABST, " Total Loss
            TRLOSS LIKE MARDH-LABST, " Transit Loss
            WHLOSS LIKE MARDH-LABST, " Warehouse Loss
            C_STK LIKE MARDH-LABST, " Closing Stock
            TRFSTK LIKE MARDH-LABST, "Transfer stock
            MENGE LIKE MSEG-MENGE,
            OTHADJ LIKE MARDH-LABST,
          END OF I_FINAL5.
    DATA: BEGIN OF I_FINAL OCCURS 0,
            WERKS LIKE MSEG-WERKS, " Plant
            MATNR LIKE MSEG-MATNR, " Material
            BUDAT LIKE MKPF-BUDAT, " Posting Date
            MTART LIKE MARA-MTART, " Material Type
            SPMON LIKE S031-SPMON, " Month
            MAKTX LIKE MAKT-MAKTX, " Description
    meins(3), " UOM
            MEINS LIKE MSEG-MEINS,
            O_STK LIKE MARDH-LABST, " opening stock
            TRECEP LIKE MARDH-LABST, " total receipts
            PRODU LIKE MARDH-LABST, " Net Receipts - Production
            RECEP LIKE MARDH-LABST, " Net Receipts - Receipts
            SAL_RET LIKE MARDH-LABST, " Net Receipts - Sales Return
            TDISP LIKE MARDH-LABST, " total dispatches
            CUSTMR LIKE MARDH-LABST, " Net Dispatches - Customers
            OPLANT LIKE MARDH-LABST, " Net Dispatches - To Other Plant
            TRFSTK LIKE MARDH-LABST, "Material Transfer stock
            TRLOSS LIKE MARDH-LABST, " Transit Loss
            WHLOSS LIKE MARDH-LABST, " Warehouse Loss
            TLOSS LIKE MARDH-LABST, " Total Loss
            C_STK LIKE MARDH-LABST, " Closing Stock
            OTHADJ LIKE MARDH-LABST,
           END OF I_FINAL.
    DATA: I_FINAL1 LIKE I_FINAL OCCURS 0 WITH HEADER LINE.
    DATA: BEGIN OF I_FINAL_TEMP OCCURS 0,
            WERKS LIKE MSEG-WERKS, " Plant
            MATNR LIKE MSEG-MATNR, " Material
            MTART LIKE MARA-MTART, " Material Type
            MAKTX LIKE MAKT-MAKTX, " Description
            MEINS LIKE MSEG-MEINS,
            O_STK LIKE MARDH-LABST, " opening stock
            TRECEP LIKE MARDH-LABST, " total receipts
            PRODU LIKE MARDH-LABST, " Net Receipts - Production
            RECEP LIKE MARDH-LABST, " Net Receipts - Receipts
            SAL_RET LIKE MARDH-LABST, " Net Receipts - Sales Return
            TDISP LIKE MARDH-LABST, " total dispatches
            CUSTMR LIKE MARDH-LABST, " Net Dispatches - Customers
            OPLANT LIKE MARDH-LABST, " Net Dispatches - To Other Plant
            TRFSTK LIKE MARDH-LABST, "Material Transfer stock
            TRLOSS LIKE MARDH-LABST, " Transit Loss
            WHLOSS LIKE MARDH-LABST, " Warehouse Loss
            TLOSS LIKE MARDH-LABST, " Total Loss
            C_STK LIKE MARDH-LABST, " Closing Stock
            OTHADJ LIKE MARDH-LABST,
          END OF I_FINAL_TEMP.
    For Materials
    DATA: BEGIN OF I_MARA OCCURS 0,
           MATNR TYPE MARA-MATNR,
           MTART TYPE MARA-MTART,
           MEINS LIKE MARA-MEINS,
           LABST TYPE MARD-LABST,
           MAKTX LIKE MAKT-MAKTX,
          END OF I_MARA.
    DATA: BEGIN OF I_STKMVMNTS OCCURS 0,
           BWART LIKE MSEG-BWART,
           SHKZG LIKE MSEG-SHKZG,
           VZBEW LIKE YW2_STKMOVEMENTS-VZBEW,
          END OF I_STKMVMNTS.
    DATA: BEGIN OF I_FINALT OCCURS 0,
           WERKS LIKE MSEG-WERKS, " Plant
           MATNR LIKE MSEG-MATNR, " Material
           BUDAT LIKE MKPF-BUDAT, " Posting Date
           MTART LIKE MARA-MTART, " Material Type
           SPMON LIKE S031-SPMON, " Month
           MAKTX LIKE MAKT-MAKTX, " Description
    meins(3), " UOM
           MEINS LIKE MSEG-MEINS,
           O_STK LIKE MARDH-LABST, " opening stock
           TRECEP LIKE MARDH-LABST, " total receipts
           PRODU LIKE MARDH-LABST, " Net Receipts - Production
           RECEP LIKE MARDH-LABST, " Net Receipts - Receipts
           SAL_RET LIKE MARDH-LABST, " Net Receipts - Sales Return
           TDISP LIKE MARDH-LABST, " total dispatches
           CUSTMR LIKE MARDH-LABST, " Net Dispatches - Customers
           OPLANT LIKE MARDH-LABST, " Net Dispatches - To Other Plant
           TRFSTK LIKE MARDH-LABST, "Material Transfer stock
           TRLOSS LIKE MARDH-LABST, " Transit Loss
           WHLOSS LIKE MARDH-LABST, " Warehouse Loss
           TLOSS LIKE MARDH-LABST, " Total Loss
           C_STK LIKE MARDH-LABST, " Closing Stock
           OTHADJ LIKE MARDH-LABST,
           MONTH(8) ,
          END OF I_FINALT.
    DATA: IMKPFT LIKE I_MKPF OCCURS 0 WITH HEADER LINE.
    DATA: IMKPFT1 LIKE I_MKPF1 OCCURS 0 WITH HEADER LINE.
    DATA: IMARDT LIKE I_MARD OCCURS 0 WITH HEADER LINE.
    DATA: IMARDHT LIKE I_MARDH OCCURS 0 WITH HEADER LINE.
    DATA: T_FINAL LIKE I_MKPF OCCURS 0 WITH HEADER LINE.
    DATA: IMKPFT2 LIKE I_MKPF OCCURS 0 WITH HEADER LINE.
    FCAT is used for the field catalog
    DATA: FCAT TYPE TABLE OF SLIS_FIELDCAT_ALV WITH NON-UNIQUE DEFAULT KEY
                      WITH HEADER LINE INITIAL SIZE 0,
    for excluding the ICONs from the application toolbar
          FEXC TYPE TABLE OF SLIS_EXTAB WITH NON-UNIQUE DEFAULT KEY
                     WITH HEADER LINE INITIAL SIZE 0,
    FS_LAYO is used for Grid Layout
          FS_LAYO TYPE SLIS_LAYOUT_ALV,
    FEVENTS to handle the events TOP OF PAGE & USER_COMMAND
          FEVENTS TYPE TABLE OF SLIS_ALV_EVENT WITH NON-UNIQUE DEFAULT KEY
                     WITH HEADER LINE INITIAL SIZE 0,
    FHEADER is used for List header
          FHEADER TYPE TABLE OF SLIS_LISTHEADER WITH NON-UNIQUE DEFAULT KEY
                     WITH HEADER LINE INITIAL SIZE 0,
    sort is used for sorting
          FSORT TYPE TABLE OF SLIS_SORTINFO_ALV WITH NON-UNIQUE DEFAULT KEY
                     WITH HEADER LINE INITIAL SIZE 0,
          FCAT1 TYPE TABLE OF SLIS_FIELDCAT_ALV WITH NON-UNIQUE DEFAULT KEY
                    WITH HEADER LINE INITIAL SIZE 0,
          FS_LAYO1 TYPE SLIS_LAYOUT_ALV,
          GT_LIST_TOP_OF_PAGE1 TYPE SLIS_T_LISTHEADER,
          FEVENTS1 TYPE TABLE OF SLIS_ALV_EVENT WITH NON-UNIQUE DEFAULT KEY
                 WITH HEADER LINE INITIAL SIZE 0,
           FHEADER1 TYPE TABLE OF SLIS_LISTHEADER WITH NON-UNIQUE DEFAULT  
                  KEY WITH HEADER LINE INITIAL SIZE 0,
           G_STATU_071 TYPE SLIS_FORMNAME VALUE 'Z_PFSTATUS',
           ALV_VARIANT1 LIKE DISVARIANT.
    Variable Declaration *
    TYPES: TRFF_TYPE_DEC_6_5(6) TYPE P DECIMALS 5.
    DATA: FYEAR(4),
          MON(2),
          FYEAR1(4),
          MON1(2),
          OBAL LIKE MARD-LABST,
          CBAL LIKE MARD-LABST,
          INDEX TYPE I,
          COUNT,
          COUNT1 TYPE I,
          O_STK TYPE P DECIMALS 3,
          C_STK TYPE P DECIMALS 3,
          V_MJAHR LIKE MKPF-MJAHR,
          MONTHS TYPE TRFF_TYPE_DEC_6_5,
          MONTH TYPE I.
    Global variables for handling ALV functionality
    DATA: ALV_KEYINFO TYPE SLIS_KEYINFO_ALV,
          ALV_VARIANT LIKE DISVARIANT,
          ALV_LAYOUT TYPE SLIS_LAYOUT_ALV,
          ALV_REPID LIKE SY-REPID,
          ALV_PRINT TYPE SLIS_PRINT_ALV,
          ALV_DETAIL_FUNC(30),
          ALV_DEFAULT_VARIANT LIKE DISVARIANT-VARIANT,
          ALV_COLOURIZE_FIELDS LIKE MMIM_REP_PRINT-COLOR.
    RANGES: R_BUDAT FOR MKPF-BUDAT.
    *Added by Prabhu for year on 26.4.05.
    DATA: IDATE LIKE R_BUDAT OCCURS 0 WITH HEADER LINE.
    Selection Screen Elements *
    SELECTION-SCREEN BEGIN OF BLOCK BLK WITH FRAME TITLE TEXT-001.
      SELECT-OPTIONS: S_WERKS FOR MARD-WERKS OBLIGATORY NO INTERVALS.
      PARAMETER: P_SPMON LIKE S031-SPMON NO-DISPLAY .
      SELECT-OPTIONS: S_MATNR FOR MARA-MATNR OBLIGATORY,
                      S_LGORT FOR MSEG-LGORT NO-EXTENSION NO INTERVALS,
                      S_MBLNR FOR MKPF-MBLNR,
                      S_BUDAT FOR MKPF-BUDAT OBLIGATORY .
    SELECTION-SCREEN END OF BLOCK BLK.
    SELECTION-SCREEN BEGIN OF BLOCK BLK3 WITH FRAME TITLE TEXT-004.
          PARAMETER : MTART LIKE MARA-MTART DEFAULT 'FERT' NO-DISPLAY.
    SELECTION-SCREEN END OF BLOCK BLK3.
    SELECTION-SCREEN BEGIN OF BLOCK BLK2 WITH FRAME TITLE TEXT-003.
    SELECTION-SCREEN END OF BLOCK BLK2.
    ADDED BY PRABHU FOR DAY-WISE REPORT.
    SELECTION-SCREEN BEGIN OF BLOCK B3 WITH FRAME TITLE TEXT-007.
      PARAMETERS: D1 RADIOBUTTON GROUP P1 DEFAULT 'X',
                  M1 RADIOBUTTON GROUP P1,
                  Y1 RADIOBUTTON GROUP P1.
    SELECTION-SCREEN END OF BLOCK B3.
    SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-006.
    PARAMETERS: ALV_DEF LIKE DISVARIANT-VARIANT.
    SELECTION-SCREEN END OF BLOCK B2.
    DATA: S_BUDAT1 LIKE S_BUDAT OCCURS 0 WITH HEADER LINE."prabhu
    Initialization *
    INITIALIZATION.
      PERFORM ALV_INIT.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR ALV_DEF.
      PERFORM ALV_F4.
    At Selection Screen
    *AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_spmon.
    PERFORM monat_f4.
    At Selection Screen *
    AT SELECTION-SCREEN.
    checking for the layout
      PERFORM ALV_CHECK.
    authorisation check for the Plant
    PERFORM auth_check.
    Validation for the Plant
      PERFORM VALIDITY_CHECK.
      IF MTART NE 'FERT'.
        MESSAGE E041 WITH 'Material Type must be FERT Only...'.
      ENDIF.
      IF D1 = 'X'." On 26.4.05.
        P_SPMON0(4) = S_BUDAT-LOW0(4).
        P_SPMON4(2) = S_BUDAT-LOW4(2).
      ELSE.
        P_SPMON0(4) = S_BUDAT-LOW0(4).
        P_SPMON4(2) = S_BUDAT-LOW4(2).
      ENDIF.
      LOOP AT S_BUDAT.
        IF S_BUDAT-HIGH IS INITIAL.
          S_BUDAT-HIGH = S_BUDAT-LOW.
          MODIFY S_BUDAT.
        ENDIF.
      ENDLOOP.
      IDATE-LOW = S_BUDAT-LOW.
      IDATE-HIGH = S_BUDAT-HIGH.
      CALL FUNCTION 'FIMA_DAYS_AND_MONTHS_AND_YEARS'
        EXPORTING
           I_DATE_FROM = IDATE-LOW
           I_DATE_TO = IDATE-HIGH
       IMPORTING
    E_DAYS =
          E_MONTHS = MONTH
    E_YEARS =
      DATA: I(3) TYPE C.
      I = S_BUDAT-LOW+4(2).
      CLEAR: R_BUDAT.
      REFRESH: R_BUDAT.
    *added by Prabhu for Only for Oneday.on 18.5.5
      IF MONTH EQ '0'.
        MONTH = MONTH + 1.
      ENDIF.
    *added by Prabhu for Only for Oneday.on 18.5.5
      DO MONTH TIMES.
        R_BUDAT-LOW = S_BUDAT-LOW.
        APPEND R_BUDAT.
      ENDDO.
      I = 0.
      LOOP AT R_BUDAT.
        R_BUDAT-LOW4(2) = S_BUDAT-LOW4(2) + I.
        I = I + 1.
        R_BUDAT-LOW+6(2) = '01'.
        MODIFY R_BUDAT.
      ENDLOOP.
      LOOP AT R_BUDAT.
        CALL FUNCTION 'RP_LAST_DAY_OF_MONTHS'
           EXPORTING
             DAY_IN = R_BUDAT-LOW
           IMPORTING
             LAST_DAY_OF_MONTH = R_BUDAT-HIGH
          EXCEPTIONS
            DAY_IN_NO_DATE = 1
            OTHERS = 2
        MODIFY R_BUDAT.
      ENDLOOP.
      LOOP AT R_BUDAT.
        IF R_BUDAT-LOW4(2) = S_BUDAT-LOW4(2).
          R_BUDAT-LOW = S_BUDAT-LOW.
          MODIFY R_BUDAT.
        ENDIF.
        IF R_BUDAT-HIGH4(2) = S_BUDAT-HIGH4(2).
          R_BUDAT-HIGH = S_BUDAT-HIGH.
          MODIFY R_BUDAT.
        ENDIF.
    For Summary on 26.4.05.
        IF Y1 = 'X'.
          CLEAR R_BUDAT.
          REFRESH R_BUDAT.
          R_BUDAT-LOW = S_BUDAT-LOW.
          R_BUDAT-HIGH = S_BUDAT-HIGH.
          APPEND R_BUDAT.
          CLEAR R_BUDAT.
        ENDIF.
      ENDLOOP.
    At Selection Screen *
    AT SELECTION-SCREEN OUTPUT.
    Start of Selection *
    START-OF-SELECTION.
      V_MJAHR = P_SPMON+0(4).
    Get plant distinction warehouse/production
      PERFORM GET_PLANT_DISTINCTION.
    Collect the data from various tables
      PERFORM GETDATA_FG_STOCK.
    here the number of rows in the output table is found
      PERFORM OUTPUT_TABLE_CHECK.
    here the top of the page code is written, that is to be displayed
    in the output
      PERFORM Z_TOP_OF_PAGE.
    here ALV layout properties are set
      PERFORM Z_LAYOUT_SETTINGS.
    ALV EVENTS for TOP OF PAGE and for USER COMMAND
      PERFORM Z_ALV_EVENTS.
    The field catalog is defined for the Primary List is defined in
    the subroutine CREATE_FIELD_CATALOG include program ZPRRDOCR_FCAT
      PERFORM Z_CREATE_FIELD_CATALOG.
    This is for displaying the output
      PERFORM Z_REUSE_ALV_GRID_DISPLAY.
    *& Form getdata_fg_stock
    Getting data from standard tables
    FORM GETDATA_FG_STOCK.
    For getting the Start date & end date of the month
    PERFORM get_month_dates.
    Getting the Opening Stock from MARDH table
      IF MON EQ '01'.
        MON1 = MON.
        FYEAR1 = FYEAR.
        MON = '12'.
        FYEAR = FYEAR - 1.
      ELSE.
        MON1 = MON.
        FYEAR1 = FYEAR.
        MON = MON - 1.
        FYEAR = FYEAR.
      ENDIF.
      PERFORM GET_RECORDS_FROM_DB.
    *added for Month Summary on 26.4.05.
      LOOP AT R_BUDAT.
        S_BUDAT-LOW = R_BUDAT-LOW.
        S_BUDAT-HIGH = R_BUDAT-HIGH.
    *for Month
        P_SPMON0(4) = S_BUDAT-LOW0(4).
        P_SPMON4(2) = S_BUDAT-LOW4(2).
    *for summary.
        IF Y1 = 'X'.
          LOOP AT S_BUDAT.
            S_BUDAT1-SIGN = 'I'.
            S_BUDAT1-OPTION = 'NB'.
            S_BUDAT1-LOW = S_BUDAT-LOW.
            S_BUDAT1-HIGH = S_BUDAT-HIGH.
            APPEND S_BUDAT1.
            CLEAR S_BUDAT1.
          ENDLOOP.
        ENDIF.
        IMKPFT[] = I_MKPF[].
        IMKPFT2[] = I_MKPF[].
        IMARDT[] = I_MARD[].
        IMARDHT[] = I_MARDH[].
        PERFORM MONTH_WISE.
        PERFORM PROCESS_MOVEMENTS.
        PERFORM CALCULATE_OPENING_STOCK.
        PERFORM UPDATE_NON_TRANSACTION_ITMS.
        PERFORM DELETE_EMPTY_RECORDS.
        CLEAR: IMARDHT,IMARDT,IMKPFT1,IMKPFT,I_FINAL,I_FINAL5.
        REFRESH: IMARDHT,IMARDT,IMKPFT1,I_FINAL,I_FINAL5,IMKPFT.
      ENDLOOP.
      CLEAR: R_BUDAT.
      REFRESH: R_BUDAT.
    *end of changes for month.
    ENDFORM. " getdata_fg_stock
    FORM MONAT_F4 *
    F4-Hilfe für Monat *
    FORM MONAT_F4.
      DATA: BEGIN OF MF_DYNPFIELDS OCCURS 1.
              INCLUDE STRUCTURE DYNPREAD.
      DATA: END OF MF_DYNPFIELDS.
      DATA: MF_RETURNCODE LIKE SY-SUBRC,
             MF_MONAT LIKE ISELLIST-MONTH,
             MF_HLP_REPID LIKE SY-REPID.
      FIELD-SYMBOLS: .
    Wert von Dynpro lesen
      GET CURSOR FIELD MF_DYNPFIELDS-FIELDNAME.
      APPEND MF_DYNPFIELDS.
      MF_HLP_REPID = SY-REPID.
      DO 2 TIMES.
        CALL FUNCTION 'DYNP_VALUES_READ'
          EXPORTING
            DYNAME               = MF_HLP_REPID
            DYNUMB               = SY-DYNNR
          TABLES
            DYNPFIELDS           = MF_DYNPFIELDS
          EXCEPTIONS
            INVALID_ABAPWORKAREA = 01
            INVALID_DYNPROFIELD  = 02
            INVALID_DYNPRONAME   = 03
            INVALID_DYNPRONUMMER = 04
            INVALID_REQUEST      = 05
            NO_FIELDDESCRIPTION  = 06
            UNDEFIND_ERROR       = 07.
        IF SY-SUBRC = 3.
    Aktuelles Dynpro ist Wertemengenbild
          MF_HLP_REPID = 'SAPLALDB'.
        ELSE.
          READ TABLE MF_DYNPFIELDS INDEX 1.
    Unterstriche durch Blanks ersetzen
          TRANSLATE MF_DYNPFIELDS-FIELDVALUE USING '_ '.
          EXIT.
        ENDIF.
      ENDDO.
      IF SY-SUBRC = 0.
    Konvertierung ins interne Format
        CALL FUNCTION 'CONVERSION_EXIT_PERI_INPUT'
          EXPORTING
            INPUT         = MF_DYNPFIELDS-FIELDVALUE
          IMPORTING
            OUTPUT        = MF_MONAT
          EXCEPTIONS
            ERROR_MESSAGE = 1.
        IF MF_MONAT IS INITIAL.
    Monat ist initial => Vorschlagswert aus akt. Datum ableiten
          MF_MONAT = SY-DATLO(6).
        ENDIF.
        CALL FUNCTION 'POPUP_TO_SELECT_MONTH'
          EXPORTING
            ACTUAL_MONTH               = MF_MONAT
          IMPORTING
            SELECTED_MONTH             = MF_MONAT
            RETURN_CODE                = MF_RETURNCODE
          EXCEPTIONS
            FACTORY_CALENDAR_NOT_FOUND = 01
            HOLIDAY_CALENDAR_NOT_FOUND = 02
            MONTH_NOT_FOUND            = 03.
        IF SY-SUBRC = 0 AND MF_RETURNCODE = 0.
    ASSIGN (MF_DYNPFIELDS-FIELDNAME) TO <MF_FELD>. " ==>> note 148804
    <MF_FELD> = MF_MONAT.
          CALL FUNCTION 'CONVERSION_EXIT_PERI_OUTPUT'
            EXPORTING
              INPUT  = MF_MONAT
            IMPORTING
              OUTPUT = MF_DYNPFIELDS-FIELDVALUE.
          COLLECT MF_DYNPFIELDS.
          CALL FUNCTION 'DYNP_VALUES_UPDATE'
            EXPORTING
              DYNAME               = MF_HLP_REPID
              DYNUMB               = SY-DYNNR
            TABLES
              DYNPFIELDS           = MF_DYNPFIELDS
            EXCEPTIONS
              INVALID_ABAPWORKAREA = 01
              INVALID_DYNPROFIELD  = 02
              INVALID_DYNPRONAME   = 03
              INVALID_DYNPRONUMMER = 04
              INVALID_REQUEST      = 05
              NO_FIELDDESCRIPTION  = 06
              UNDEFIND_ERROR       = 07. "<<== note 148804
        ENDIF.
      ENDIF.
    ENDFORM.                                                    "MONAT_F4
    *& Form get_month_dates
    Calculating the Month Start & End Date
    FORM GET_MONTH_DATES.
      IF M1 = 'X'.
        FYEAR = P_SPMON+0(4).
        MON = P_SPMON+4(2).
        CONCATENATE FYEAR MON '01' INTO R_BUDAT-LOW.
        R_BUDAT-SIGN = 'I'.
        R_BUDAT-OPTION = 'BT'.
        CALL FUNCTION 'BKK_GET_MONTH_LASTDAY'
          EXPORTING
            I_DATE = R_BUDAT-LOW
          IMPORTING
            E_DATE = R_BUDAT-HIGH.
        APPEND R_BUDAT.
        CLEAR S_BUDAT.
        REFRESH S_BUDAT.
        S_BUDAT-SIGN = 'I'.
        S_BUDAT-OPTION = 'BT'.
        S_BUDAT-LOW = R_BUDAT-LOW.
        S_BUDAT-HIGH = R_BUDAT-HIGH.
        APPEND S_BUDAT.
      ELSE.
        FYEAR = P_SPMON+0(4).
        MON = P_SPMON+4(2).
        CONCATENATE FYEAR MON '01' INTO R_BUDAT-LOW.
        R_BUDAT-SIGN = 'I'.
        R_BUDAT-OPTION = 'BT'.
        CALL FUNCTION 'BKK_GET_MONTH_LASTDAY'
          EXPORTING
            I_DATE = R_BUDAT-LOW
          IMPORTING
            E_DATE = R_BUDAT-HIGH.
        APPEND R_BUDAT.
      ENDIF.
    ENDFORM. " get_month_dates
    *& Form output_table_Check
    checking for records for output
    FORM OUTPUT_TABLE_CHECK .
      DESCRIBE TABLE I_FINALT LINES INDEX.
      IF INDEX EQ 0.
        MESSAGE I041 WITH TEXT-005.
        LEAVE LIST-PROCESSING.
      ENDIF.
    ENDFORM. "OUTPUT_TABLE_CHECK
    *& Form Z_TOP_OF_PAGE
    for setting the details in the top of page *
    has no formal paramters *
    FORM Z_TOP_OF_PAGE.
      DATA: V_MON(2),
      V_YR(40),
      V_FIN(18),
      V_FIN1(48),
      LOW(10),
      HIGH(10).
      V_MON = P_SPMON+4(2).
      V_YR = P_SPMON+0(4).
      FHEADER-TYP = 'H'.
      FHEADER-INFO = 'Stock Register Report (FG Stock)'.
      APPEND FHEADER.
      CLEAR FHEADER.
    *if m1 = 'X'.
    CONCATENATE 'Month = ' v_mon '.' v_yr INTO v_fin.
    fheader-typ = 'H'.
    fheader-info = v_fin.
    APPEND fheader.
    CLEAR fheader.
    *endif."prabhu on 18.5.5
      IF D1 = 'X'.
        CLEAR S_BUDAT.
        LOOP AT S_BUDAT.
          CONCATENATE S_BUDAT-LOW6(2) '/' S_BUDAT-LOW4(2) '/'
          S_BUDAT-LOW+0(4) INTO LOW.
          CONCATENATE S_BUDAT-HIGH6(2) '/' S_BUDAT-HIGH4(2) '/'
          S_BUDAT-HIGH+0(4) INTO HIGH.
          CONCATENATE 'Date = ' LOW ' - ' HIGH INTO V_FIN1.
          FHEADER-TYP = 'H'.
          FHEADER-INFO = V_FIN1.
          APPEND FHEADER.
          CLEAR FHEADER.
        ENDLOOP.
      ENDIF.
    ENDFORM. " Z_TOP_OF_PAGE
    *& Form Z_LAYOUT_SETTINGS
    this is done for setting the properties for the layout of the *
    grid *
    has no formal paramters *
    FORM Z_LAYOUT_SETTINGS.
      FS_LAYO-ZEBRA = 'X'. " Output in Zebra pattern
      FS_LAYO-DETAIL_POPUP = 'X'. " A popup window appears to give
      FS_LAYO-DETAIL_TITLEBAR = TEXT-022.
      FS_LAYO-COLWIDTH_OPTIMIZE = 'X'.
    ENDFORM. " Z_LAYOUT_SETTINGS
    *& Form Z_ALV_EVENTS
    This is used for handling the events TOP OF PAGE and the USER *
    COMMAND event *
    has no formal paramters *
    FORM Z_ALV_EVENTS.
      CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
        EXPORTING
          I_LIST_TYPE = 0
        IMPORTING
          ET_EVENTS   = FEVENTS[].
      READ TABLE FEVENTS WITH KEY NAME = 'TOP_OF_PAGE'.
      IF SY-SUBRC = 0.
        FEVENTS-FORM = 'Z_TOPOFPAGE'.
        MODIFY FEVENTS INDEX SY-TABIX.
        CLEAR FEVENTS.
      ENDIF.
      READ TABLE FEVENTS WITH KEY NAME = 'USER_COMMAND'.
      IF SY-SUBRC = 0.
        FEVENTS-FORM = 'Z_USER_COMMAND'.
        MODIFY FEVENTS INDEX SY-TABIX.
        CLEAR FEVENTS.
      ENDIF.
    ENDFORM. "Z_ALV_EVENTS
    *& Form Z_CREATE_FIELD_CATALOG
    here the field catalog is created for the primary list *
    no formal parameters *
    FORM Z_CREATE_FIELD_CATALOG.
    for the Plant
      FCAT-FIELDNAME = 'WERKS'.
      FCAT-KEY = 'X'.
      FCAT-OUTPUTLEN = '000005'.
      FCAT-JUST = 'L'.
      FCAT-SELTEXT_M = 'Plant'.
      FCAT-DDICTXT = 'M'.
      FCAT-INTTYPE = 'C'.
      FCAT-DATATYPE = 'CHAR'.
      APPEND FCAT.
      CLEAR FCAT.
    for the Material Type
      FCAT-FIELDNAME = 'MTART'.
      FCAT-KEY = 'X'.
      FCAT-OUTPUTLEN = '000006'.
      FCAT-JUST = 'L'.
      FCAT-SELTEXT_M = 'MatTyp'.
      FCAT-DDICTXT = 'M'.
      FCAT-INTTYPE = 'C'.
      FCAT-DATATYPE = 'CHAR'.
      APPEND FCAT.
      CLEAR FCAT.
    for the Material No.
      FCAT-FIELDNAME = 'MATNR'.
      FCAT-KEY = 'X'.
    fcat-hotspot = 'X'.
      FCAT-OUTPUTLEN = '000018'.
      FCAT-JUST = 'L'.
      FCAT-SELTEXT_M = 'Material'.
      FCAT-DDICTXT = 'M'.
      FCAT-INTTYPE = 'C'.
      FCAT-DATATYPE = 'CHAR'.
      APPEND FCAT.
      CLEAR FCAT.
    for the Material Description
      FCAT-FIELDNAME = 'MAKTX'.
      FCAT-KEY = ''.
      FCAT-OUTPUTLEN = '000040'.
      FCAT-JUST = 'L'.
      FCAT-SELTEXT_M = 'Description'.
      FCAT-DDICTXT = 'M'.
      FCAT-INTTYPE = 'C'.
      FCAT-DATATYPE = 'CHAR'.
      APPEND FCAT.
      CLEAR FCAT.
    for the Unit of Measure
      FCAT-FIELDNAME = 'MEINS'.
      FCAT-KEY = ''.
      FCAT-OUTPUTLEN = '03'.
      FCAT-JUST = 'C'.
      FCAT-SELTEXT_M = 'UOM'.
      FCAT-DDICTXT = 'M'.
      FCAT-INTTYPE = 'C'.
      FCAT-DATATYPE = 'UNIT'.
      APPEND FCAT.
      CLEAR FCAT.
    for the Plant
      FCAT-FIELDNAME = 'MONTH'.
      FCAT-KEY = 'X'.
      FCAT-OUTPUTLEN = '08'.
      FCAT-JUST = 'L'.
      FCAT-SELTEXT_M = 'MONTH'.
      FCAT-DDICTXT = 'M'.
      FCAT-INTTYPE = 'C'.
      FCAT-DATATYPE = 'CHAR'.
      APPEND FCAT.
      CLEAR FCAT.
    for the Opening Stock
      FCAT-FIELDNAME = 'C_STK'.
      FCAT-HOTSPOT = ' '.
      FCAT-OUTPUTLEN = '000016'.
      FCAT-JUST = 'L'.
      FCAT-SELTEXT_M = 'Opening Stock'.
      FCAT-DDICTXT = 'M'.
      FCAT-INTTYPE = 'Q'.
      FCAT-DATATYPE = 'QUAN'.
    fcat-do_sum = 'X'.
      FCAT-JUST = 'R'.
      FCAT-NO_ZERO = 'X'.
      APPEND FCAT.
      CLEAR FCAT.
    for the Total Receipts
      FCAT-FIELDNAME = 'TRECEP'.
      FCAT-HOTSPOT = ' '.
      FCAT-OUTPUTLEN = '000016'.
      FCAT-JUST = 'L'.
      FCAT-SELTEXT_M = 'Total Receipts'.
      FCAT-DDICTXT = 'M'.
      FCAT-INTTYPE = 'Q'.
      FCAT-DATATYPE = 'QUAN'.
      FCAT-DO_SUM = 'X'.
      FCAT-JUST = 'R'.
      FCAT-NO_ZERO = 'X'.
      APPEND FCAT.
      CLEAR FCAT.
    for the Production
      FCAT-FIELDNAME = 'PRODU'.
      FCAT-HOTSPOT = ' '.
      FCAT-OUTPUTLEN = '000016'.
      FCAT-JUST = 'L'.
      FCAT-SELTEXT_M = 'Production'.
      FCAT-DDICTXT = 'M'.
      FCAT-INTTYPE = 'Q'.
      FCAT-DATATYPE = 'QUAN'.
      FCAT-DO_SUM = 'X'.
      FCAT-JUST = 'R'.
      FCAT-NO_ZERO = 'X'.
      APPEND FCAT.
      CLEAR FCAT.
    for the Other Plant Receipts
      FCAT-FIELDNAME = 'RECEP'.
      FCAT-HOTSPOT = ' '.
      FCAT-OUTPUTLEN = '000016'.
      FCAT-JUST = 'L'.
      FCAT-SELTEXT_M = 'Othr Plnt Recpts'.
      FCAT-DDICTXT = 'M'.
      FCAT-INTTYPE = 'Q'.
      FCAT-DATATYPE = 'QUAN'.
      FCAT-DO_SUM = 'X'.
      FCAT-JUST = 'R'.
      FCAT-NO_ZERO = 'X'.
      APPEND FCAT.
      CLEAR FCAT.
    Sales Return
      FCAT-FIELDNAME = 'SAL_RET'.
      FCAT-HOTSPOT = ' '.
      FCAT-OUTPUTLEN = '000016'.
      FCAT-JUST = 'L'.
      FCAT-SELTEXT_M = 'Sales Return'.
      FCAT-DDICTXT = 'M'.
      FCAT-INTTYPE = 'Q'.
      FCAT-DATATYPE = 'QUAN'.
      FCAT-DO_SUM = 'X'.
      FCAT-JUST = 'R'.
      FCAT-NO_ZERO = 'X'.
      APPEND FCAT.
      CLEAR FCAT.
    Total Dispatches
      FCAT-FIELDNAME = 'TDISP'.
      FCAT-HOTSPOT = ' '.
      FCAT-OUTPUTLEN = '000016'.
      FCAT-JUST = 'L'.
      FCAT-SELTEXT_M = 'Total Dispatches'.
      FCAT-DDICTXT = 'M'.
      FCAT-INTTYPE = 'Q'.
      FCAT-DATATYPE = 'QUAN'.
      FCAT-DO_SUM = 'X'.
      FCAT-JUST = 'R'.
      FCAT-NO_ZERO = 'X'.
      APPEND FCAT.
      CLEAR FCAT.

  • Stock Transfer Report after Invoice

    Hello Experts
    Please spend one minute's time to read this. It may be long but its the exact scenario.
    I have got a requirement to generate a Stock Transfer Report for the bills passed (invoice receipt) for a particular date range. Note that the delivery against the PO can be for partial quantities too.
    I am using RBKP table to get all the invoice numbers falling in the certain date range selection. Against these Invoices I am retrieving the PO number and other report relevant data from the RSEG Table. And using the PO I need to get into the MSEG table to retrieve Mat Doc numbers so that I can drill into the excise tables to get Excise No.
    Now the problem is:
    Suppose the PO <b>4900000337 </b>contains various items
    item no  | material  | qty
    10       | mat1      | 1050
    20       | mat2      | 2670
    30       | mat3      | 450
    Now one partial delivery is made as
    item no  | material  | qty
    10       | mat1      | 100
    20       | mat2      | 250
    <i>mat doc 4900012713, mov type 641</i>
    and the against this delivery an invoice receipt is created using MIRO, <b>5105600790</b>
    another partial delivery is made as
    item no  | material  | qty
    20       | mat1      | 350
    30       | mat2      | 50
    <i>mat doc 4900012714, mov type 641</i>
    against this delivery an invoice receipt is created using MIRO, <b>5105600791</b>
    How do I link the invoice no to the material documents to know the quantity of the particular item of the PO... as we see item no 20 is common in both the case.
    RSEG
    Document Number Fiscal Year Item   Purchasing Doc. Item
    5105600790      2007        000007 4900000337      00020
    5105600791      2007        000007 4900000337      00020
    MSEG
    Material Doc. Mat. Doc. Year Item Line ID Parent ID Movement Type Material     Quantity          Purchase Order Item
    4900012713    2007           0004 000005  000002    641           90050106            250.000  4900000337     00020
    4900012714    2007           0002 000003  000001    641           90050106            350.000  4900000337     00020

    Hi...
    <i>1) MIRO is done against Purchase Order right??</i>
    > Yes, MIRO is done against PO. And, when I try to do it against Deliv. Doc. its not possible as its not displaying any items!
    <i>2) In BSEG : you put the PO number 4900000343 then the below rows are visible right??</i>
    >Yes.
    <i>3) Can you please paste the rows : BELNR, EBELN and VBELN only ??</i>
    Here they are...(with some other fields which might be of importance)
    For <b>PO 4900000343</b>
    Table:          BSEG
    Document Number Transaction Assignment         Billing Doc. Plant       Quantity     Purchasing Doc. Item
    BELNR           KTOSL          ZUONR              VBELN        WERKS       MENGE        EBELN           EBELP
    0490021088      BSX         20071024           0010004216   2006             50.000  4900000343      00010
    0490021088      BSX         20071024           0010004216   6201             50.000  4900000343      00010
    0490021088      AUM         0006201001         0010004216   6201             50.000  4900000343      00010
    0490021088      FR1         490000034300010    0010004216   6201             50.000  4900000343      00010
    0490021088      BSX         20071024           0010004216   2006            100.000  4900000343      00020
    0490021088      BSX         20071024           0010004216   6201            100.000  4900000343      00020
    0490021088      AUM         0006201001         0010004216   6201            100.000  4900000343      00020
    0490021088      FR1         490000034300020    0010004216   6201            100.000  4900000343      00020
    0490021089      BSX         20071024           0010004217   2006            200.000  4900000343      00020
    0490021089      BSX         20071024           0010004217   6201            200.000  4900000343      00020
    0490021089      AUM         0006201001         0010004217   6201            200.000  4900000343      00020
    0490021089      FR1         490000034300020    0010004217   6201            200.000  4900000343      00020
    0490021089      AUM         0006201001         0010004217   6201            100.000  4900000343      00030
    0490021089      FR1         490000034300030    0010004217   6201            100.000  4900000343      00030
    0510000678      FR1         490000034300010                 6201             50.000  4900000343      00010
    0510000678      FR1         490000034300020                 6201            100.000  4900000343      00020
    0510000679      FR1         490000034300020                 6201            200.000  4900000343      00020
    0510000679      FR1         490000034300030                 6201            100.000  4900000343      00030
    Can you also show the rows for the PO that you have mentioned in your first message.
    <b>PO 4900000337</b>
    Table:          BSEG
    Document Number Transaction Assignment         Billing Doc. Plant       Quantity     Purchasing Doc. Item
    BELNR           KTOSL          ZUONR              VBELN        WERKS       MENGE        EBELN           EBELP
    0490021080      AUM         0006201001         0010004205   6201            350.000  4900000337      00070
    0490021080      FR1         490000033700070    0010004205   6201            350.000  4900000337      00070
    0490021080      BSX         20071017           0010004205   2006             50.000  4900000337      00100
    0490021080      BSX         20071017           0010004205   6201             50.000  4900000337      00100
    0490021080      AUM         0006201001         0010004205   6201             50.000  4900000337      00100
    0490021080      FR1         490000033700100    0010004205   6201             50.000  4900000337      00100
    0490021081      BSX         20071017           0010004206   2006            500.000  4900000337      00010
    0490021081      BSX         20071017           0010004206   6201            500.000  4900000337      00010
    0490021081      AUM         20071017           0010004206   6201            500.000  4900000337      00010
    0490021081      FR1         490000033700010    0010004206   6201            500.000  4900000337      00010
    0490021081      BSX         20071017           0010004206   2006            300.000  4900000337      00020
    0490021081      AUM         0006201001         0010004206   6201            300.000  4900000337      00020
    0490021081      FR1         490000033700020    0010004206   6201            300.000  4900000337      00020
    0490021082      BSX         20071017           0010004207   2006            300.000  4900000337      00010
    0490021082      BSX         20071017           0010004207   6201            300.000  4900000337      00010
    0490021082      AUM         20071017           0010004207   6201            300.000  4900000337      00010
    0490021082      FR1         490000033700010    0010004207   6201            300.000  4900000337      00010
    0490021082      BSX         20071017           0010004207   2006            250.000  4900000337      00020
    0490021082      AUM         0006201001         0010004207   6201            250.000  4900000337      00020
    0490021082      FR1         490000033700020    0010004207   6201            250.000  4900000337      00020
    0490021101      BSX         20071025           0010004229   2006          1,000.000  4900000337      00010
    0490021101      BSX         20071025           0010004229   6201          1,000.000  4900000337      00010
    0490021101      AUM         20071025           0010004229   6201          1,000.000  4900000337      00010
    0490021101      FR1         490000033700010    0010004229   6201          1,000.000  4900000337      00010
    0490021101      BSX         20071025           0010004229   2006            250.000  4900000337      00020
    0490021101      AUM         0006201001         0010004229   6201            250.000  4900000337      00020
    0490021101      FR1         490000033700020    0010004229   6201            250.000  4900000337      00020
    0510000675      FR1         490000033700030                 6201            400.000  4900000337      00030
    0510000675      FR1         490000033700070                 6201            250.000  4900000337      00070
    0510000675      FR1         490000033700090                 6201             50.000  4900000337      00090
    0510000676      FR1         490000033700070                 6201            350.000  4900000337      00070
    0510000676      FR1         490000033700100                 6201             50.000  4900000337      00100
    0510000677      FR1         490000033700010                 6201            800.000  4900000337      00010
    0510000677      FR1         490000033700020                 6201            550.000  4900000337      00020
    Thanks. I have added you on GoogleTalk... if you use it, we can discuss there and update the thread...
    Regards
    Aabhas K Vishnoi

  • Stock variance report Crashes with error code REP-56048

    SR : 6990718.992
    gtcr : http://qmon.oraclecorp.com/qmon3/quickpicks.pl?t=t&q=6990718.992
    Problem Statement : When the user is trying to generate report for Stock variance report from Oracle Retail Merchandising System the report crashes with error code REP-56048.
    The steps to reproduce are specific to Oracle Retail Merchandising system application and hence I have not mentioned here.
    The REP-56048 error seems to be generic. Could you please advise me on this issue.
    Thanks & Regards,
    Sameer

    You can review the following Oracle Metalink Document;
    Comprehensive REP-56048 Troubleshooting and Overview Guide: Doc ID: Note:285281.1
    https://metalink.oracle.com/metalink/plsql/f?p=130:14:88153902823984055::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,285281.1,1,1,1,helvetica
    Hope it would be useful.
    Adith

  • Stock ageing report

    Hi all,
            I am developing stock ageing report i would not able to find Below fields in existing cube, kindly guide me how i can get those fields data in BI. whether i can create generic extraction or ? please give yr suggestion.
    Fields:
    vendor sub range
    consignment no
    Return flag(Returnable)
    And also GR data and GR qty already data availble how to find last GR date based on user input.Please sugges me.
    Last GR date  
    Last GR qty
    Thanks & Regards,
    R. Saravanan

    Try extractor 2LIS_03_BF. Or table MSEG.

  • Facing Issue with Stock Ageing report

    In Blocked Stock Ageing report Output, I am facing following issues
    1. Stock is correct but once we include the "Reason For Movement" then the aging is getting wrong  and in some cases value is coming Negative.
    2. In some cases "Reason For Movement" is coming in ‘#’, but this is a mandatory field. Hence cannot be blank.
    Note:
    1. Overall stock is coming correct.
    2. Reason Movement chat. is in free char
    3. Report is based 0IC_C03.

    Hi Nadeem,
    Reason for Movement is loading from  what attribute?  check in RSRV for that attribute.
    RSRV-->All Elementary Tests ->Master Data ->Compare Size of P-, Q- with X- and Y- Tables respectively .
    If it has any error then  correct that error in RSRV. It  will solve your problem.
    Regards,
    Rajesh

  • Time doesn't always appear

    The time under the received column doesn't always appear. If I click on the message, it shows but then goes away. It's very inconsistent. Repairing permissions and restarting doesn't change the behavior.

    I'm guessing you did not carefully read your owners manual, did you? Unless you are not going to be using your computer for several days at a time there is no reason to shut it down. Your manual states:
    _Putting Your MacBook Pro to Sleep_
    *If you’ll be away from your MacBook Pro for only a short time, put it to sleep. When the computer is in sleep, you can quickly wake it and bypass the startup process.*
    AND
    _Shutting Down Your MacBook Pro_
    *If you aren’t going to use your MacBook Pro for a couple of days or longer, it’s best to shut it down.*

Maybe you are looking for