No-interval-Urgent

Hi when the user select lt in s_self although the database have suitable records .Have you any opinion about below code.
SELECT-OPTIONS s_self FOR gv_self NO INTERVALS no-EXTENSION.
      gr_vfdat-sign   = s_self-sign .
      gr_vfdat-option = s_self-option .
      gr_vfdat-low    = lv_datum .
      APPEND gr_vfdat .
SELECT lqmatnr lqcharg lqwerks lqlgort
         lqvfdat lqlenum lqlgnum lqlgtyp lq~lgpla
         lqgesme lqmeins
         mrmtart mrzztype
    INTO TABLE t_lqua
    FROM lqua AS lq
    INNER JOIN mara AS mr ON mrmatnr = lqmatnr
    WHERE lq~matnr IN s_matnr
      AND lq~werks = p_werks
      AND lq~lgort = p_lgort
      AND lq~lgtyp BETWEEN '100' AND '899'
      AND lq~vfdat in gr_vfdat
      AND mr~mtart IN s_mtart
      AND mr~zztype IN s_zztype .
Message was edited by:
        yanut

why do you need to use LT and GT
SELECT-OPTIONS p_vfdat FOR vfdat.
SELECT lqmatnr lqcharg lqwerks lqlgort
lqvfdat lqlenum lqlgnum lqlgtyp lq~lgpla
lqgesme lqmeins
mrmtart mrzztype
INTO TABLE t_lqua
FROM lqua AS lq
INNER JOIN mara AS mr ON mrmatnr = lqmatnr
WHERE lq~matnr IN s_matnr
AND lq~werks = p_werks
AND lq~lgort = p_lgort
AND lq~lgtyp BETWEEN '100' AND '899'
AND lq~vfdat in p_vfdat
AND mr~mtart IN s_mtart
AND mr~zztype IN s_zztype .
this is enough
user can enter range for LT and GT or can exlude/include any number of ranges with the options available on the multiple selection screen

Similar Messages

  • Urgent: Configuring Database Polling Interval from BPEL Console

    Hi All
    Could we change the "Polling Interval" of a DB Adapter in a BPEL Process directly from the BPEL Console?
    thanks
    --debashis                                                                                                                                                                                                                                                                                   

    Yes did
    In bpel.xml
    <activationAgents>
    <activationAgent className="oracle.tip.adapter.fw.agent.jca.JCAActivationAgent" partnerLink="DbAd">
    <property name="portType">DbAd_ptt</property>
    *<property name="PollingInterval">10</property>*
    </activationAgent>
    </activationAgents>
    U can update the PollinInterval from DeploymentDescriptor of the process.

  • Polling interval...Urgent

    can anyone tell me what is the polling interval of OEM? and how can we change it?
    Thanks in advance.

    See the following post:
    Re: Changing the monitoring interval
    you have to change it per target which is a bit of an admin nightmare
    Cheers,
    Steve.

  • Safari 5.0 crash ,Safari does't open URGENT

    After the download Safari 5.0, I CANNOT OPEN SAFARI !!!
    URGENT, PLEASE, I NEED SAFARI WITH SIGNETS FOR MY JOB!!!
    MY MACBOOKPRO WAS PERFECT SINCE THIS VERY BAD DOWNLOAD ....
    Can Anyone to help me for this problem? THANK YOU !
    Process: Safari 44671
    Path: /Applications/Safari.app/Contents/MacOS/Safari
    Identifier: com.apple.Safari
    Version: 5.0 (5533.16)
    Build Info: WebBrowser-75331600~3
    Code Type: X86 (Native)
    Parent Process: launchd 96
    Interval Since Last Report: 3238 sec
    Crashes Since Last Report: 3
    Per-App Interval Since Last Report: 21 sec
    Per-App Crashes Since Last Report: 3
    Date/Time: 2010-06-14 12:00:18.691 +0200
    OS Version: Mac OS X 10.5.8 (9L31a)
    Report Version: 6
    Anonymous UUID: 50CE96CE-1F66-44C0-9C9E-E1F465C0C547
    Exception Type: EXCBADACCESS (SIGBUS)
    Exception Codes: KERNPROTECTIONFAILURE at 0x0000000000000000
    Crashed Thread: 2
    Thread 0:
    0 libSystem.B.dylib 0x93557816 open$UNIX2003 + 10
    1 com.apple.CoreFoundation 0x9683fa9c _CFStreamOpen + 316
    2 com.apple.CoreFoundation 0x9683fc98 CFReadStreamOpen + 152
    3 com.apple.Safari 0x0000d9b0 0x1000 + 51632
    4 com.apple.Safari 0x0000d808 0x1000 + 51208
    5 com.apple.Safari 0x0000d7a4 0x1000 + 51108
    6 com.apple.Safari 0x0000d64b 0x1000 + 50763
    7 com.apple.Safari 0x0000cb48 0x1000 + 47944
    8 com.apple.Safari 0x0000c932 0x1000 + 47410
    9 com.apple.Safari 0x0000c8e0 0x1000 + 47328
    10 com.apple.Safari 0x0000c3ba 0x1000 + 46010
    11 com.apple.Safari 0x0000b980 0x1000 + 43392
    12 com.apple.CoreFoundation 0x968b37f5 -NSSet makeObjectsPerformSelector: + 181
    13 com.apple.AppKit 0x940ffd8e -NSIBObjectData nibInstantiateWithOwner:topLevelObjects: + 1533
    14 com.apple.AppKit 0x940f5fba loadNib + 264
    15 com.apple.AppKit 0x940f591c + + 946
    16 com.apple.AppKit 0x940f555f + + 171
    17 com.apple.AppKit 0x940f549d +NSBundle(NSNibLoading) loadNibNamed:owner: + 391
    18 com.apple.AppKit 0x940f514c NSApplicationMain + 434
    19 com.apple.Safari 0x0000a3c6 0x1000 + 37830
    Thread 1:
    0 libSystem.B.dylib 0x9355344e _semwaitsignal + 10
    1 libSystem.B.dylib 0x9357ddcd pthreadcondwait$UNIX2003 + 73
    2 com.apple.JavaScriptCore 0x92193dff *::TCMalloc_PageHeap::scavengerThread() + 175
    3 com.apple.JavaScriptCore 0x9219411f **::TCMalloc_PageHeap::runScavengerThread(void) + 15
    4 libSystem.B.dylib 0x9357d155 pthreadstart + 321
    5 libSystem.B.dylib 0x9357d012 thread_start + 34
    Thread 2 Crashed:
    0 com.apple.WebCore 0x94f01424 WebCore::SQLiteStatement::prepare() + 100
    1 com.apple.WebCore 0x94f013b8 WebCore::SQLiteStatement::executeCommand() + 88
    2 com.apple.WebCore 0x94f025de WebCore::IconDatabase::performOpenInitialization() + 318
    3 com.apple.WebCore 0x94f00a9b WebCore::IconDatabase::iconDatabaseSyncThread() + 235
    4 libSystem.B.dylib 0x9357d155 pthreadstart + 321
    5 libSystem.B.dylib 0x9357d012 thread_start + 34
    Thread 3:
    0 libSystem.B.dylib 0x9354c266 machmsgtrap + 10
    1 libSystem.B.dylib 0x93553a5c mach_msg + 72
    2 com.apple.CoreFoundation 0x9682ae7e CFRunLoopRunSpecific + 1790
    3 com.apple.CoreFoundation 0x9682baa8 CFRunLoopRunInMode + 88
    4 com.apple.CFNetwork 0x95f21264 CFURLCacheWorkerThread(void*) + 388
    5 libSystem.B.dylib 0x9357d155 pthreadstart + 321
    6 libSystem.B.dylib 0x9357d012 thread_start + 34
    Thread 2 crashed with X86 Thread State (32-bit):
    eax: 0x00000000 ebx: 0x94f024b7 ecx: 0xffffffff edx: 0x019e4f44
    edi: 0xb0102ed8 esi: 0x00000015 ebp: 0xb0102e78 esp: 0xb0102e30
    ss: 0x0000001f efl: 0x00010202 eip: 0x94f01424 cs: 0x00000017
    ds: 0x0000001f es: 0x0000001f fs: 0x0000001f gs: 0x00000037
    cr2: 0x00000000
    Binary Images:
    0x1000 - 0x5ceff0 com.apple.Safari 5.0 (5533.16) <19d9230cb3d6cb500bca9a37dd897d0d> /Applications/Safari.app/Contents/MacOS/Safari
    0x642000 - 0x64dfff libxar.1.dylib ??? (???) /usr/lib/libxar.1.dylib
    0x655000 - 0x67ffe8 com.apple.framework.Apple80211 5.2.8 (528.1) <97dfd0c2d44d3c5839dd96f74e43d9c2> /System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Apple80211
    0x690000 - 0x69fff8 SyndicationUI ??? (???) <7b47710fa39f08be613ecebe0e4f5ece> /System/Library/PrivateFrameworks/SyndicationUI.framework/Versions/A/Syndicatio nUI
    0x11c5c000 - 0x11f55ff3 com.apple.RawCamera.bundle 2.3.0 (505) <1c7cea30ffe2b4de98ced6518df1e54b> /System/Library/CoreServices/RawCamera.bundle/Contents/MacOS/RawCamera
    0x8fe00000 - 0x8fe2db43 dyld 97.1 (???) <458eed38a009e5658a79579e7bc26603> /usr/lib/dyld
    0x90003000 - 0x90020ff7 com.apple.QuickLookFramework 1.3.1 (170.9) /System/Library/Frameworks/QuickLook.framework/Versions/A/QuickLook
    0x90021000 - 0x90058fff com.apple.SystemConfiguration 1.9.2 (1.9.2) <01426a38ba44efa5d448daef8b3e9941> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfi guration
    0x90065000 - 0x9019dfe7 com.apple.imageKit 1.0.2 (1.0) <00d03cf7f26e1b6023efdc4bd15dd52e> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/ImageKit.fram ework/Versions/A/ImageKit
    0x9019e000 - 0x9083efeb com.apple.CoreGraphics 1.409.5 (???) <a40644ccdbdc76e3a0ab4d468b2f9bdd> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/CoreGraphics
    0x917b6000 - 0x91804fe3 com.apple.AppleVAFramework 4.1.16 (4.1.16) /System/Library/PrivateFrameworks/AppleVA.framework/Versions/A/AppleVA
    0x91969000 - 0x91be5fe7 com.apple.Foundation 6.5.9 (677.26) <c68b3cff7864959becfc7fd1a384f925> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
    0x91be6000 - 0x91bf3fe7 com.apple.opengl 1.5.10 (1.5.10) <5a2813f80c9441170cc1ab8a3dac5038> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
    0x91bf4000 - 0x91eceff3 com.apple.CoreServices.CarbonCore 786.11 (786.14) <d5cceb2fe9551d345d40dd1ecf409ec2> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonC ore.framework/Versions/A/CarbonCore
    0x91ecf000 - 0x91ecffff com.apple.Carbon 136 (136) <450e7e239de3f8e559c78f6473ec5149> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
    0x91ed0000 - 0x91ef4feb libssl.0.9.7.dylib ??? (???) <5b29af782be5894be8b336c9c73c18b6> /usr/lib/libssl.0.9.7.dylib
    0x91ef5000 - 0x91f22feb libvDSP.dylib ??? (???) <b232c018ddd040ec4e2c2af632dd497f> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvDSP.dylib
    0x91f23000 - 0x91f4efe7 libauto.dylib ??? (???) <42d8422dc23a18071869fdf7b5d8fab5> /usr/lib/libauto.dylib
    0x91f4f000 - 0x91f55fff com.apple.print.framework.Print 218.0.3 (220.2) <5b7f4ef7c2df36aff9605377775781e4> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framewo rk/Versions/A/Print
    0x91f56000 - 0x91fe3ff7 com.apple.LaunchServices 292 (292) <a41286c7c1eb20ffd5cc796f791070f0> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchS ervices.framework/Versions/A/LaunchServices
    0x91fe4000 - 0x9201effe com.apple.securityfoundation 3.0.2 (36131) <39663c9b6f1a09d0566305d9f87cfc91> /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoun dation
    0x9201f000 - 0x9221bfff com.apple.JavaScriptCore 5533 (5533.13) <cef0a091b122549249e116cb9e213c60> /System/Library/Frameworks/JavaScriptCore.framework/Versions/A/JavaScriptCore
    0x9221c000 - 0x92221fff com.apple.CommonPanels 1.2.4 (85) <ea0665f57cd267609466ed8b2b20e893> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels. framework/Versions/A/CommonPanels
    0x926fe000 - 0x9270afff libbz2.1.0.dylib ??? (???) <887bb6f73d23088fe42946cd9f134876> /usr/lib/libbz2.1.0.dylib
    0x9270b000 - 0x92795fe3 com.apple.DesktopServices 1.4.8 (1.4.8) <a6edef2d49ffdee3b01010b7e6edac1f> /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/Desk topServicesPriv
    0x927c6000 - 0x927e4ff3 com.apple.DirectoryService.Framework 3.5.7 (3.5.7) <062b391cc6becb098d8e5f4b32e50c4a> /System/Library/Frameworks/DirectoryService.framework/Versions/A/DirectoryServi ce
    0x927e5000 - 0x928d3fef com.apple.PubSub 1.0.5 (65.19) <8a817c4eb3fa7e3517eb0cc5d02e5abd> /System/Library/Frameworks/PubSub.framework/Versions/A/PubSub
    0x928d4000 - 0x92984fff edu.mit.Kerberos 6.0.13 (6.0.13) <804bd1b3f08fb57396781f012006367c> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
    0x92985000 - 0x929a1ff3 libPng.dylib ??? (???) <df60749fd50bcfa0da5b4cac899e09df> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libPng.dylib
    0x929a2000 - 0x92a83ff7 libxml2.2.dylib ??? (???) <b3bc0b280c36aa17ac477b4da56cd038> /usr/lib/libxml2.2.dylib
    0x92a84000 - 0x92a84ffd com.apple.Accelerate 1.4.2 (Accelerate 1.4.2) /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
    0x92a85000 - 0x92c56ff3 com.apple.security 5.0.6 (37592) <5d7ae92f2e52ee7ba5ae658399770602> /System/Library/Frameworks/Security.framework/Versions/A/Security
    0x92c57000 - 0x92c97fef com.apple.CoreMedia 0.484.2 (484.2) <37461ff47cb25ad434a8544c97271d28> /System/Library/PrivateFrameworks/CoreMedia.framework/Versions/A/CoreMedia
    0x92c98000 - 0x92d3ffeb com.apple.QD 3.11.57 (???) <35f058678972d42b88ebdf652df79956> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ QD.framework/Versions/A/QD
    0x92d40000 - 0x92db2fff com.apple.PDFKit 2.1.2 (2.1.2) /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/PDFKit.framew ork/Versions/A/PDFKit
    0x92edb000 - 0x92ee5feb com.apple.audio.SoundManager 3.9.2 (3.9.2) <0f2ba6e891d3761212cf5a5e6134d683> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.f ramework/Versions/A/CarbonSound
    0x92ee6000 - 0x92eeafff libGIF.dylib ??? (???) <e7d550bda10018f52e61bb499dcf445f> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libGIF.dylib
    0x92eeb000 - 0x92f34fef com.apple.Metadata 10.5.8 (398.26) <e4d268ea45379200f03cdc7c8bedae6f> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadat a.framework/Versions/A/Metadata
    0x92f35000 - 0x92f35ffc com.apple.audio.units.AudioUnit 1.5 (1.5) /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
    0x92f48000 - 0x932e5fef com.apple.QuartzCore 1.5.8 (1.5.8) <a28fa54346a9f9d5b3bef076a1ee0fcf> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
    0x932e6000 - 0x93363feb com.apple.audio.CoreAudio 3.1.2 (3.1.2) <782a08c44be4698597f4bbd79cac21c6> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
    0x93369000 - 0x934edfef com.apple.MediaToolbox 0.484.2 (484.2) <a5110a7d3bcb02c45ad8fca1f4957917> /System/Library/PrivateFrameworks/MediaToolbox.framework/Versions/A/MediaToolbo x
    0x934ee000 - 0x934f0fff com.apple.securityhi 3.0 (30817) <dbe328cd62d603a952a4226342711e8b> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.fr amework/Versions/A/SecurityHI
    0x934f1000 - 0x934f8fe9 libgcc_s.1.dylib ??? (???) <a9ab135a5f81f6e345527df87f51bfc9> /usr/lib/libgcc_s.1.dylib
    0x9354b000 - 0x936b2ff3 libSystem.B.dylib ??? (???) <c8f52e158bf540cc000146ca8a705958> /usr/lib/libSystem.B.dylib
    0x936b3000 - 0x93710ffb libstdc++.6.dylib ??? (???) <04b812dcec670daa8b7d2852ab14be60> /usr/lib/libstdc++.6.dylib
    0x93711000 - 0x9378bff8 com.apple.print.framework.PrintCore 5.5.4 (245.6) <03d0585059c20cb0bde5e000438c49e1> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ PrintCore.framework/Versions/A/PrintCore
    0x9378c000 - 0x937abffa libJPEG.dylib ??? (???) <37050c2a8d6f7026c94b4bf07c4d8a80> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libJPEG.dylib
    0x937ac000 - 0x9382bff5 com.apple.SearchKit 1.2.2 (1.2.2) <3b5f3ab6a363a4d8a2bbbf74213ab0e5> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchK it.framework/Versions/A/SearchKit
    0x9382c000 - 0x93835fff com.apple.speech.recognition.framework 3.7.24 (3.7.24) <d3180f9edbd9a5e6f283d6156aa3c602> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecogni tion.framework/Versions/A/SpeechRecognition
    0x93836000 - 0x93836ffe com.apple.quartzframework 1.5 (1.5) <4b8f505e32e4f2d67967a276401f9aaf> /System/Library/Frameworks/Quartz.framework/Versions/A/Quartz
    0x93837000 - 0x93893ff7 com.apple.htmlrendering 68 (1.1.3) <fe87a9dede38db00e6c8949942c6bd4f> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering .framework/Versions/A/HTMLRendering
    0x93894000 - 0x938faffb com.apple.ISSupport 1.8 (38.3) /System/Library/PrivateFrameworks/ISSupport.framework/Versions/A/ISSupport
    0x93905000 - 0x93a3eff7 libicucore.A.dylib ??? (???) <f2819243b278259b9a622ea111ea5fd6> /usr/lib/libicucore.A.dylib
    0x93a57000 - 0x93a6ffff com.apple.openscripting 1.2.8 (???) <572c7452d7e740e8948a5ad07a99602b> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting .framework/Versions/A/OpenScripting
    0x93a70000 - 0x93f41fbe libGLProgrammability.dylib ??? (???) <7f18294a7bd0b6afe4319f29187fc70d> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgramma bility.dylib
    0x93f42000 - 0x93fd5fff com.apple.ink.framework 101.3 (86) <bf3fa8927b4b8baae92381a976fd2079> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework /Versions/A/Ink
    0x94007000 - 0x9409aff3 com.apple.ApplicationServices.ATS 3.8.1 (???) <56f6d9c6f0ae8dccb3b6def46d4ae3f3> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/ATS
    0x9409b000 - 0x940a9ffd libz.1.dylib ??? (???) <5ddd8539ae2ebfd8e7cc1c57525385c7> /usr/lib/libz.1.dylib
    0x940ef000 - 0x948edfef com.apple.AppKit 6.5.9 (949.54) <4df5d2e2271175452103f789b4f4d8a8> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
    0x948ee000 - 0x94a40ff3 com.apple.audio.toolbox.AudioToolbox 1.5.3 (1.5.3) /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
    0x94a41000 - 0x94dfdff4 com.apple.VideoToolbox 0.484.2 (484.2) <35f2d177796ebb3b61f9d06593d1787a> /System/Library/PrivateFrameworks/VideoToolbox.framework/Versions/A/VideoToolbo x
    0x94e06000 - 0x94e37ffb com.apple.quartzfilters 1.5.0 (1.5.0) <22581f8fe9dd2cb261f97a897407ec3e> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuartzFilters .framework/Versions/A/QuartzFilters
    0x94e38000 - 0x94e38ffb com.apple.installserver.framework 1.0 (8) /System/Library/PrivateFrameworks/InstallServer.framework/Versions/A/InstallSer ver
    0x94e39000 - 0x94e73fe7 com.apple.coreui 1.2 (62) /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
    0x94e74000 - 0x94e77fff com.apple.help 1.1 (36) <b507b08e484cb89033e9cf23062d77de> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framewor k/Versions/A/Help
    0x94e78000 - 0x94e87fff libsasl2.2.dylib ??? (???) <0ae9f3c08d8508d9dba56324c60ceb63> /usr/lib/libsasl2.2.dylib
    0x94e88000 - 0x94ed3ff7 com.apple.CoreMediaIOServices 130.0 (935) <4ee695edd53f5aa200021a2f69d24f76> /System/Library/PrivateFrameworks/CoreMediaIOServices.framework/Versions/A/Core MediaIOServices
    0x94ed4000 - 0x94efdfff libcups.2.dylib ??? (???) <56606d10ebe7748522786218d3954586> /usr/lib/libcups.2.dylib
    0x94efe000 - 0x95a15fff com.apple.WebCore 5533 (5533.16) <d76fbda5a7037dbea2216ef51fc426c0> /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.frame work/Versions/A/WebCore
    0x95a16000 - 0x95a54fff libGLImage.dylib ??? (???) <a6425aeb77f4da13212ac75df57b056d> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dyl ib
    0x95a55000 - 0x95bd5fff com.apple.AddressBook.framework 4.1.2 (702) <f9360f9926ccd411fdf7550b73034d17> /System/Library/Frameworks/AddressBook.framework/Versions/A/AddressBook
    0x95c81000 - 0x95e3dff3 com.apple.QuartzComposer 2.1 (106.13) <40f034e8c8fd31c9081f5283dcf22b78> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuartzCompose r.framework/Versions/A/QuartzComposer
    0x95f1e000 - 0x95fc5fec com.apple.CFNetwork 438.14 (438.14) <5f9ee0430b5f6319f18d9b23e777e0d2> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwo rk.framework/Versions/A/CFNetwork
    0x95fc6000 - 0x95feafff libxslt.1.dylib ??? (???) <0a9778d6368ae668826f446878deb99b> /usr/lib/libxslt.1.dylib
    0x95feb000 - 0x96078ff7 com.apple.framework.IOKit 1.5.2 (???) <7a3cc24f78f93931731203854ae0d891> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
    0x96079000 - 0x96097fff libresolv.9.dylib ??? (???) <b5b1527c2d99495ad5d507ab0a4ea872> /usr/lib/libresolv.9.dylib
    0x96098000 - 0x9615fff2 com.apple.vImage 3.0 (3.0) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.fr amework/Versions/A/vImage
    0x96160000 - 0x96165fff com.apple.backup.framework 1.0 (1.0) /System/Library/PrivateFrameworks/Backup.framework/Versions/A/Backup
    0x96166000 - 0x961b7ff7 com.apple.HIServices 1.7.1 (???) <ba7fd0ede540a0da08db027f87efbd60> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ HIServices.framework/Versions/A/HIServices
    0x961e1000 - 0x961f7fff com.apple.DictionaryServices 1.0.0 (1.0.0) <ad0aa0252e3323d182e17f50defe56fc> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Diction aryServices.framework/Versions/A/DictionaryServices
    0x961f8000 - 0x962ffff7 com.apple.WebKit 5533 (5533.16) <764c6865d214bd22d04da173232f076e> /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit
    0x96300000 - 0x9630cffe libGL.dylib ??? (???) /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
    0x9630d000 - 0x96312fff com.apple.DisplayServicesFW 2.0.2 (2.0.2) <cb9b98b43ae385a0f374baabe2b71764> /System/Library/PrivateFrameworks/DisplayServices.framework/Versions/A/DisplayS ervices
    0x96313000 - 0x963cefe3 com.apple.CoreServices.OSServices 228.1 (228.1) <ebdde14b3ea5db5fcacf39fcfda81294> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServi ces.framework/Versions/A/OSServices
    0x963cf000 - 0x963d1ff5 libRadiance.dylib ??? (???) <3561a7a6405223a1737f41352f1fd8c8> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libRadiance.dylib
    0x963d2000 - 0x9651aff7 com.apple.ImageIO.framework 2.0.7 (2.0.7) <cf45179ee2de2d46a6ced2ed147a454c> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/ImageIO
    0x9651b000 - 0x965fbfff libobjc.A.dylib ??? (???) <7b92613fdf804fd9a0a3733a0674c30b> /usr/lib/libobjc.A.dylib
    0x96670000 - 0x96670ffe com.apple.MonitorPanelFramework 1.2.0 (1.2.0) <a2b462be6c51187eddf7d097ef0e0a04> /System/Library/PrivateFrameworks/MonitorPanel.framework/Versions/A/MonitorPane l
    0x96676000 - 0x9675eff3 com.apple.CoreData 100.2 (186.2) <44df326fea0236718f5ed64084e82270> /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
    0x9675f000 - 0x9679efef libTIFF.dylib ??? (???) <cd2e392973a1fa35f23a0f37f55c579c> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libTIFF.dylib
    0x9679f000 - 0x967a1ffd com.apple.CrashReporterSupport 10.5.7 (161) <ccdc3f2000afa5fcbb8537845f36dc01> /System/Library/PrivateFrameworks/CrashReporterSupport.framework/Versions/A/Cra shReporterSupport
    0x967a2000 - 0x967b7ffb com.apple.ImageCapture 5.0.2 (5.0.2) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture. framework/Versions/A/ImageCapture
    0x967b8000 - 0x968ebfe7 com.apple.CoreFoundation 6.5.7 (476.19) <a332c8f45529ee26d2e9c36d0c723bad> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x968f8000 - 0x968f8ff8 com.apple.ApplicationServices 34 (34) <8f910fa65f01d401ad8d04cc933cf887> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Application Services
    0x968f9000 - 0x969abffb libcrypto.0.9.7.dylib ??? (???) <d02f7e5b8a68813bb7a77f5edb34ff9d> /usr/lib/libcrypto.0.9.7.dylib
    0x969ac000 - 0x969b3ffe libbsm.dylib ??? (???) <d25c63378a5029648ffd4b4669be31bf> /usr/lib/libbsm.dylib
    0x969b4000 - 0x969f6fef com.apple.NavigationServices 3.5.2 (163) <d3a7c9720479eed8ea35703125303871> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationSer vices.framework/Versions/A/NavigationServices
    0x969f7000 - 0x96a29fff com.apple.LDAPFramework 1.4.5 (110) <bb7a3e5d66f00d1d1c8a40569b003ba3> /System/Library/Frameworks/LDAP.framework/Versions/A/LDAP
    0x96a2a000 - 0x96a84ff7 com.apple.CoreText 2.0.4 (???) <f0b6c1d4f40bd21505097f0255abfead> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreText.framework/Versions/A/CoreText
    0x96a85000 - 0x96a85ffd com.apple.vecLib 3.4.2 (vecLib 3.4.2) /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
    0x96a86000 - 0x96b51fef com.apple.ColorSync 4.5.3 (4.5.3) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ColorSync.framework/Versions/A/ColorSync
    0x96b52000 - 0x96f62fef libBLAS.dylib ??? (???) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libBLAS.dylib
    0x96f63000 - 0x96f73ffc com.apple.LangAnalysis 1.6.5 (1.6.5) <d057feb38163121ffd871c564c692804> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LangAnalysis.framework/Versions/A/LangAnalysis
    0x96f74000 - 0x96f90ff3 com.apple.CoreVideo 1.6.1 (48.6) <f1837beeefc81964abf7b58075edea2f> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
    0x96f91000 - 0x97299fe7 com.apple.HIToolbox 1.5.6 (???) <eece3cb8aa0a4e6843fcc1500aca61c5> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox
    0x9729a000 - 0x973e4feb com.apple.QTKit 7.6.6 (1674) <ff784c2169c4214493a2b5153d80bd25> /System/Library/Frameworks/QTKit.framework/Versions/A/QTKit
    0x973e5000 - 0x973edfff com.apple.DiskArbitration 2.2.1 (2.2.1) <75b0c8d8940a8a27816961dddcac8e0f> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
    0x973ee000 - 0x973f2fff libmathCommon.A.dylib ??? (???) /usr/lib/system/libmathCommon.A.dylib
    0x97442000 - 0x9748dfe1 com.apple.securityinterface 3.0.4 (37213) <16de57ab3e3f85f3b753f116e2fa7847> /System/Library/Frameworks/SecurityInterface.framework/Versions/A/SecurityInter face
    0x9748e000 - 0x9750bfef libvMisc.dylib ??? (???) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvMisc.dylib
    0x9750c000 - 0x9750cffa com.apple.CoreServices 32 (32) <2fcc8f3bd5bbfc000b476cad8e6a3dd2> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
    0x9750d000 - 0x97838ff6 com.apple.QuickTime 7.6.6 (1674) <3ebc05dcaf5857bc3d33a04ebabf5c1a> /System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime
    0x97839000 - 0x97848ffe com.apple.DSObjCWrappers.Framework 1.3 (1.3) <98f7b46a9f1a099f77e1092ef8e29c63> /System/Library/PrivateFrameworks/DSObjCWrappers.framework/Versions/A/DSObjCWra ppers
    0x97849000 - 0x97878fe3 com.apple.AE 402.3 (402.3) <b13bfda0ad9314922ee37c0d018d7de9> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.fram ework/Versions/A/AE
    0x97879000 - 0x97c37fea libLAPACK.dylib ??? (???) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libLAPACK.dylib
    0x97c38000 - 0x97cbfff7 libsqlite3.0.dylib ??? (???) <3334ea5af7a911637413334154bb4100> /usr/lib/libsqlite3.0.dylib
    0x97cc0000 - 0x97cc0ffd com.apple.Accelerate.vecLib 3.4.2 (vecLib 3.4.2) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/vecLib
    0x97cc1000 - 0x97cf7fef libtidy.A.dylib ??? (???) <7b9fc90dc0d50da27a24f6f84ccdd7b7> /usr/lib/libtidy.A.dylib
    0x97cf8000 - 0x97cf8ff8 com.apple.Cocoa 6.5 (???) <e064f94d969ce25cb7de3cfb980c3249> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
    0x97cf9000 - 0x97cfaffc libffi.dylib ??? (???) <a3b573eb950ca583290f7b2b4c486d09> /usr/lib/libffi.dylib
    0x97cfb000 - 0x97d54ff7 libGLU.dylib ??? (???) <a3b9be30100a25a6cd3ad109892f52b7> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
    0x97d67000 - 0x97d77fff com.apple.speech.synthesis.framework 3.7.1 (3.7.1) <5171726062da2bd3c6b8b58486c7777a> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ SpeechSynthesis.framework/Versions/A/SpeechSynthesis
    0x97e42000 - 0x97e91fff com.apple.QuickLookUIFramework 1.3.1 (170.9) /System/Library/PrivateFrameworks/QuickLookUI.framework/Versions/A/QuickLookUI
    0xfffe8000 - 0xfffebfff libobjc.A.dylib ??? (???) /usr/lib/libobjc.A.dylib
    0xffff0000 - 0xffff1780 libSystem.B.dylib ??? (???) /usr/lib/libSystem.B.dylib

    HI,
    We know what you've tried here: http://discussions.apple.com/message.jspa?messageID=11667680#11667680
    You deleted: webpageIcons.db
    You installed the v10.5.8 Combo
    You've repaired disk permissions.
    Try logging into another user account on your Mac. Launch Safari... see if it crashes there, report back.
    Check for third party plugins. I don't see any in your crash log, but it's still a good idea to try.
    Safari: Add-ons may cause Safari to unexpectedly quit or have performance issues
    Make sure Safari is not running in Rosetta. Right or control click the Safari icon in your Applications folder then click Get Info. In the Get Info window click the black disclosure triangle so it faces down. Where you see, "Open using Rosetta" ... make sure that is NOT selected.
    Carolyn

  • Calling unix shell script from oracle stored procedure.. urgent!!!!!!!!!!!!

    Hi,
    i havea requirement where in i should be able to call my shell script through oracle stored procedure.i tried the following way..but iam unable to get the result.please find the details below.
    new.sh - my shell script - lctfile (LCTFILE) is the input pa
    v_config_file=`find $FND_TOP -name LCTFILE
    FNDLOAD apps/s0ccer@$dxbs1 0 Y DOWNLOAD $v_config_file /home/bir4163/RPT33/bin/menu.ldt MENU MENU_NAME='AR_NAVIGATE_GUI'
    if [ $? != 0 ];then
    echo "$DATE $0 FNDLOAD DOWNLOAD Failed!" | tee -a $LOG_FILE
    else
    echo "SUCCESS" | tee -a $LOG_FILE
    fi
    CREATE OR REPLACE PROCEDURE test_dbms_scheduler
    AS
    v_text VARCHAR2 (255) := 'AR_NAVIGATE_GUI';
    BEGIN
    DBMS_OUTPUT.put_line ('I am in Procedure');
    DBMS_SCHEDULER.create_job (
    job_name => 'test_dbms_scheduler',
    job_action => '/home/bir4163/RPT33/bin/new.sh',
    number_of_arguments => 1,
    job_type => 'executable',
    start_date => SYSDATE,
    repeat_interval => 'FREQ=SECONDLY; INTERVAL=1',
    enabled => FALSE,
    auto_drop => FALSE,
    comments => 'run shell script'
    DBMS_SCHEDULER.set_job_argument_value (job_name => 'test_dbms_scheduler',
    argument_position => 1,
    argument_value => v_text);
    DBMS_SCHEDULER.enable ('test_dbms_scheduler');
    DBMS_OUTPUT.put_line ('I am back in Procedure');
    EXCEPTION
    WHEN OTHERS
    THEN
    DBMS_OUTPUT.put_line (SQLCODE || SQLERRM);
    END;
    But iam unable to test it as i do not have permissions to access dbms_scheduler.can anybody tell me how to solve this using DBMS_PIPE with a sample code.
    please do help its very urgent
    thanks
    ramya

    Hi,
    Register your Shell Script as a concurrent program, Executable execution method "Host", then use fnd_request.submit_request to submit the program.
    Regards,
    Andries

  • I have a MacBook Pro 13.3 OS- MAC OS X LION.Whenever I am staring the computer, it says You need to restart your computer by pressing the power button.I did this number of times and everytime it freezes to the same screen.Solution needed urgently pls.

    I have a MacBook Pro 13.3 OS- MAC OS X LION.
    Whenever I am staring the computer, it says You need to restart your computer by pressing the power button.
    I did this number of times and everytime it freezes to the same screen.Solution needed urgently pls.
    Thank you for any help in this regard that comes fast.

    The details of the kernel-panic report is as follows-
    Interval Since Last Panic Report:  1458653 sec
    Panics Since Last Report:          6
    Anonymous UUID:                    70BA6A**************************************************
    Sun Sep 16 23:00:13 2012
    panic(cpu 0 caller 0xffffff80002c4794): Kernel trap at 0xffffff8000290560, type 14=page fault, registers:
    CR0: 0x0000000080010033, CR2: 0x0000000000800028, CR3: 0x000000000a509005, CR4: 0x00000000001606e0
    RAX: 0x0000000000000001, RBX: 0x0000000000820000, RCX: 0xffffff801122dc40, RDX: 0x0000000000020501
    RSP: 0xffffff80ef3d3da0, RBP: 0xffffff80ef3d3dc0, RSI: 0x000000002b1d78b6, RDI: 0xffffff800342d280
    R8:  0xffffff80ef3d3f08, R9:  0xffffff80ef3d3ef8, R10: 0x000000010d901000, R11: 0x0000000000000206
    R12: 0xffffff800342d280, R13: 0x0000000000000000, R14: 0xffffff8011cd6500, R15: 0x0000000000800000
    RFL: 0x0000000000010206, RIP: 0xffffff8000290560, CS:  0x0000000000000008, SS:  0x0000000000000000
    CR2: 0x0000000000800028, Error code: 0x0000000000000000, Faulting CPU: 0x0
    Backtrace (CPU 0), Frame : Return Address
    0xffffff80ef3d3a50 : 0xffffff8000220792
    0xffffff80ef3d3ad0 : 0xffffff80002c4794
    0xffffff80ef3d3c80 : 0xffffff80002da55d
    0xffffff80ef3d3ca0 : 0xffffff8000290560
    0xffffff80ef3d3dc0 : 0xffffff800026c9c3
    0xffffff80ef3d3f40 : 0xffffff80002c3fbb
    0xffffff80ef3d3fb0 : 0xffffff80002da481
    BSD process name corresponding to current thread: fsck_hfs
    Mac OS version:
    11E2620
    Kernel version:
    Darwin Kernel Version 11.4.2: Wed May 30 20:13:51 PDT 2012; root:xnu-1699.31.2~1/RELEASE_X86_64
    Kernel UUID: 25EC645A-8793-3201-8D0A-23EA280EC755
    System model name: MacBookPro9,2 (Mac-6F01561E16C75D06)
    System uptime in nanoseconds: 4850001132
    last loaded kext at 1796984176: com.apple.driver.BroadcomUSBBluetoothHCIController    4.0.7f2 (addr 0xffffff7f80e16000, size 57344)
    loaded kexts:
    com.apple.driver.BroadcomUSBBluetoothHCIController    4.0.7f2
    com.apple.driver.AppleUSBTCButtons    227.6
    com.apple.driver.AppleUSBTCKeyEventDriver    227.6
    com.apple.driver.AppleUSBTCKeyboard    227.6
    com.apple.driver.AppleIRController    312
    com.apple.AppleFSCompression.AppleFSCompressionTypeDataless    1.0.0d1
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib    1.0.0d1
    com.apple.BootCache    33
    com.apple.iokit.SCSITaskUserClient    3.2.1
    com.apple.driver.XsanFilter    404
    com.apple.iokit.IOAHCISerialATAPI    2.0.3
    com.apple.iokit.IOAHCIBlockStorage    2.0.4
    com.apple.driver.AppleFWOHCI    4.8.9
    com.apple.driver.AirPort.Brcm4331    560.7.21
    com.apple.driver.AppleSDXC    1.2.2
    com.apple.driver.AppleUSBHub    5.0.8
    com.apple.iokit.AppleBCM5701Ethernet    3.2.4b8
    com.apple.driver.AppleEFINVRAM    1.6.1
    com.apple.driver.AppleSmartBatteryManager    161.0.0
    com.apple.driver.AppleAHCIPort    2.3.0
    com.apple.driver.AppleUSBEHCI    5.0.7
    com.apple.driver.AppleUSBXHCI    1.0.7
    com.apple.driver.AppleACPIButtons    1.5
    com.apple.driver.AppleRTC    1.5
    com.apple.driver.AppleHPET    1.7
    com.apple.driver.AppleSMBIOS    1.9
    com.apple.driver.AppleACPIEC    1.5
    com.apple.driver.AppleAPIC    1.6
    com.apple.driver.AppleIntelCPUPowerManagementClient    195.0.0
    com.apple.nke.applicationfirewall    3.2.30
    com.apple.security.quarantine    1.3
    com.apple.security.TMSafetyNet    8
    com.apple.driver.AppleIntelCPUPowerManagement    195.0.0
    com.apple.driver.AppleUSBBluetoothHCIController    4.0.7f2
    com.apple.iokit.IOBluetoothFamily    4.0.7f2
    com.apple.driver.AppleFileSystemDriver    13
    com.apple.driver.AppleUSBMultitouch    230.5
    com.apple.driver.AppleThunderboltDPInAdapter    1.8.4
    com.apple.driver.AppleThunderboltDPAdapterFamily    1.8.4
    com.apple.driver.AppleThunderboltPCIDownAdapter    1.2.5
    com.apple.iokit.IOUSBHIDDriver    5.0.0
    com.apple.driver.AppleUSBMergeNub    5.0.7
    com.apple.driver.AppleUSBComposite    5.0.0
    com.apple.iokit.IOSCSIMultimediaCommandsDevice    3.2.1
    com.apple.iokit.IOBDStorageFamily    1.7
    com.apple.iokit.IODVDStorageFamily    1.7.1
    com.apple.iokit.IOCDStorageFamily    1.7.1
    com.apple.driver.AppleThunderboltNHI    1.6.0
    com.apple.iokit.IOThunderboltFamily    2.0.3
    com.apple.iokit.IOSCSIArchitectureModelFamily    3.2.1
    com.apple.iokit.IOFireWireFamily    4.4.5
    com.apple.iokit.IO80211Family    420.3
    com.apple.iokit.IOEthernetAVBController    1.0.1b1
    com.apple.iokit.IONetworkingFamily    2.1
    com.apple.iokit.IOUSBUserClient    5.0.0
    com.apple.iokit.IOAHCIFamily    2.0.8
    com.apple.iokit.IOUSBFamily    5.0.8
    com.apple.driver.AppleEFIRuntime    1.6.1
    com.apple.iokit.IOHIDFamily    1.7.1
    com.apple.iokit.IOSMBusFamily    1.1
    com.apple.security.sandbox    177.5
    com.apple.kext.AppleMatch    1.0.0d1
    com.apple.driver.DiskImages    331.7
    com.apple.iokit.IOStorageFamily    1.7.2
    com.apple.driver.AppleKeyStore    28.18
    com.apple.driver.AppleACPIPlatform    1.5
    com.apple.iokit.IOPCIFamily    2.7
    com.apple.iokit.IOACPIFamily    1.4

  • Urgent : extra column needed in report

    Hi All
    I have a query which displays the data for twelve months for a fiscal year.
    Rows:
    KF1
    KF2
    KF3
    Column:
    Posting Period
    So the display of report is similar to
    Period    ,     1         ,      2          ,     3        ,     YTD,      BOY
    KF1       ,     0.000   ,     0.000    ,     0.000  ,           ,                
    KF2       ,     0.000   ,     0.000    ,     0.000  ,           ,
    KF3       ,     0.0      ,     0.0       ,     0.0      ,           ,
    The no of periods is being enetered via a selection screen variables.
    Now I want to add two more columns i.e YTD and BOW (already shown)
    YTD would show the sum of the data till the current period
    BOY will show the sum of the data for the balance of Year.
    I do have variable to restrict the data as per the logic but I am not able to find a solution to add these two coluns.
    I have tried adding new slections in the columns area but it does not help and merges with the periods. I want these two coluns separately in my report.
    Please help. Its urgent
    Message was edited by:
            Shantanu Mukherjee
    Message was edited by:
            Shantanu Mukherjee

    You are right Venkat. User is entering the periods using a interval variable.can you please elaborate how to use a customer exit variable in this case. And moremoreover how to utilize the calculated values after the period columns.
    Let me elaborate again about the requirement. In the columns only postin period is being used and it has been resticted using a interval variable. In the rows selcetions based upon Key figures are being used. I need to add column which would give me the sum till the current period for that selection(selcetion is based upon a KF). I hope I have made myself clear this time. sorry for the inconvinience

  • Urgent Pl help :Cannot insert Order Group in KONK

    I am not able to insert new Order Group in KONK the number range i select for the Group get added in the number range interval but i can not see any order group which i am trying to insert.
    I have check the transaction SU53 for any authorization object issue but there is no such issue and system is showing the message authorization check was successful.
    Please help its urgent
    points will be awarded

    Hi
    For internal order group number ranges try in T.code: KOT2_OPA
    select the order for which you want to change the number range
    click on change button at the number range, select order group again,
    go to Intervals menu and click on Maintain it will allow you to change the number ranges.
    Regards
    Prasad
    Accenture - Hyd

  • Personnel Data Iview Error (It's very Urgent)

    Hi All,
    Personal Data   
    Critical Error
    A critical error has occured. Processing of the service had to be terminated. Unsaved data has been lost.
    Please contact your system administrator.
    failed to create or init instance of model 'com.sap.xss.hr.per.in.pdata.model.HRXSS_PER_P0002_IN' in scope APPLICATION_SCOPE with instanceId 'null'   
    Caused by: com.sap.tc.webdynpro.progmodel.model.api.WDModelException: failed to create instance of model 'com.sap.xss.hr.per.in.pdata.model.HRXSS_PER_P0002_IN'
         at com.sap.tc.webdynpro.progmodel.model.api.WDModelFactory.getNewModelInstance(WDModelFactory.java:392)
         at com.sap.tc.webdynpro.progmodel.model.api.WDModelFactory.getOrCreateModelInstanceFromScopeMaintainer(WDModelFactory.java:329)
         ... 65 more
    Caused by: com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: no jcoMetadata found for RFC function 'HRXSS_PER_GET_F4_P0002_IN'! Please verify, that your model is consistent with the ABAP backend: 'EC6'.
    Hi Please help me to solve this error it's very urgent ?
    thanks and regards,
    Phanikumar.

    Hi Ashutosh Gulkhobre,
    I coppied the dump from the ST22.
    Now please tell me solution fro this error ?
    Runtime Errors         OBJECTS_OBJREF_NOT_ASSIGNED_NO
    Exception              CX_SY_REF_IS_INITIAL
    Date and Time          27.06.2007 09:54:55
         Short text
              Access via 'NULL' object reference not possible.
         What happened?
              Error in the ABAP Application Program
              The current ABAP program "SAPLHRXSS_PER_MAC" had to be terminated because it
               has
              come across a statement that unfortunately cannot be executed.
         What can you do?
              Note down which actions and inputs caused the error.
              To process the problem further, contact you SAP system
              administrator.
              Using Transaction ST22 for ABAP Dump Analysis, you can look
              at and manage termination messages, and you can also
              keep them for a long time.
         Error analysis
              An exception occurred that is explained in detail below.
              The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not
               caught in
              procedure "HRXSS_PER_CLEANUP" "(FUNCTION)", nor was it propagated by a RAISING
               clause.
              Since the caller of the procedure could not have anticipated that the
              exception would occur, the current program is terminated.
              The reason for the exception is:
              You attempted to use a 'NULL' object reference (points to 'nothing')
              access a component.
              An object reference must point to an object (an instance of a class)
              before it can be used to access components.
              Either the reference was never set or it was set to 'NULL' using the
              CLEAR statement.
         How to correct the error
              Probably the only way to eliminate the error is to correct the program.
              If the error occures in a non-modified SAP program, you may be able to
              find an interim solution in an SAP Note.
              If you have access to SAP Notes, carry out a search with the following
              keywords:
              "OBJECTS_OBJREF_NOT_ASSIGNED_NO" "CX_SY_REF_IS_INITIAL"
              "SAPLHRXSS_PER_MAC" or "LHRXSS_PER_MACU04"
              "HRXSS_PER_CLEANUP"
              If you cannot solve the problem yourself and want to send an error
              notification to SAP, include the following information:
              1. The description of the current problem (short dump)
                 To save the description, choose "System->List->Save->Local File
              (Unconverted)".
              2. Corresponding system log
                 Display the system log by calling transaction SM21.
                 Restrict the time interval to 10 minutes before and five minutes
              after the short dump. Then choose "System->List->Save->Local File
              (Unconverted)".
              3. If the problem occurs in a problem of your own or a modified SAP
              program: The source code of the program
                 In the editor, choose "Utilities->More
              Utilities->Upload/Download->Download".
              4. Details about the conditions under which the error occurred or which
              actions and input led to the error.
              The exception must either be prevented, caught within proedure
              "HRXSS_PER_CLEANUP" "(FUNCTION)", or its possible occurrence must be declared
               in the
              RAISING clause of the procedure.
              To prevent the exception, note the following:
         System environment
              SAP-Release 700
              Application server... "ptgsap10"
              Network address...... "192.168.1.18"
              Operating system..... "Windows NT"
              Release.............. "5.2"
              Hardware type........ "2x Intel 80686"
              Character length.... 16 Bits
              Pointer length....... 32 Bits
              Work process number.. 0
              Shortdump setting.... "full"
              Database server... "PTGSAP10"
              Database type..... "ORACLE"
              Database name..... "EC6"
              Database user ID.. "SAPSR3"
              Char.set.... "C"
              SAP kernel....... 700
              created (date)... "Aug 29 2006 00:18:21"
              create on........ "NT 5.0 2195 Service Pack 4 x86 MS VC++ 13.10"
              Database version. "OCI_10201_SHARE (10.2.0.1.0) "
              Patch level. 75
              Patch text.. " "
              Database............. "ORACLE 9.2.0.., ORACLE 10.1.0.., ORACLE 10.2.0.."
              SAP database version. 700
              Operating system..... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2"
              Memory consumption
              Roll.... 8176
              EM...... 2090448
              Heap.... 0
              Page.... 0
              MM Used. 1208256
              MM Free. 880672
         User and Transaction
              Client.............. 001
              User................ "ESS_USER1"
              Language Key........ "E"
              Transaction......... " "
              Program............. "SAPLHRXSS_PER_MAC"
              Screen.............. "SAPMSSY1 3004"
              Screen Line......... 2
              Information on caller of Remote Function Call (RFC):
              System.............. "########"
              Database Release.... 645
              Kernel Release...... 700
              Connection Type..... "E" (2=R/2, 3=ABAP System, E=Ext., R=Reg. Ext.)
              Call Type........... "synchron and non-transactional (emode 0, imode 0)"
              Inbound TID.........." "
              Inbound Queue Name..." "
              Outbound TID........." "
              Outbound Queue Name.." "
              Client.............. "###"
              User................ "############"
              Transaction......... " "
              Call Program........." "
              Function Module..... "HRXSS_PER_CLEANUP"
              Call Destination.... "ptgsap10_EC6_10"
              Source Server....... "EPSAND1"
              Source IP Address... "192.168.1.36"
              Additional information on RFC logon:
              Trusted Relationship " "
              Logon Return Code... 0
              Trusted Return Code. 0
              Note: For releases < 4.0, information on the RFC caller are often
              only partially available.
         Information on where terminated
              Termination occurred in the ABAP program "SAPLHRXSS_PER_MAC" - in
               "HRXSS_PER_CLEANUP".
              The main program was "SAPMSSY1 ".
              In the source code you have the termination point in line 13
              of the (Include) program "LHRXSS_PER_MACU04".
              The termination is caused because exception "CX_SY_REF_IS_INITIAL" occurred in
              procedure "HRXSS_PER_CLEANUP" "(FUNCTION)", but it was neither handled locally
               nor declared
              in the RAISING clause of its signature.
              The procedure is in program "SAPLHRXSS_PER_MAC "; its source code begins in
               line
              1 of the (Include program "LHRXSS_PER_MACU04 ".
         Source Code Extract
         Line     SourceCde
             1     FUNCTION hrxss_per_cleanup.
             2     *"----
             3     ""Local interface:
             4     *"  EXPORTING
             5     *"     VALUE(MESSAGES) TYPE  BAPIRETTAB
             6     *"----
             7     
             8     *  CALL METHOD mac_adapter->cleanup
             9     *    IMPORTING
            10     *      messages = messages.
            11     
            12     * TRY.
         >>>>>       CALL METHOD xss_adapter->cleanup
            14         .
            15     * CATCH CX_HRPA_VIOLATED_ASSERTION .
            16     * ENDTRY.
            17       IF NOT xss_adapter2 IS INITIAL.
            18         CALL METHOD xss_adapter2->cleanup.
            19       ENDIF.
            20     
            21     ENDFUNCTION.
         Contents of system fields
         Name     Val.
         SY-SUBRC     0
         SY-INDEX     2
         SY-TABIX     13
         SY-DBCNT     30
         SY-FDPOS     0
         SY-LSIND     0
         SY-PAGNO     0
         SY-LINNO     1
         SY-COLNO     1
         SY-PFKEY     
         SY-UCOMM     
         SY-TITLE     CPIC and RFC Control
         SY-MSGTY     
         SY-MSGID     
         SY-MSGNO     000
         SY-MSGV1     
         SY-MSGV2     
         SY-MSGV3     
         SY-MSGV4     
         SY-MODNO     0
         SY-DATUM     20070627
         SY-UZEIT     095455
         SY-XPROG     SAPLHRXSS_PER_MAC
         SY-XFORM     HRXSS_PER_CLEANUP
         Active Calls/Events
         No.   Ty.          Program                             Include                             Line
               Name
             4 FUNCTION     SAPLHRXSS_PER_MAC                   LHRXSS_PER_MACU04                      13
               HRXSS_PER_CLEANUP
             3 FORM         SAPLHRXSS_PER_MAC                   LHRXSS_PER_MACU04                       1
               HRXSS_PER_CLEANUP
             2 FORM         SAPMSSY1                            SAPMSSY1                               85
               REMOTE_FUNCTION_CALL
             1 MODULE (PBO) SAPMSSY1                            SAPMSSY1                               30
               %_RFC_START
         Chosen variables
         Name
             Val.
         No.          4     Ty.      FUNCTION
         Name      HRXSS_PER_CLEANUP
         MESSAGES
              Table[initial]
         SY-XFORM
              HRXSS_PER_CLEANUP
                 455555545544444552222222222222
                 82833F052F3C51E500000000000000
                 000000000000000000000000000000
                 000000000000000000000000000000
         %_DUMMY$$
                 2222
                 0000
                 0000
                 0000
         XSS_ADAPTER2
                 F0000000
                 F0000000
         No.          3     Ty.      FORM
         Name      HRXSS_PER_CLEANUP
         SYST-REPID
              SAPLHRXSS_PER_MAC
                 5454455555545544422222222222222222222222
                 310C82833F052FD1300000000000000000000000
                 0000000000000000000000000000000000000000
                 0000000000000000000000000000000000000000
         %_%_MESSAGES
              Table[initial]
         No.          2     Ty.      FORM
         Name      REMOTE_FUNCTION_CALL
         %_DUMMY$$
                 2222
                 0000
                 0000
                 0000
         SY-REPID
              SAPMSSY1
                 5454555322222222222222222222222222222222
                 310D339100000000000000000000000000000000
                 0000000000000000000000000000000000000000
                 0000000000000000000000000000000000000000
         SYST-REPID
              SAPMSSY1
                 5454555322222222222222222222222222222222
                 310D339100000000000000000000000000000000
                 0000000000000000000000000000000000000000
                 0000000000000000000000000000000000000000
         HEADER
                 000000000000
                 000000000000
         TYPE
              3
                 0000
                 3000
         SY-XPROG
              SAPLHRXSS_PER_MAC
                 5454455555545544422222222222222222222222
                 310C82833F052FD1300000000000000000000000
                 0000000000000000000000000000000000000000
                 0000000000000000000000000000000000000000
         %_ARCHIVE
                 2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
                 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
                 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
                 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
         RC
              0
                 0000
                 0000
         SY-XFORM
              HRXSS_PER_CLEANUP
                 455555545544444552222222222222
                 82833F052F3C51E500000000000000
                 000000000000000000000000000000
                 000000000000000000000000000000
         %_SPACE
                 2
                 0
                 0
                 0
         No.          1     Ty.      MODULE (PBO)
         Name      %_RFC_START
         %_PRINT
                  000                                                                                0###
                 2222333222222222222222222222222222222222222222222222222222222222222222222222222222222222223000
                 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
                 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
                 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
         RFCTYPE_INTERNAL
              3
                 0000
                 3000
         Internal notes
              The termination was triggered in function "method_call_iref"
              of the SAP kernel, in line 2203 of the module
               "//bas/700_REL/src/krn/runt/abmethod.c#7".
              The internal operation just processed is "METH".
              Internal mode was started at 20070627095455.
         Active Calls in SAP Kernel
         Lines of C Stack in Kernel (Structure Differs on Each Platform)
         SAP (R) - R/3(TM) Callstack, Version 1.0
         Copyright (C) SAP AG. All rights reserved.
         Callstack without Exception:
         App       : disp+work.EXE (pid=24080)
         When      : 6/27/2007 9:54:55.565
         Threads   : 2
         Computer Name       : PTGSAP10
         User Name           : SAPServiceEC6
         Number of Processors: 2
         Processor Type: x86 Family 6 Model 11 Stepping 1
         Windows Version     : 5.2 Current Build: 3790
         State Dump for Thread Id 6cd0
         eax=000a7358 ebx=00000464 ecx=00000248 edx=00000000 esi=00000464 edi=00000000
         eip=7c82ed54 esp=0549c640 ebp=0549c6b0 iopl=0         nv up ei ng nz ac po cy
         cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00200297
         function : KiFastSystemCallRet
                 7c82ed54 c3               ret
                 7c82ed55 8da42400000000   lea     esp,[esp]              ss:0549c640=7c822124
                 7c82ed5c 8d642400         lea     esp,[esp]              ss:27f2ac53=????????
         FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
         0549c6b0 77e6ba12 00000464 0001d4c0 00000000 0549c6e8 ntdll!KiFastSystemCallRet
         0549c6c4 0101f939 00000464 0001d4c0 00000001 7c38b5c8 kernel32!WaitForSingleObject
         0549c6e8 005641c2 005641fb 7c38b5c8 7c38b5c8 7c38b5c8 disp+work!NTDebugProcess [ntstcdbg.c (501)]
         0549c6ec 005641fb 7c38b5c8 7c38b5c8 7c38b5c8 01d87888 disp+work!NTStack [dptstack.c (1367)]
         0549c708 0056422f 7c38b5c8 00000000 0085f2b9 7c38b5c8 disp+work!CTrcStack2 [dptstack.c (352)]
         0549c714 0085f2b9 7c38b5c8 00000000 005f0059 00300030 disp+work!CTrcStack [dptstack.c (182)]
         0549c738 008626fb 3ccf0c10 00008006 00000000 00660bd8 disp+work!rabax_CStackSave [abrabax.c (7020)
         0549cfe0 0067f9fc 01285324 012852e4 0000089b 2054de20 disp+work!ab_rabax [abrabax.c (1243)]
         0549d010 006914a8 00000003 3cda5308 00000000 0549d078 disp+work!method_call_iref [abmethod.c (2203
         0549d078 007c8d1e 00000000 3cda5308 0549d1c4 3cda67e8 disp+work!ab_extri [abextri.c (552)]
         0549d08c 008433d6 00000000 3cda6768 0059fdb0 3cda64b4 disp+work!ab_xevent [abrunt1.c (281)]
         0549d098 0059fdb0 3cda64b4 00000008 3cda6768 00000000 disp+work!ab_dstep [abdynpro.c (491)]
         0549d1c4 005a2ae2 3cda5308 3cda5308 0549fd04 005a2654 disp+work!dynpmcal [dymainstp.c (2394)]
         0549d1d4 005a2654 3cda5308 3cda5308 00000003 0549fd04 disp+work!dynppbo0 [dymainstp.c (542)]
         0549d1f0 00577116 3cda5308 00000004 00000000 0000001a disp+work!dynprctl [dymainstp.c (359)]
         0549fd04 004741c6 0000001a 00000001 00000001 0049792f disp+work!dynpen00 [dymain.c (1464)]
         0549fd14 0049792f 00000004 00000000 00000003 00000002 disp+work!Thdynpen00 [thxxhead.c (4683)]
         0549fee0 00497ead 00000001 00000000 00000000 00430000 disp+work!TskhLoop [thxxhead.c (4395)]
         0549ff00 004214f1 00000000 00000000 7ffd5000 0549ff60 disp+work!ThStart [thxxhead.c (1153)]
         0549ff14 00401080 00000003 056368d8 00000001 00000000 disp+work!DpMain [dpxxdisp.c (1119)]
         0549ff60 011bf720 00000003 056368d8 056378c8 01c05000 disp+work!nlsui_main [thxxanf.c (82)]
         0549ffc0 77e523cd 00000000 00000000 7ffd5000 80938fd6 disp+work!wmainCRTStartup [crtexe.c (395)]
         0549fff0 00000000 011bf5dd 00000000 00905a4d 00000003 kernel32!IsProcessorFeaturePresent
         State Dump for Thread Id 6408
         eax=00000001 ebx=00000103 ecx=0770fee8 edx=7c82ed54 esi=00000000 edi=00000000
         eip=7c82ed54 esp=0770fec0 ebp=0770ff04 iopl=0         nv up ei pl zr na po nc
         cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00000246
         function : KiFastSystemCallRet
                 7c82ed54 c3               ret
                 7c82ed55 8da42400000000   lea     esp,[esp]              ss:0770fec0=7c821514
                 7c82ed5c 8d642400         lea     esp,[esp]              ss:2a19e4d3=????????
         FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
         0770ff04 0110e0b7 000006e0 00000000 00000000 059ca9d8 ntdll!KiFastSystemCallRet
         0770ff84 7c349565 00000000 00000000 00000000 0563a508 disp+work!SigIMsgFunc [signt.c (594)]
         0770ffb8 77e66063 0563a508 00000000 00000000 0563a508 MSVCR71!endthreadex
         0770ffec 00000000 7c3494f6 0563a508 00000000 00000000 kernel32!GetModuleFileNameA
         List of ABAP programs affected
         Index     Typ     Program     Group     Date     Time     Size     Lang.
              0     Prg     SAPMSSY1          0     11.04.2005     09:27:15         21504     E
              1     Prg     SAPLHRXSS_SER_AUTHORITHY_CHECK          1     13.02.2005     19:00:30         16384     E
              2     Prg     SAPLASTAT_TRIG          2     09.09.2004     14:18:33         13312     E
              3     Typ     ASTAT_TYP2          0     10.11.1998     05:35:18          2048     
              4     Typ     ASTAT_TYP1          0     30.11.1998     15:54:16          2048     
              5     Prg     SAPLSAUTHTRACE          5     07.03.2005     08:51:05         57344     E
              6     Typ     USOBHASH          0     02.07.2003     13:15:24          3072     
              7     Prg     SAPLSECH          7     05.07.2005     13:10:18         26624     E
              8     Typ     CVERS          0     09.11.2000     14:05:49          2048     
              9     Prg     SAPLHRXSS_PER_MAC          9     10.02.2004     14:21:15         49152     E
             10     Prg     CX_SY_REF_IS_INITIAL==========CP         10     05.07.2005     13:10:16         10240     E
             11     Typ     SCX_SRCPOS          0     18.05.2004     14:07:11          2048     
             12     Prg     CX_DYNAMIC_CHECK==============CP         12     05.07.2005     13:10:16         10240     E
             13     Prg     CX_ROOT=======================CP         13     05.07.2005     13:10:16         11264     E
             14     Prg     CX_NO_CHECK===================CP         14     05.07.2005     13:10:16         10240     E
             15     Prg     CX_SY_NO_HANDLER==============CP         15     05.07.2005     13:10:16         10240     E
             16     Typ     SYST          0     09.09.2004     14:18:12         31744     
         Directory of Application Tables
         Name                                     Date       Time       Lngth
             Val.
         Program      SAPMSSY1
         SYST            .  .            :  :          00004612
              \0\0\0\0\x000D\0\x000F\0\0\0\0\0\0\0\0\0\0\0\0\0\x001E\0\0
         ABAP Control Blocks (CONT)
         Index     Name     Fl     PAR0     PAR1     PAR2     PAR3     PAR4     PAR5     PAR6     Source Code     Line
           246     FUNC     03     0020                                   LHRXSS_PER_MACU03            1
           247     PAR2     02     0000     001B     C000                         LHRXSS_PER_MACU03            1
           249     FUNC     13     0003                                   LHRXSS_PER_MACU03            1
           250     PAR2     01     0000     0011     C001                         LHRXSS_PER_MACU03            1
           252     FUNC     FF     0000                                   LHRXSS_PER_MACU03            1
           253     ENDF     00     0000                                   LHRXSS_PER_MACU03            1
           254     -
         00     0000                                   LHRXSS_PER_MACU03            1
           255     STCK     02     C001                                   LHRXSS_PER_MACU03            1
           256     CPOP     00     0000                                   LHRXSS_PER_MACU03            1
           257     -
         00     0000                                   LHRXSS_PER_MACU03            1
           258     FUNP     3E     0000     0011     8000     0000     8000     0000     0000     LHRXSS_PER_MACU04            1
           262     FUNP     80     0000     0000     0000     0000     0000     0000     0000     LHRXSS_PER_MACU04            1
         >>>>>     METH     03     0000     0000     8006     0000     0000     0000     0000     LHRXSS_PER_MACU04           13
           270     PAR2     00     0000     0001     0000                         LHRXSS_PER_MACU04           13
           272     CMPS     20     024B     001B     001B                         LHRXSS_PER_MACU04           17
           274     BRAF     05     0007                                   LHRXSS_PER_MACU04           17
           275     METH     03     0000     0001     8006     0000     0000     0000     0000     LHRXSS_PER_MACU04           18
           279     PAR2     00     0000     0001     0000                         LHRXSS_PER_MACU04           18
           281     FUNE     00     0000                                   LHRXSS_PER_MACU04           21
           282     -
         00     0000                                   LHRXSS_PER_MACU04           21
    Thanks and Regards,
    Phanikumar

  • Urgent!Fiscal Year Changes !

    Hi All
    Does anyone has implemented the changes for the Fiscal Year from Calendar Year Jan-Dec 2011 to Apr 2011 - Mar 2011
    So in my case now I need to show the reports for 2011 as Jan 2011 - Mar 2012.
    for 2012, Apr 2012- Mar 2013.
    Any ideas are highly appreciable. very urgent.
    so how my month and year report retrival changes... to be done?
    what are the precautions?
    Thanks for your suggestions.

    Hi,
    I do not know about the fiscal year variant way as it means you would need to customize and I am not sure if its possible to do what you want but since I am not an expert on that matter please rely on other posters.
    Regarding the ABAP way:
    1) create a variable on 0FISCYEAR that the user needs to fill, for example ZVAR_FISCYEAR. Use it in query but not on relevant keyfigures. It needs to pop up on selection screen but should restrict some dummy.
    2) create a variable on 0CALMONTH that is processed by user exit, for example ZVAR_CALMONTH. Make sure it is an interval
    3) go to the user exit relevant for bex reporting (please do investigate yourself also as this is covered in lots of topics)
    4) create logic that whenever user fills in 2011 in ZVAR_FISCYEAR the ZVAR_CALMONTH variable is filled as needed
    Small example:
      WHEN 'ZVAR_CALMONTH'.
        IF i_step = 2.
          LOOP AT i_t_var_range INTO loc_var_range
            WHERE vnam = 'ZVAR_FISCYEAR'.
            CLEAR l_s_range.
            l_s_range-low(4)   = loc_var_range-low(4).
    IF l_s_range-low(4) = '2011'.
            l_s_range-low+4(2)  = '01'.
            l_s_range-high(4) = '2012'.
            l_s_range-low+4(2)  = '05'.
    ELSEIF
    l_s_range-low(4) = '2012'.
            l_s_range-low+4(2)  = '04'.
            l_s_range-high(4) = '2013'.
            l_s_range-low+4(2)  = '03'.
    ENDIF.
            l_s_range-sign     = 'I'.
            l_s_range-opt      = 'BT'.
            APPEND l_s_range TO e_t_range.
            EXIT.
          ENDLOOP.
        ENDIF.
    5) restrict the relevant keyfigures in your query on 0CALMONTH with as range ZVAR_CALMONTH
    Please not I am not an diehard abapper nor do i have access to a system to test now so please share thoughts if the above is incorrect, usually i need one or two fixes before it works
    hope it at least gave you the right direction.
    C.

  • Urgent!!Variable for days not displaying properly!!!

    Hi
    When executing the Query,Variable for displaying Aging in days are not displaying between the selection.Pls any one help with regard to it.Pls tell wht r the main thing to be taken to consideration for this issue.
    Thanks

    Hi
    We have 2 formula var.
    <b>Current Cal day</b> which is based on SAP exit ,single val ,mandatory & dimension is date
    Another Formula var--<b>PR Info date</b> based on Replacemtn path ,replace with infoobject ,key,Interval value from,offset 0 to 8,single val ,optional & dimention tab as date.
    So calculating Ageing as   <b>Var Current Cal day</b> Minus <b> VarPR Info date</b>
    Then u have condition for Ageing Selection, with above calculating ageing -
    operator between, another var as AGING Frm & aging TO which is  form var by manual input ,interval is From val & Offset start & length  as 0 & 0, single val & optional..
    These r the selction made for the variables.
    Pls if u can get idea,tell where the problem is??????????URGENT
    ASAP...When I select range, Calculate COlumn for Ageing ..........displays all different days values not as per the selection range.

  • In put variable to have default from date as current date..its urgent

    query has input data as an interval it could be replaced with a single start end date parameters.only the start date needs a default value...
    plz its urgent..
    i will assign points...

    Hi,
    Steps to follow,
    1) In bex, Create a new variable of 0Calday characteristic.
    Set the following attributes:
    Type of Variable: Characteristic Value
    Variable name: ZCEMONT
    Variable Description: Caldate
    Processing by: Customer Exit (Drop down combo box)
    Characteristic: Calendar date
    Press Next
    Variable Represents: Range Value
    Variable Entry is: Mandatory
    Check Ready for Input
    And Press Next
    Press Finish.
    2) Transaction CMOD
    Create a new project, maintain the short text, and assign a development class.
    (It’s better to ask somebody senior in our project about this, because every project have one main project and development class)
    If you have project say Zproject. Choose option components. Click Change.
    Double-click on EXIT_SAPLRRS0_001.Then double-click on ZXRSRU01.
    Enter the coding .Save and activate the coding.
    INCLUDE ZXRSRU01 *
    DATA: L_S_RANGE TYPE RSR_S_RANGESID. 'In global area
    DATA: LOC_VAR_RANGE LIKE RRRANGEEXIT. 'In global area
    DATA: zdate like sy-datum.
    CASE I_VNAM.
    WHEN 'ZCEMONT'.
    IF i_step = 1.
    zdate = 'your default value'.
    l_s_range-low = zdate.
    l_s_range-sign = 'I'.
    l_s_range-opt = 'BT'.
    APPEND l_s_range TO e_t_range.
    ENDIF.
    ENDCASE.
    Activate the project. This is very important.
    3) TO test now, use that variable ZCEMONT in query some where by going to BEx designer.save the query.Don;t run it.
    4) First run it in RSRT(Tran code).
    Hope i m clear.
    Now your report
    1)Place your Priority infoobject in rows
    2)In column area in Bex, Right Click and New Structure.
    3) Right click the New Structure->New Selection"DOWNTIME"->Drag your KF ZDOWNTIME
    4) Now Create a New Formula and drag  DOWNTIME->
    ='DOWNTIME'<4
    5) same for other two.
    Regards,
    San!
    Message was edited by: San!
    Message was edited by: San!

  • Urgent!!!Need code to fetch all sales order data and download to flat file

    urgent!!!Need code to fetch all sales order data and download to flat file

                  D A T A B A S E  T A B L E S                          *
    TABLES: vbak,                          "Sales Document: Header Data
            VBAP,                          "Sales Document: Item Data
            MARA,VAPMA,VBPA,VBLB,VBEP,
             VBKD.   "Murali Poli                         .
                  I N T E R N A L   T A B L E S                         *
    Internal table to hold the Delphi material numbers file
    DATA: BEGIN OF tbl_matnr OCCURS 0,
            matnr LIKE mara-matnr,         "Material number
          END   OF tbl_matnr.
    Internal table to hold customer cross ref data
    DATA: BEGIN OF TBL_CUST_SA OCCURS 0,
            OLD_KUNNR LIKE KNA1-KUNNR,     "Old Customer
            OLD_VKORG LIKE A004-VKORG,     "Old Sales organisation
            OLD_VTWEG LIKE A004-VTWEG,     "Old Distribution channel
            NEW_KUNNR LIKE KNA1-KUNNR,     "New Customer
            NEW_VKORG LIKE A004-VKORG,     "New Sales organisation
            NEW_VTWEG LIKE A004-VTWEG,     "New Distribution channel
            PARVW LIKE VBPA-PARVW ,         "Partner function
    END   OF TBL_CUST_SA.
    Internal table to check the material numbers of the input file
    DATA: tbl_mara LIKE tbl_matnr OCCURS 0 WITH HEADER LINE.
    Work area to hold the header record
    DATA: BEGIN OF w_sa_header,
             recordtype(1),                "Record type
             schedulingagreement(4),       "SA Type
             contractreference(10),        "Contract Reference
             salesorg(4),                  "Sales Organization
             distrchannel(2),              "Distribution channel
             division(2),                  "Sales division
             PONUMBER(35),                 "Purchase order number"gsbhondave
             soldtoparty(12),              "Sold-to party
             shiptoparty(12),              "Ship-to party
             collectivenumber(10),         "Collective number
             description(40),              "Description
             roundqty(13),                 "Rounding Qty
             pdsi(4),                                           "PDI
             correctiondeliverydate(8),    "Correction Delivery Dt
             correctionqty(13),            "Correction Qty
             cumulativereceivedqty(13),    "Cumulative Received Qty
             forecastdeliveryschedule(17), "Forecast Delivery Schedule
             forecastdelscheddate(8),      "Forecast Delivery Schedule Dt
             jitdeliveryschedule(17),      "JIT Delivery Schedule
             jitdeliveryscheduledate(8),   "JIT Delivery Schedule Dt
             materialnumber(18),           "Material number
             plant(4),                     "Plant
             item_category(4),             "Item Category
             suppliercode(15),             "Supplier code
             scac(4),                      "SCAC
             deloc(12),                    "DELOC
             pkg_id(12),                   "Packaging ID
             catno(30),                    "Ultimate Cust Part
             lgort(4),                     "Storage Location
             vstel(4),                     "Shipping point
    Adding fields by Murali Poli
             VSBED(2),                     "Shipping conditions
             INCO1(3),                     "Incoterms (part 1)
             INCO2(28),                    "Incoterms (part 2)
             ZECN(1),                      "Engineering Change Letter
    End of Adding fields by Murali Poli
           END OF w_sa_header.
    Work area to hold the forecast record
    DATA: BEGIN OF w_sa_forecast,
             recordtype(1),                "Record Type
             dateformat(1),                "Date format
             forecastdate(8),              "Forecast date
             forecastorderqty(13),         "Order Qty
           END OF w_sa_forecast.
    Work area to hold the jit record
    DATA: BEGIN OF w_sa_jit,
             recordtype(1),                "Record Type
             dateformat(1),                "Date format
             jitdate(8),                   "JIT date
             jittime(6),                   "JIT Time
             jitorderqty(13),              "Order Qty
           END OF w_sa_jit.
    Internal table to hold the Extracted data
    DATA: BEGIN OF tbl_record OCCURS 0,
            record_type,
            DATA(400), " changed from 325 to 400
           END OF tbl_record.
    Internal table to capture the errors
    DATA: BEGIN OF tbl_error OCCURS 0,
            error_text(135),
          END   OF tbl_error.
    Internal table to hold the records of VBAP_VAPMA
    DATA: BEGIN OF tbl_vbap_vapma OCCURS 0,
    VBELN LIKE VAPMA-VBELN, "Sales and distribution document number
    POSNR LIKE VAPMA-POSNR,                "Item number
    AUART LIKE VAPMA-AUART,                "SA Type
    VKORG LIKE VAPMA-VKORG,                "Sales Organization
    VTWEG LIKE VAPMA-VTWEG,                "Distribution channel
    SPART LIKE VAPMA-SPART,                "Division
    KUNNR LIKE VAPMA-KUNNR,                "Sold-to
           plavo like vbap-plavo, "PDI
    MATNR LIKE VAPMA-MATNR,                "Material number
    WERKS LIKE VAPMA-WERKS,                "Plant
    TRVOG LIKE VAPMA-TRVOG,                "Transaction group
    VBTYP LIKE VBAK-VBTYP, "SD document category "Murali Poli
    VSBED LIKE VBAK-VSBED, "Shipping conditions   "Murali Poli
    BSTNK LIKE VBAK-BSTNK,  " Purchase order number " gsbhondave
    KTEXT LIKE VBAK-KTEXT,
    VGBEL LIKE VBAP-VGBEL,                 "Reference document no
    ABLFZ LIKE VBAP-ABLFZ,                 "Rounding qty
    PSTYV LIKE VBAP-PSTYV,                 "Item category
    LGORT LIKE VBAP-LGORT,                 "Storage location
    VSTEL LIKE VBAP-VSTEL,                 "Shipping point
    END   OF TBL_VBAP_VAPMA.
    DATA: BEGIN OF TBL_VBAP OCCURS 0,
    VBELN LIKE VAPMA-VBELN,
    POSNR LIKE VAPMA-POSNR,
    VGBEL LIKE VBAP-VGBEL,
    ABLFZ LIKE VBAP-ABLFZ,
    PSTYV LIKE VBAP-PSTYV,
    LGORT LIKE VBAP-LGORT,
    VSTEL LIKE VBAP-VSTEL,
    END   OF TBL_VBAP.
    Adding by Murali Poli
    DATA:BEGIN OF TBL_VBKD OCCURS 0,
          VBELN LIKE  VBKD-VBELN,
          POSNR LIKE  VBKD-POSNR,
          INCO1 LIKE  VBKD-INCO1,
          INCO2 LIKE  VBKD-INCO2,
         END OF TBL_VBKD.
    End by Murali Poli
    Internal table to hold temporarily the records of VBAP_VAPMA
    DATA: tbl_vbap_vapma_temp LIKE tbl_vbap_vapma OCCURS 0 WITH HEADER LINE.
    Internal table to hold the records of VBPA
    DATA: BEGIN OF tbl_vbpa OCCURS 0,
            vbeln LIKE vbpa-vbeln,         "Sales and distribution
                                           "document number
            posnr LIKE vbpa-posnr,         "Item number
            parvw LIKE vbpa-parvw,         "SP Partner type
            kunnr LIKE vbpa-kunnr,         "Customer number
            lifnr LIKE vbpa-lifnr,         "SCAC code     "DN3K923909
          END   OF tbl_vbpa.
    Internal table to hold the records of VBLB (Forecast)
    DATA: BEGIN OF tbl_vblb_forecast OCCURS 0,
            vbeln  LIKE vblb-vbeln,
            posnr  LIKE vblb-posnr,
            abart  LIKE vblb-abart,        "Release type
            abefz  LIKE vblb-abefz,        "Cumulative Quantity
                                           "Received by Customer
            labnk  LIKE vblb-labnk,        "Delivery schedule
            abrdt  LIKE vblb-abrdt,        "Deivery date
            gjkun LIKE vblb-gjkun,         "Current fiscal year
            vjkun LIKE vblb-vjkun,         "Previous fiscal year
          END   OF tbl_vblb_forecast.
    Internal table to hold the records of VBLB (JIT)
    DATA: BEGIN OF tbl_vblb_jit OCCURS 0,
            vbeln  LIKE vblb-vbeln,
            posnr  LIKE vblb-posnr,
            abart  LIKE vblb-abart,        "Release type
            abefz  LIKE vblb-abefz,        "Cumulative Quantity
                                           "Received by Customer
            labnk  LIKE vblb-labnk,        "Delivery schedule
            abrdt  LIKE vblb-abrdt,        "Deivery date
            gjkun LIKE vblb-gjkun,         "Current fiscal year
            vjkun LIKE vblb-vjkun,         "Previous fiscal year
          END   OF tbl_vblb_jit.
    Internal table to hold the Forecast Schedule lines
    DATA: BEGIN OF tbl_vbep_forecast OCCURS 0,
           vbeln LIKE vbep-vbeln,          "Sales document
           posnr LIKE vbep-posnr,          "Item number
           etenr LIKE vbep-etenr,          "Schedule line
           edatu LIKE vbep-edatu,          "Schedule line date
           ezeit LIKE vbep-ezeit,          "Arrival time       "DN3K923909
           wmeng LIKE vbep-wmeng,          "Order quantity in sales units
           prgrs LIKE vbep-prgrs, "Date type (day, week, month, interval)
           abart LIKE vbep-abart,          "Release type       "DN3K923909
          END   OF tbl_vbep_forecast.
    Internal table to hold the JIT Schedule lines
    DATA: BEGIN OF tbl_vbep_jit OCCURS 0,
           vbeln LIKE vbep-vbeln,          "Sales document
           posnr LIKE vbep-posnr,          "Item number
           etenr LIKE vbep-etenr,          "Schedule line
           edatu LIKE vbep-edatu,          "Schedule line date
           ezeit LIKE vbep-ezeit,          "Arrival time
           wmeng LIKE vbep-wmeng,          "Order quantity in sales units
           prgrs LIKE vbep-prgrs, "Date type (day, week, month, interval)
           abart LIKE vbep-abart,          "Release type      "DN3K923909
          END   OF tbl_vbep_jit.
    Internal table for Long texts
    DATA: tbl_tline  LIKE tline OCCURS 0 WITH HEADER LINE.
                    V A R I A B L E S                                   *
    DATA: v_count               TYPE i,
          V_REPID               LIKE SY-REPID,
          w_eins                LIKE vbap-umvkz VALUE 1,
          v_cumulative_deli_qty LIKE vblb-abefz,
          v_text_name           LIKE thead-tdname,
          v_week                LIKE scal-week,
          v_count_h             TYPE i,    "Count of header records
          v_count_f             TYPE i,    "Count of Forecast records
          v_count_j             TYPE i,    "Count of JIT records
          v_count_t             TYPE i.    "Count of Shipping instructions
    TYPES: unixfile LIKE rlgrap-filename,
           unixdir LIKE rlgrap-filename.
    DATA: v_file1 TYPE unixfile,
          v_file2 TYPE unixfile.
    DATA: tbl_dynpfields LIKE dynpread OCCURS 0 WITH HEADER LINE.
    *data  tbl_cust_sa.
          S E L E C T - O P T I O N S / P A R A M E T E R S             *
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
             Valid-to date
    PARAMETER:
              p_gueen like vbak-gueen obligatory,
             Correction Delivery date
               P_DELDT LIKE VBAK-GUEEN OBLIGATORY.
    Begin of Changes - TIR-40266
                  Plant
    SELECT-OPTIONS: s_werks FOR vbap-werks.
    *SD document category
    SELECT-OPTIONS: S_VBTYP FOR VBAK-VBTYP OBLIGATORY." Murali Poli
             Sales organization
    SELECT-OPTIONS: S_VKORG FOR VBAK-VKORG OBLIGATORY.
    End   of Changes - TIR-40266
    SELECTION-SCREEN SKIP 1.
    PARAMETER:      r1  RADIOBUTTON GROUP rg1.
             Material numbers file
    PARAMETER: P_FILE1 LIKE RLGRAP-FILENAME.
    PARAMETER: P_FILE6 LIKE RLGRAP-FILENAME.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT  1(32) text-003.
    SELECTION-SCREEN POSITION 33.
             SD SA Extract file
    PARAMETER: P_FILE2 LIKE RLGRAP-FILENAME
      DEFAULT 'C:\sd_sa_extract.txt'.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN SKIP 2.
    PARAMETER:      r2  RADIOBUTTON GROUP rg1.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT  1(32) text-004.
    SELECTION-SCREEN POSITION 33.
    PARAMETER: p_path1 TYPE unixdir OBLIGATORY DEFAULT '/tmp/'.
    SELECTION-SCREEN END OF LINE.
             Material numbers file
    PARAMETER: PU_FILE1 LIKE RLGRAP-FILENAME.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT  1(32) text-003.
    SELECTION-SCREEN POSITION 33.
             SD SA Extract file
    PARAMETER: PU_FILE2 LIKE RLGRAP-FILENAME.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT  1(64) text-005.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END   OF BLOCK b1.
            A T  S E L E C T I O N   S C R E E N   E V E N T S          *
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file1.
      v_repid = syst-repid.
      CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
           EXPORTING
                program_name  = v_repid
           CHANGING
                file_name     = p_file1
           EXCEPTIONS
                mask_too_long = 1
                OTHERS        = 2.
      IF sy-subrc <> 0.
        MESSAGE e009.
      Message shown as 'Error while getting the file name'
      ENDIF.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE6.
      CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
           EXPORTING
                program_name  = v_repid
           CHANGING
                FILE_NAME     = P_FILE6
           EXCEPTIONS
                mask_too_long = 1
                OTHERS        = 2.
      IF sy-subrc <> 0.
        MESSAGE e009.
      Message shown as 'Error while getting the file name'
      ENDIF.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file2.
      v_repid = syst-repid.
      CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
           EXPORTING
                program_name  = v_repid
           CHANGING
                file_name     = p_file2
           EXCEPTIONS
                mask_too_long = 1
                OTHERS        = 2.
      IF sy-subrc <> 0.
        MESSAGE e009.
      Message shown as 'Error while getting the file name'
      ENDIF.
    AT SELECTION-SCREEN ON RADIOBUTTON GROUP rg1.
      IF r1 = 'X'.
        IF  p_file1 = '' OR p_file2 = ''.
          MESSAGE w000 WITH 'Please select a PC file'.
        ENDIF.
        LOOP AT SCREEN.
          IF screen-name = 'P_FILE1' OR
             screen-name = 'P_FILE2'.
            screen-input = '1'.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ELSEIF r2 = 'X'.
        PERFORM get_value USING 'P_PATH1' CHANGING p_path1.
        PERFORM get_value USING 'PU_FILE1' CHANGING pu_file1.
        PERFORM get_value USING 'P_PATH1' CHANGING p_path1.
        PERFORM get_value USING 'PU_FILE2' CHANGING pu_file2.
        IF  pu_file1 = '' OR pu_file2 = ''.
          MESSAGE w000 WITH 'Please select a UNIX file'.
          LOOP AT SCREEN.
            IF screen-name = 'PU_FILE1' OR
               screen-name = 'PU_FILE2'.
              screen-input = '1'.
              MODIFY SCREEN.
            ENDIF.
          ENDLOOP.
        ENDIF.
      ENDIF.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR pu_file1.
      PERFORM get_value USING 'P_PATH1' CHANGING p_path1.
      PERFORM get_value USING 'PU_FILE1' CHANGING pu_file1.
      PERFORM popup_unix_filename CHANGING p_path1 pu_file1.
      PERFORM set_value USING 'P_PATH1' p_path1.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR pu_file2.
      PERFORM get_value USING 'P_PATH1' CHANGING p_path1.
      PERFORM get_value USING 'PU_FILE2' CHANGING pu_file2.
      PERFORM popup_unix_filename CHANGING p_path1 pu_file2.
      PERFORM set_value USING 'P_PATH1' p_path1.
                     T O P - O F - P A G E                              *
    TOP-OF-PAGE.
    PERFORM delphi_header(z_delphi_header_footer)
         USING
         'E & S SD SCHEDULING AGREEMENTS EXTRACT DATA'(016)
          space
          sy-linsz.
               S T A R T - O F  - S E L E C T I O N                     *
    START-OF-SELECTION.
      IF r1 = 'X'.
        PERFORM upload_data_from_pc_files.
      ELSEIF r2 = 'X'.
        PERFORM upload_data_from_unix_files.
      ENDIF.
      PERFORM check_input_data.
      PERFORM get_sd_sa_data.
                   E N D - O F - S E L E C T I O N                      *
    END-OF-SELECTION.
      PERFORM process_data.
                        S U B - R O U T I N E S                          *
    *&      Form  get_value
    FORM get_value USING value(p_fieldname)
                CHANGING value(p_fieldvalue).
      IF v_repid IS INITIAL.
        v_repid = syst-repid.
      ENDIF.
      REFRESH: tbl_dynpfields.
      CLEAR: tbl_dynpfields.
      tbl_dynpfields-fieldname = p_fieldname.
      APPEND tbl_dynpfields.
      CALL FUNCTION 'DYNP_VALUES_READ'
           EXPORTING
                dyname               = v_repid
                dynumb               = '1000'
           TABLES
                dynpfields           = tbl_dynpfields
           EXCEPTIONS
                invalid_abapworkarea = 1
                invalid_dynprofield  = 2
                invalid_dynproname   = 3
                invalid_dynpronummer = 4
                invalid_request      = 5
                no_fielddescription  = 6
                invalid_parameter    = 7
                undefind_error       = 8
                double_conversion    = 9
                stepl_not_found      = 10
                OTHERS               = 11.
      IF syst-subrc = 0.
        READ TABLE tbl_dynpfields INDEX 1.
        p_fieldvalue = tbl_dynpfields-fieldvalue.
      ENDIF.
      REFRESH: tbl_dynpfields.
    ENDFORM.                               " get_value
          FORM POPUP_UNIX_FILENAME                                      *
    Pops up dialog box to explore the unix filesystem and select a file *
    -->  VALUE(P_PATH)      Path where to start exploring from         *
    -->  VALUE(P_FILENAME)  Default filename in the dialog box         *
    FORM popup_unix_filename CHANGING value(p_path) TYPE unixdir
                                      value(p_filename) TYPE unixfile.
    DATA: v_length TYPE i,
           v_filename TYPE unixfile,
           v_directory LIKE draw-filep,
           v_file LIKE draw-filep.
    IF p_filename(1) = '/'  OR
        p_path IS INITIAL.
       v_filename = p_filename.
    ELSE.
       v_length = strlen( p_path ) - 1.
       IF p_path+v_length(1) <> '/'.
         CONCATENATE p_path '/' INTO p_path.
       ENDIF.
       CONCATENATE p_path p_filename INTO v_filename.
    ENDIF.
    CALL FUNCTION 'Z_UNIX_FILENAME_GET'
          EXPORTING
               def_filename     = v_filename
               mask             = ',*.'
               mode             = 'G'
               title            = 'Get UNIX file...'
          IMPORTING
               filename         = v_filename
          EXCEPTIONS
               inv_winsys       = 1
               no_batch         = 2
               selection_cancel = 3
               selection_error  = 4
               OTHERS           = 5.
    CHECK syst-subrc = 0.
    CALL FUNCTION 'CV120_SPLIT_PATH'
          EXPORTING
               pf_path  = v_filename
          IMPORTING
               pfx_path = v_directory
               pfx_file = v_file
          EXCEPTIONS
               OTHERS   = 1.
    CHECK syst-subrc = 0.
    IF v_directory = p_path.
       p_filename = v_file.
    ELSE.
       p_filename = v_filename.
    ENDIF.
    ENDFORM.
          FORM SET_VALUE                                                *
    Sets the value of a field on the selection screen.                  *
    -->  VALUE(P_FIELDNAME)   Name of the field on the selection screen*
    -->  VALUE(P_FIELDVALUE)  Value of the field                       *
    FORM set_value USING value(p_fieldname)
                         value(p_fieldvalue).
      IF v_repid IS INITIAL.
        v_repid = syst-repid.
      ENDIF.
      CLEAR: tbl_dynpfields.
      tbl_dynpfields-fieldname = p_fieldname.
      tbl_dynpfields-fieldvalue = p_fieldvalue.
      APPEND tbl_dynpfields.
      CALL FUNCTION 'DYNP_VALUES_UPDATE'
           EXPORTING
                dyname               = v_repid
                dynumb               = '1000'
           TABLES
                dynpfields           = tbl_dynpfields
           EXCEPTIONS
                invalid_abapworkarea = 1
                invalid_dynprofield  = 2
                invalid_dynproname   = 3
                invalid_dynpronummer = 4
                invalid_request      = 5
                no_fielddescription  = 6
                undefind_error       = 7
                OTHERS               = 8.
    ENDFORM.
    *&      Form  upload_data_from_pc_files
    This subroutine is used to upload the data from input files
    FORM upload_data_from_pc_files.
      REFRESH: tbl_matnr.
      CLEAR:   tbl_matnr.
    Upload the data from Delphi Materials file
      CALL FUNCTION 'WS_UPLOAD'
           EXPORTING
                filename                = p_file1
                filetype                = 'DAT'
           TABLES
                data_tab                = tbl_matnr
           EXCEPTIONS
                conversion_error        = 1
                file_open_error         = 2
                file_read_error         = 3
                invalid_type            = 4
                no_batch                = 5
                unknown_error           = 6
                invalid_table_width     = 7
                gui_refuse_filetransfer = 8
                customer_error          = 9
                OTHERS                  = 10.
      IF sy-subrc <> 0.
        MESSAGE e008 WITH 'Materials file'.
      Message shown as "Error while reading Materials file"
      ENDIF.
      IF sy-subrc = 0 AND tbl_matnr[] IS INITIAL.
        MESSAGE e013 WITH 'Materials'.
      Message shown as "No records found in Materials file"
      ENDIF.
      DELETE tbl_matnr WHERE matnr = ''.
      CALL FUNCTION 'WS_UPLOAD'
           EXPORTING
                FILENAME                = P_FILE6
                filetype                = 'DAT'
           TABLES
                DATA_TAB                = TBL_CUST_SA
           EXCEPTIONS
                conversion_error        = 1
                file_open_error         = 2
                file_read_error         = 3
                invalid_type            = 4
                no_batch                = 5
                unknown_error           = 6
                invalid_table_width     = 7
                gui_refuse_filetransfer = 8
                customer_error          = 9
                OTHERS                  = 10.
      IF sy-subrc <> 0.
        MESSAGE E008 WITH 'Customer/Sales Area Cross Reference file'.
      Message shown as "Error while reading Materials file"
      ENDIF.
    ENDFORM.                               " upload_data_from_pc_files
    *&      Form  upload_data_from_unix_files
    This subroutine is used to upload the data from UNIX files
    FORM upload_data_from_unix_files.
      REFRESH: tbl_matnr.
      CLEAR:   tbl_matnr.
    Get the complete filename for the Materials file
      PERFORM get_full_filename USING pu_file1 CHANGING v_file1.
    Open the Materials file
      PERFORM open_dataset USING v_file1 'I' 'T' 1.
      CHECK syst-subrc = 0.
    Read the materials file
      DO.
        READ DATASET v_file1 INTO tbl_matnr.
        IF syst-subrc <> 0.
          EXIT.
        ENDIF.
    Populate the read data into the internal table
        APPEND tbl_matnr.
      ENDDO.
      PERFORM close_dataset USING v_file1.
    ENDFORM.                               " upload_data_from_unix_files
          FORM GET_FULL_FILENAME                                        *
    Uses the logical path if necessary to get the full filename         *
    If the filename already has a directory specified, that itself will *
      be the full filename                                              *
    Else the logical path for Conversions will be prefixed to the given *
      filename                                                          *
    FORM get_full_filename USING value(p_file) TYPE unixfile
                        CHANGING value(p_fullfile) TYPE unixfile.
      DATA: v_length TYPE i.
    IF p_file(1) = '/'  OR
        p_path1 IS INITIAL.
       p_fullfile = p_file.
    ELSE.
       v_length = strlen( p_path1 ) - 1.
       IF p_path1+v_length(1) = '/'.
         CONCATENATE p_path1 p_file INTO p_fullfile.
       ELSE.
         CONCATENATE p_path1 '/' p_file INTO p_fullfile.
       ENDIF.
    ENDIF.
    ENDFORM.
          FORM OPEN_DATASET                                             *
    Opens dataset in the specified mode                                 *
    -->  VALUE(P_FILE)    Name of file to be opened                    *
    -->  VALUE(P_IOMODE)  'I' for Input / 'O' for Output               *
    -->  VALUE(P_BTMODE)  'T' for Text / 'B' for Binary                *
    -->  VALUE(P_LEVEL)   If set to > 1, will write error message to   *
                           list Else will supress the error message but *
                           will be available in SYST-MSGV1              *
    FORM open_dataset USING value(p_file) TYPE unixfile
                            value(p_iomode) TYPE c
                            value(p_btmode) TYPE c
                            value(p_level) TYPE i.
      DATA: v_rc LIKE syst-subrc,
            v_msg(100),
            v_listmsg(100).
      IF p_iomode = 'O'.
        IF p_btmode = 'B'.
          OPEN DATASET p_file FOR OUTPUT IN BINARY MODE MESSAGE v_msg.
        ELSE.
          OPEN DATASET p_file FOR OUTPUT IN TEXT MODE MESSAGE v_msg.
        ENDIF.
      ELSE.
        IF p_btmode = 'B'.
          OPEN DATASET p_file FOR INPUT IN BINARY MODE MESSAGE v_msg.
        ELSE.
          OPEN DATASET p_file FOR INPUT IN TEXT MODE MESSAGE v_msg.
        ENDIF.
      ENDIF.
      IF syst-subrc <> 0.
        v_rc = syst-subrc.
        syst-msgv1 = v_msg.
        IF p_level > 0.
          CONCATENATE 'Unable to open' p_file
                 INTO v_listmsg
            SEPARATED BY space.
          IF p_iomode = 'O'.
            CONCATENATE v_listmsg 'for Output'
                   INTO v_listmsg
              SEPARATED BY space.
          ELSE.
            CONCATENATE v_listmsg 'for Input'
                   INTO v_listmsg
              SEPARATED BY space.
          ENDIF.
          IF p_iomode = 'B'.
            CONCATENATE v_listmsg 'in Binary mode'
                   INTO v_listmsg
              SEPARATED BY space.
          ELSE.
            CONCATENATE v_listmsg 'in Text mode'
                   INTO v_listmsg
              SEPARATED BY space.
          ENDIF.
          WRITE: / v_listmsg.
          WRITE: /3 '--', v_msg.
          syst-subrc = v_rc.
        ENDIF.
      ENDIF.
    ENDFORM.
          FORM CLOSE_DATASET                                            *
    Closes dataset                                                      *
    -->  VALUE(P_FILE)  Name of the file to be closed                  *
    FORM close_dataset USING value(p_file) TYPE unixfile.
      CLOSE DATASET p_file.
    ENDFORM.
    *&      Form  check_input_data
    This subroutine is used to check the data from X Ref files
    FORM check_input_data.
      DESCRIBE TABLE tbl_matnr LINES v_count.
    Use the material conversion routine to pad the material numbers
    with zeroes
      LOOP AT tbl_matnr.
        CALL FUNCTION 'CONVERSION_EXIT_MATN1_INPUT'
             EXPORTING
                  input        = tbl_matnr-matnr
             IMPORTING
                  output       = tbl_matnr-matnr
             EXCEPTIONS
                  length_error = 1
                  OTHERS       = 2.
        TRANSLATE tbl_matnr-matnr TO UPPER CASE.
        MODIFY tbl_matnr.
      ENDLOOP.
    Get the materials from SAP database using the input materials
      IF NOT tbl_matnr[] IS INITIAL.
        SORT tbl_matnr BY matnr.
        SELECT matnr FROM mara
          INTO TABLE tbl_mara
           FOR ALL ENTRIES IN tbl_matnr
         WHERE matnr = tbl_matnr-matnr.
        SORT tbl_mara BY matnr.
      ENDIF.
    Check the existence of input materials in SAP database
      LOOP AT tbl_matnr.
        READ TABLE tbl_mara WITH KEY matnr = tbl_matnr-matnr
             BINARY SEARCH.
        IF sy-subrc <> 0.
          CONCATENATE 'Material' tbl_matnr-matnr 'does not exist'
                 INTO tbl_error-error_text
            SEPARATED BY space.
          APPEND tbl_error.
          CLEAR  tbl_error.
          DELETE tbl_matnr.
        ENDIF.
      ENDLOOP.
    ENDFORM.                               " check_input_data
    *&      Form  get_sd_sa_data
    This subroutine is used to get the SD Scheduling data from database
    FORM get_sd_sa_data.
    *begin of changes - DN3K923909
      DATA: tbl_vbep LIKE tbl_vbep_forecast OCCURS 0 WITH HEADER LINE,
            tbl_vblb LIKE tbl_vblb_forecast OCCURS 0 WITH HEADER LINE.
    *end of changes - ND3K923909
      REFRESH: tbl_vbap_vapma, tbl_vbpa, tbl_vblb_forecast,
               tbl_vblb_jit, tbl_vbep_forecast, tbl_vbep_jit.
      CLEAR:   tbl_vbap_vapma, tbl_vbpa, tbl_vblb_forecast,
               tbl_vblb_jit, tbl_vbep_forecast, tbl_vbep_jit.
    Get the Scheduling Agreements
      SELECT avbeln aposnr
           a~vgbel
             AAUART avkorg avtweg aspart a~kunnr
            a~ablfz
             A~MATNR
           a~pstyv
             a~werks
           a~lgort
            a~vstel
              ATRVOG BVBTYP BVSBED  BBSTNK B~KTEXT
        FROM VAPMA AS A INNER JOIN VBAK AS B
          ON bvbeln = avbeln
        INTO TABLE tbl_vbap_vapma
         FOR ALL ENTRIES IN tbl_mara
       WHERE a~matnr = tbl_mara-matnr
    Begin of Changes - TIR-40266
         AND a~vkorg IN s_vkorg
         AND a~werks IN s_werks
    End of Changes - TIR-40266
         AND A~TRVOG = '3'
         AND B~VBTYP IN S_VBTYP.           "Murali Poli
        and a~abgru = ''
        and b~gueen >= p_gueen.
      SORT tbl_vbap_vapma BY vbeln posnr.
      IF NOT tbl_vbap_vapma[] IS INITIAL.
        SELECT VBELN POSNR VGBEL ABLFZ PSTYV LGORT VSTEL FROM VBAP
         INTO TABLE  TBL_VBAP FOR ALL ENTRIES IN TBL_VBAP_VAPMA
           WHERE VBELN = TBL_VBAP_VAPMA-VBELN
            AND POSNR = TBL_VBAP_VAPMA-POSNR.
        LOOP AT TBL_VBAP_VAPMA.
          READ TABLE TBL_VBAP WITH KEY VBELN = TBL_VBAP_VAPMA-VBELN
                                       POSNR = TBL_VBAP_VAPMA-POSNR.
          IF SY-SUBRC = 0 .
            TBL_VBAP_VAPMA-VBELN  = TBL_VBAP-VBELN.
            TBL_VBAP_VAPMA-POSNR  = TBL_VBAP-POSNR.
            TBL_VBAP_VAPMA-VGBEL  = TBL_VBAP-VGBEL.
            TBL_VBAP_VAPMA-ABLFZ  = TBL_VBAP-ABLFZ.
            TBL_VBAP_VAPMA-PSTYV  = TBL_VBAP-PSTYV.
            TBL_VBAP_VAPMA-LGORT  = TBL_VBAP-LGORT.
            TBL_VBAP_VAPMA-VSTEL  = TBL_VBAP-VSTEL.
            MODIFY TBL_VBAP_VAPMA .
          ENDIF.
        ENDLOOP.
        tbl_vbap_vapma_temp[] = tbl_vbap_vapma[].
    *--Begin of UnCommentDIR-51476-DN3K932648
    -------------- Begin of Comment -----------  CCR-50124  DN3K928457
        SORT tbl_vbap_vapma_temp BY vbeln.
        DELETE ADJACENT DUPLICATES FROM tbl_vbap_vapma COMPARING vbeln.
    -------------- End of Comment -----------  CCR-50124  DN3K928457
    *--End of UnCommentDIR-51476-DN3K932648
    *--Begin of CommentDIR-51476-DN3K932648
    -------------- Begin of Insert -----------  CCR-50124  DN3K928457
    Duplicate Line Items are being deleted.
       SORT tbl_vbap_vapma BY vbeln posnr.
    DELETE ADJACENT DUPLICATES FROM tbl_vbap_vapma COMPARING vbeln posnr.
    The field for contract in SA is being modified for uniqueness
       loop at tbl_vbap_vapma.
         clear: v_vgbel, v_posnr.
         v_vgbel = tbl_vbap_vapma-vgbel.
         v_posnr = tbl_vbap_vapma-posnr.
         if not v_vgbel is initial .
           shift v_vgbel left deleting leading v_zero.
           shift v_posnr left deleting leading v_zero.
           v_posnr = v_posnr / 10.
           condense: v_vgbel, v_posnr.
           if v_posnr le 9.
             concatenate v_vgbel '0' v_posnr into v_vgbel.
           else.
             concatenate v_vgbel v_posnr into v_vgbel.
           endif.
         endif.
         tbl_vbap_vapma-vgbel = v_vgbel.
         modify tbl_vbap_vapma.
       endloop.
    -------------- End of Insert -----------  CCR-50124  DN3K928457
    *--End of CommentDIR-51476-DN3K932648
    Get the Partner details
       select vbeln posnr parvw kunnr
    *Start of Murali Poli
        SELECT VBELN POSNR INCO1 INCO2
               INTO TABLE TBL_VBKD
               FROM VBKD
               FOR ALL ENTRIES IN TBL_VBAP_VAPMA
               WHERE VBELN = TBL_VBAP_VAPMA-VBELN.
              and posnr  = tbl_vbap_vapma-posnr.
    *End of Murali Poli
        SELECT vbeln posnr parvw kunnr lifnr                    "DN3K923909
          INTO TABLE tbl_vbpa
          FROM vbpa
           FOR ALL ENTRIES IN tbl_vbap_vapma_temp
         WHERE vbeln = tbl_vbap_vapma_temp-vbeln
           AND parvw IN ('WE', 'SP').
    *begin of changes - DN3K923909
       select vbeln posnr abart abefz labnk abrdt gjkun vjkun
         into table tbl_vblb_forecast
         from vblb
          for all entries in tbl_vbap_vapma
        where vbeln = tbl_vbap_vapma-vbeln
          and posnr = tbl_vbap_vapma-posnr
          and abrli = '0000'
          and abart = '1'.
        SELECT vbeln posnr abart abefz labnk abrdt gjkun vjkun
          INTO TABLE tbl_vblb
          FROM vblb
           FOR ALL ENTRIES IN tbl_vbap_vapma
         WHERE vbeln = tbl_vbap_vapma-vbeln
           AND posnr = tbl_vbap_vapma-posnr
           AND abrli = '0000'
           AND abart IN ('1','2').
        SELECT vbeln posnr etenr edatu ezeit wmeng prgrs abart
          INTO TABLE tbl_vbep
          FROM vbep
           FOR ALL ENTRIES IN tbl_vbap_vapma
         WHERE vbeln = tbl_vbap_vapma-vbeln
           AND posnr = tbl_vbap_vapma-posnr
           AND abart IN ('1','2').
    Get the current Forecast delivery schedule
        tbl_vblb_forecast[] = tbl_vblb[].
        DELETE tbl_vblb_forecast WHERE abart = '2'.
    Get the current Forecast Schedule lines
        tbl_vbep_forecast[] = tbl_vbep[].
        DELETE tbl_vbep_forecast WHERE abart = '2'.
    Get the current JIT delivery Schedule
       select vbeln posnr abart abefz labnk abrdt gjkun vjkun
         into table tbl_vblb_jit
         from vblb
          for all entries in tbl_vbap_vapma
        where vbeln = tbl_vbap_vapma-vbeln
          and posnr = tbl_vbap_vapma-posnr

  • "URGENT"Infopackage load error in process chian after upgrade

    Hi Gurus,
                   We have a strange issue in one of the process chain after upgrade from 3.5 to NW 2004s. In a process chain we have 5 info packages, 3 in parallel as they load data in 3 different cubes and 2 in series after successful completion of info packages on top.
    Now the process chain shows red info package with error message “ Last delta upload not yet completed. Cancel”
    When we check the RSMO, we find all the 3 loads on top finish successfully while in process chain log display as error at info package with above error message and process chain never advances. Actually loads finish successfully but process chain shows error in info package.
    When we investigated further, the request ID in failed info package in process chain shows different ID which never loaded in cube but data load takes place successfully using different request ID(checked in RSMO and request in cube).
    I suppose the process chain trigger the info package load twice simultaneously, one load get successful and second load request failed in log as first one is running…this is my guess…
    Please help me as this is an urgent issue.
    Regards,
    Anil

    Hi All,
    We fond the root cause of the error message. Actually when we trigger the process chain, the info packages loads get triggered twice after an interval or around 2 minutes.
    Here if zero records are loaded then second request ( after 2 min) get loaded too with zero records but if first request is loading some records then second request will find the data load still running and will throw error as last delta still not finished.
    Have you seen this scenario before?
    Regards,
    Anil

  • DATE FIELD PROBLEMS - URGENT

    I´m having trouble with FormsCentral.
    My form is running about 8 months with no problems.
    Yesterday people started to complain that the system doesn´t accept any date.
    That means the date field restricts date entries, from date dd/mm/aaaa (brazilian format) to another dd/mm/aaaa, but every date that users input in, is considered by the system as invalid, even it´s a correct and valid date right between the interval specified!
    I need Help Urgent!!!
    I depend on these forms to finish the payrol service from here.
    Thanks
    I´ll be waiting.
    Maurício Galletti
    Message was edited by: SNOWMAUSS
    It look like the system accepts just dates starting from the date of today.
    I´m testing.
    Please help.
    Thanks
    Message was edited by: SNOWMAUSS
    It looks like the system have some problem just with the date 20/10/2013?!
    I´ve fixed the problem change the interval from 20/10/2013 to another date  and used  21/10/2013 to another date and it works!
    But I think something is wrong with the 20/10/2013 date?!
    To reproduce the erros just create a new form with date feature with this exaclty configurations and the bug appears:
    I´ll keep waiting
    Message was edited by: SNOWMAUSS

    Hi
    I´ve concluded that the problem persist if the date interval starts at the
    specific date "20/10/2013". Don´t know why?!
    Look at the screen capture above, you aks for
    Thanks a lot
    image: Imagem inline 1
    Maurício P. Galletti
    Contador
    [email protected]
    ( 55 11 3331-5567
    www.cadt.com.br
    2013/10/29 Genevieve Laroche <[email protected]>
       Re: DATE FIELD PROBLEMS - URGENT  created by Genevieve Laroche<http://forums.adobe.com/people/Genevieve+Laroche>in
    FormsCentral - View the full discussion<http://forums.adobe.com/message/5797083#5797083

Maybe you are looking for

  • Is this type of query possible (select with rows stopping based on match)

    I'm trying to write a SQL query and suspect it can't be done. Or at least, I can't mentally grasp it, despite various stabs with subqueries. I've simplified it by changing the metaphor here a little. Let's say I have a truck in some city (say, Chicag

  • Report for Excise Part II Pending to Capture

    Hi, Is there any Std. report or Table which can provide List of GR document Number against which 'Excise Part II' is pending. Regards, VK

  • Some thumbnails in Timeline not showing

    I opened a sequence (from Apple's FCP6 self learning course) and some of the clips show the thumbnail, others just show a blank thumbnail with a in the middle. The same clips also have blank thumbnails in the Browser. I tried "reconnecting" media, bu

  • Error updating my software

    My 9300 Curve currently has the 5.0.0.846 platform. I am trying to install the 6.0.0.666 but I keep getting the following message: There was an error updating your software. This BlackBerry® Device Software upgrade includes new features and significa

  • WRT54GS Not Working.

    Ok,so i have a Cable modem & my wireless router,everything was fine & then a fuse blew & turned both my modem & the router off,i fixed the fuse. My modem was messed up abit,i called support & fixed it,then when i tried to connect my router to the mod