Confirmations after SRM Server update to level 9

We are having an issue with regards to Confirmation of goods, we have a po of 300 units and we have confirmed 85 but this has failed there is no figures in the confirmed Qty nor is there a value.
Any ideas?

We resolced this by checking the PORT in EDI (WE21) rfc connections where incorrect

Similar Messages

  • WEB and WIKI Error after Feb2012 server update

    Anyone else having server WEB, Wiki and certificate problems after the last update?

    I got this from the log file. Maybe it will help finding the problem.
    Feb 27 00:19:54 xxvxx servermgrd[6491]: servermgr_web: XSWebConfig read failed; detail:Error Domain=XSServerFoundationErrorDomain Code=4 "Failed to read settings: Exception:
              undefined method `downcase' for nil:NilClass
              ." UserInfo=0x7fc533d6ad50 {NSLocalizedDescription=Failed to read settings: Exception:
              undefined method `downcase' for nil:NilClass

  • Problem in Server Admin: cpu and network graphs not updated or empty after lion server update

    Hi!
    Just for archive purpouses because i've already solved that!
    After upgrading from OSX Server 10.7 to 10.7.1 my CPU and Network graphs in Server Admin stop being updated.
    In 24h the graphs where blank (disk usage graph seem to keep working).
    First i read about "what is the application responsible for this"; it's called ServerPerfLog, and you can see if it's running that way:
         # ps ax | grep ServerPerf
    If you don't see anything else than your own "grep", that means that no application is running, no data is being collected.
         41324 s000  R+     0:00.00 grep ServerPerf
    A positive response for this (meaning that the service is running) should be something like that (2 lines: your grep and the service app itself):
         94   ??  Ss     0:04.71 /usr/libexec/ServerPerfLog
         41344 s000  R+     0:00.00 grep ServerPerf
    Later i read about "where is the config file for this service app", and you can find it here:
         /System/Library/LaunchDaemons/com.apple.ServerPerfLog.plist
    If you edit this config file, check that the "Key > Disabled" is set to "False"
         # vi /System/Library/LaunchDaemons/com.apple.ServerPerfLog.plist
            <key>Disabled</key>
            <false/>
    After that, i try to launch the service that updates this graphs again, by hand, performing the following command:
         # sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.ServerPerfLog.plist
    And the service got launch!!! yeeeepa!! i see a first update in graph data.
    Also the "ps" query reply that the service was running!!
    The bad things came a day after, when i saw that the graphs stop again....
    I check if the service was running executing again the "ps" command, and that show me that the service was stopped again; no ServerPerfLog process was running.
    But r e l a x, because the process hang because of a permissions problem.
    You should know, I run "Repair permissions" within "Disk Utilities" over the running system disk, eeee... voila!
    I hope that helps someone to get his fancy graphs back!
    Regards,
    t

    You are God like!!! Wooo hooo! Thanks bud!

  • SharePoint 2010 100% cpu w3wp.exe after windows server update desember 2013

    Hi
    Using SharePoint 2010 with 2 frontend webservers and 1 appserver:
    Our ApplicationPool for our portal workerprocess has for a second time gone up to and stuck on 99% CPU on one of our 2 frontend webservers. 
    What happens is that this server falls out of the NLB cluster, and the only way to get it back is to log onto the server and through task manager stop the worker process (w3wp). We checked to see what the applicationPool was, and it was for the portal site.
    The first time it happened was just after the installation of the following windows server patches: Actuall on the very same day. The patches were installed on the early morning of the 18th december 2013.
    The event id for the spesific events show:
    18.12.2013 14:45 Event id 7011, Service Control manager:
    A timeout (30000 milliseconds) was reached while waiting for a transaction response from the VMTools service.
    and
    09.01.2014 08:36 Event id 7011 Service Control Manager
    A timeout (30000 milliseconds) was reached while waiting for a transaction response from the UmRdpService service.
    In adition there are a lot of random:
    Event id 105, Warning: NLB:
    NLB cluster []: Timer starvation has been detected. This might be due to a denial of service attack or a very high server load. During this period, some connections might fail. If this problem recurs frequently, analyze the threat and take appropriate measures
    and/or add more servers to the cluster. An informational event log entry will be logged when the attack has subsided.
    I'm suspecting that this was caused because of one of the updates, allthough the "Event id 105", Warning: NLB did exist prior to the patch updates, but would only appear once every 2-3 weeks. After December 18 2013 these "Event id 105"
    messages appear about 6-11 times a day!
    any one seen something like it?
    I see microsoft: http://support.microsoft.com/kb/922918/eng
    Event 7011, has a workaround to increase the default time-out value for the service to for example 60 seconds instead of 30. Would this be a good solution?
    brgs
    Bjorn

    Hi ,
    For the temp solution u can do app pool recycle or iisreset when the cpu usage goes 100%.
    And check which worker processor is consuming that much memory and checked related to that web application.
    Please remember to click &quot;Mark As Answer&quot; if a post solves your problem or &quot;Vote As Helpful&quot; if it was useful. It'll help other users who are visiting your thread for the similar problem.

  • Calendar Error 500 after Maverick Server Update

    Hello!
    After updating our MacMini Server to Maverick and the new OS X Server Version, the Calendar Server is not working. Every client gets this message:
    Antwort des Servers
    „500“
    an Vorgang CalDAVDeleteEntityQueueableOperation.
    Any idea to solve the problem?
    best regards
    Wolfgang

    Hi,
    Check /var/log/caldavd/error.log
    You should find some Python tracebacks indicating which code path was running when the error happened. Each traceback is composed of multiple lines between the word Traceback and an empty line. It's likely that there's a small number of unique tracebacks being printed over and over, so you only need to reply with one instance of each traceback.

  • [SOLVED] After xorg-server update backlight is not behaving

    After updating a Thinkpad S540 today the system goes into dim backlight level for the screen during the initial stages of the boot process, and recovers to normal brightness after the password has been entered in the KDM greeter and the user logs in to KDE. Running KDE the brightness behaves normally, but when the system shuts down after logging out from KDE the text output during shutdown does into very dim mode again.
    The brightness parameters when logged in to KDE look fine.
    $ ls -1 /sys/class/backlight/intel_backlight/*brightness | xargs -I % sh -c "echo % ; cat %"
    /sys/class/backlight/intel_backlight/actual_brightness
    937
    /sys/class/backlight/intel_backlight/brightness
    937
    /sys/class/backlight/intel_backlight/max_brightness
    937
    $ ls -1 /sys/class/backlight/acpi_video0/*brightness | xargs -I % sh -c "echo % ; cat %"
    /sys/class/backlight/acpi_video0/actual_brightness
    100
    /sys/class/backlight/acpi_video0/brightness
    100
    /sys/class/backlight/acpi_video0/max_brightness
    100
    The snippet of journal log relevant to the brightness setting is:
    Jul 29 17:56:28 lenovo1 systemd[1]: Created slice system-systemd\x2dbacklight.slice.
    Jul 29 17:56:28 lenovo1 systemd[1]: Starting Load/Save Screen Backlight Brightness of backlight:acpi_video0...
    Jul 29 17:56:28 lenovo1 kernel: thinkpad_acpi: ThinkPad ACPI Extras v0.25
    Jul 29 17:56:28 lenovo1 kernel: thinkpad_acpi: http://ibm-acpi.sf.net/
    Jul 29 17:56:28 lenovo1 kernel: thinkpad_acpi: ThinkPad BIOS GPET58WW (1.58 ), EC unknown
    Jul 29 17:56:28 lenovo1 kernel: thinkpad_acpi: Lenovo ThinkPad S5-S540, model 20B3CTO1WW
    Jul 29 17:56:28 lenovo1 systemd[1]: Starting Load/Save Screen Backlight Brightness of backlight:intel_backlight...
    Jul 29 17:56:28 lenovo1 kernel: snd_hda_intel 0000:00:1b.0: irq 61 for MSI/MSI-X
    Jul 29 17:56:28 lenovo1 kernel: tpm_tis 00:0b: 1.2 TPM (device-id 0x0, rev-id 78)
    Jul 29 17:56:28 lenovo1 kernel: ACPI Error: [\_SB_.PCI0.GFX0.DD02._BCL] Namespace lookup failure, AE_NOT_FOUND (20
    Jul 29 17:56:28 lenovo1 kernel: ACPI Error: Method parse/execution failed [\_SB_.PCI0.RP05.PEGP.DD02._BCL] (Node f
    Jul 29 17:56:28 lenovo1 kernel: thinkpad_acpi: detected a 8-level brightness capable ThinkPad
    Jul 29 17:56:28 lenovo1 kernel: thinkpad_acpi: This ThinkPad has standard ACPI backlight brightness control, suppo
    Jul 29 17:56:28 lenovo1 kernel: thinkpad_acpi: Disabling thinkpad-acpi brightness events by default...
    Jul 29 17:56:28 lenovo1 systemd-backlight[200]: Saved brightness 11 too low; increasing to 46.
    Jul 29 17:56:28 lenovo1 kernel: snd_hda_intel 0000:00:03.0: irq 62 for MSI/MSI-X
    Jul 29 17:56:28 lenovo1 kernel: ACPI Exception: AE_BAD_PARAMETER, Returned by Handler for [EmbeddedControl] (20140
    Jul 29 17:56:28 lenovo1 kernel: ACPI Error: Method parse/execution failed [\_TZ_.TZ01._TMP] (Node ffff880226839cd0
    Jul 29 17:56:28 lenovo1 kernel: ACPI Exception: AE_BAD_PARAMETER, Returned by Handler for [EmbeddedControl] (20140
    Jul 29 17:56:28 lenovo1 kernel: ACPI Error: Method parse/execution failed [\_TZ_.TZ01._TMP] (Node ffff880226839cd0
    Jul 29 17:56:28 lenovo1 systemd[1]: Started Load/Save Screen Backlight Brightness of backlight:acpi_video0.
    Jul 29 17:56:28 lenovo1 systemd[1]: Started Load/Save Screen Backlight Brightness of backlight:intel_backlight.
    Booting with kernel parameter systemd.restore_state=0 gives a normal brightness throughout. So this must have something to do with the saving of the brightness parameters by systemd. The clue is in the journal log above:
    systemd-backlight[200]: Saved brightness 11 too low; increasing to 46.
    I wonder how I can get systemd to reset the stored value which is too low to be sensible?
    Has anyone seen similar behaviour and if so is there a proper fix instead of the workaround in the bug I have filed upstream as below?
    Filed arch bug https://bugs.archlinux.org/task/41390
    and upstream at https://bugs.freedesktop.org/show_bug.cgi?id=81884
    Last edited by mcloaked (2014-08-13 08:58:01)

    @iskandr , @ens  about backlight and fn keys:
    keys work (I checked by xmodmap) and backlight control works, but only by:
    /sys/class/backlight/intel_backlight/brightness
    old scripts which used for example:
    /sys/class/backlight/acpi_video0/brightness
    stopped works.
    I wonder if this is a BUG or new feature? Where are handlers in clean Linux / systemd responsible for action to acpi keys which controlls backlight? ( I checked and it's not acpid /etc/acpi/handler.sh - acpi keys backlight controll works without it ). (moreover,acpid is external application as well as xbacklight, gbacklight etc... It should work OOTB, without these applications and also in the console.)
    to turn on old interface as before 3.16 try add
    video.use_native_backlight=0
    to GRUB_CMDLINE_LINUX_DEFAULT line in /etc/default/grub  ( remember about grub-mkconfig -o /boot/grub/grub.cfg )
    it turns on old interface:
    ls -l /sys/class/backlight/
    lrwxrwxrwx 1 root root 0 08-15 13:36 acpi_video0 -> ../../devices/pci0000:00/0000:00:01.0/0000:01:00.0/backlight/acpi_video0
    lrwxrwxrwx 1 root root 0 08-15 13:36 acpi_video1 -> ../../devices/pci0000:00/0000:00:02.0/backlight/acpi_video1
    lrwxrwxrwx 1 root root 0 08-15 13:36 intel_backlight -> ../../devices/pci0000:00/0000:00:02.0/drm/card0/card0-LVDS-1/intel_backlight
    and everything works again as before 3.16.
    http://cgit.freedesktop.org/xorg/driver … 0d681c171e
    This is another BUG (also occurs to my laptop). I see that the code is ready, so wait for a fix update.
    I wonder also whether and where to file a bug report (about fn keys + backlight control).
    Last edited by kelloco2 (2014-08-15 12:38:16)

  • Capturing value in after insert or update row level trigger

    Hi Experts,
    I'm working on EBS 11.5.10 and database 11g. I have trigger-A on wip_discrete_jobs table and trigger-B on wip_requirement_operations table.When ever i create discrete job, it inserts record in both wip_discrete_jobs and wip_requirement_operations.
    Note:2 tables are like master-child relation.
    Trigger-A: After Insert.Row Level trigger on wip_discrete_jobs
    Trigger-B:After Insert,Row Level trigger on wip_requirement_operations
    In Trigger A:
    I'm capturing wip_entity_id and holding in global variable.
    package.variable:=:new.wip_entity_id
    In Trigger B:
    I'm using the above global variable.
    Issue: Let's say i have create discrete job,it's wip_entity_id is 27, but the global variable is holding the previous wip_entity_id(26),not current value.It looks like before trigger A event is complete, trigger B is also in process, i think this could be the reason it's not storing the current wip_entity_id in the global variable.
    I need your help how to have the current value in the global variable so that i can use that in the trigger B.
    Awaiting response at the earliest.
    Thanks

    798616 wrote:
    Hi Experts,
    I'm working on EBS 11.5.10 and database 11g. I have trigger-A on wip_discrete_jobs table and trigger-B on wip_requirement_operations table.When ever i create discrete job, it inserts record in both wip_discrete_jobs and wip_requirement_operations.
    Note:2 tables are like master-child relation.
    Trigger-A: After Insert.Row Level trigger on wip_discrete_jobs
    Trigger-B:After Insert,Row Level trigger on wip_requirement_operations
    In Trigger A:
    I'm capturing wip_entity_id and holding in global variable.
    package.variable:=:new.wip_entity_id
    In Trigger B:
    I'm using the above global variable.
    Issue: Let's say i have create discrete job,it's wip_entity_id is 27, but the global variable is holding the previous wip_entity_id(26),not current value.It looks like before trigger A event is complete, trigger B is also in process, i think this could be the reason it's not storing the current wip_entity_id in the global variable.
    I need your help how to have the current value in the global variable so that i can use that in the trigger B.
    Awaiting response at the earliest.
    ThanksMy head hurts just thinking about how this is being implemented.
    What's stopping you from creating a nice and simple procedure to perform all this magic?
    Continue with the global/trigger magic at your own peril, as you can hopefully already see ... nothing good will come from it.
    Cheers,

  • Urbanterror in a second X server don't start after X server update

    Before the last update of the X server I  was used to start Ut in a second server with those scripts:
    ~/bin/ut-42
    #!/bin/bash
    DISPLAY=:1.0
    export SDL_AUDIODRIVER=alsa
    #xinit /usr/bin/urbanterror $* -- :1
    xinit urbanterror $* -- :1
    and in my .xinitrc:
    case $1 in
    #other stuff
    urbanterror)
    xrandr --output DVI-I-1 --mode 1920x1080 --pos 0x0 --rotate normal --output HDMI-1 --off --output DVI-I-2 --off
    $HOME/bin/games/UrbanTerror42/Quake3-UrT.x86_64 $* -- >$HOME/.ut.log 2>&1
    #/usr/bin/urbanterror $* --
    #other stuff
    Now when I swith to another tty to launch Ut I have this error message:
    X.Org X Server 1.16.0
    Release Date: 2014-07-16
    X Protocol Version 11, Revision 0
    Build Operating System: Linux 3.15.5-2-ARCH x86_64
    Current Operating System: Linux izildur 3.15.7-1-ARCH #1 SMP PREEMPT Mon Jul 28 20:06:17 CEST 2014 x86_64
    Kernel command line: BOOT_IMAGE=../vmlinuz-linux root=/dev/sda6 rw initrd=../initramfs-nouveau-load-early.img
    Build Date: 31 July 2014 11:53:19AM
    Current version of pixman: 0.32.6
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    (==) Log file: "/home/cedlemo/.local/share/xorg/Xorg.1.log", Time: Thu Jul 31 19:23:16 2014
    (==) Using config directory: "/etc/X11/xorg.conf.d"
    (==) Using system config directory "/usr/share/X11/xorg.conf.d"
    (EE)
    Fatal server error:
    (EE) xf86OpenConsole: Cannot open virtual console 2 (Permission denied)
    (EE)
    (EE)
    Please consult the The X.Org Foundation support
    at http://wiki.x.org
    for help.
    (EE) Please also check the log file at "/home/cedlemo/.local/share/xorg/Xorg.1.log" for additional information.
    (EE)
    (EE) Server terminated with error (1). Closing log file.
    I remember that when I updated the X server I had had an information message about some  modifications (well I know it's my fault I didn't read it).
    Last edited by Phasme (2014-08-01 17:29:34)

    https://www.archlinux.org/news/xorg-ser … available/
    If that is any help!
    (A good tip is either follow the mailing-list, or atleast check the frontpage now and then before updates, just to be sure of any important new considerations.)
    Last edited by PReP (2014-08-01 00:31:27)

  • Print Management Console displays no printers after applying Windows Update for Windows Server 2012 R2 (KB2995388)

    After installing optional Windows Update for Windows Server 2012 R2 (KB2995388) on a print server upgraded from Windows 2012 to Windows 2012 R2, the Print Management Console wouldn't display locally shared or remotely shared printers. Another print server
    could see the printers on this server, but it couldn't see it's own. Removal of the patch resolved the issue.

    Hi,
    à
    Removal of the patch resolved the issue.
    Thanks for sharing in the forum. Your time and efforts are highly appreciated.
    On current situation, would you please let me confirm something more?
    Please check if this update rollup package (KB2995388) install successfully.
    Please run sfc /scannow command to scan all protected system files after installed this update.
    If be possible, please re-install Print Server feature on the server after installed this update. Any find?
    If any update, please feel free to let me know.
    Hope this helps.
    Best regards,
    Justin Gu

  • Webi scheduling error in BO 4.0 SP04 after security patch updates in windows server 2008 R2

    We are getting  below error in BO 4.0 SP04 Web Intelligence report scheduling after security patch updates in windows server 2008 R2
    while trying to invoke the method com.businessobjects.sdk.core.server.IServer.getServerContext() of an object returned from com.businessobjects.rebean.wi.impl.services.DocumentInstanceManagementServiceImpl.getServer(com.businessobjects.sdk.core.context.IContext, com.businessobjects.rebean.wi.model.engine.IDocumentInstance)
    We have reverted back security patch but still giving above scheduling problem in  BO 4.0 SP04 WebI and we can view and refresh report.
    Is there any way to fix the scheduling problem in BO 4.0 SP04 WebI?

    HI,
    Check SAP notes if they will help you.
    1934855 - Scheduled Web Intelligence documents fail with com.businessobjects.sdk.core.server Error
    1916443 - Scheduling Web Intellignce reports which are having long names to excel and pdf fails.
    1792921 - Unable to schedule Webi documents in Excel or PDF format

  • After attempting to update to ios 7, my iphone is stuck in recovery mode and will not connect to the itunes software server.

    After attempting to update to ios 7, my iphone is stuck in recovery mode and will not connect to the itunes software server.  I have already tried the resetting with power swich and home button and plugging into computer but it says the "iPhone software update server cannot be contacted."  I am locked out of my phone.  Does anyone have any idea how to resolve this issue and get the phone working again.  I will add that I am now trying to restore it on a different computer with a lower version of itunes, but the computer that it initially happened on had the updated itunes and gave me the same result ... nothing.  Thanks for your help in advance.

    Try going to recovery mode as described here.  You may have to try this more than once to succeed.
    Use the original iTunes that the iPhone synced with.
    http://support.apple.com/kb/HT1808

  • Error in TFS Release Management Server after Upgrading to Update 3

    Some weird and unexplained error logged in InRelease aka (Release Management) server event log after upgrading Release Management Update 1 to update 3.
    Below error started getting logged only after upgrading to Update 3.
    Even though we started the Inrelease Server and all agents but no luck.
    Any immediate help would be much helpful.
    ----------------------------------- EVENT LOG ERROR ------------------------------------
    Timestamp: 12/15/2014 10:22:18 AM
    Message: 'LambdaValue>' is not of type 'ServerActivity'. When loading this instance you must ensure that the activity with name 'LambdaValue>' implements
    'ServerActivity'.: \r\n\r\n at
    System.Activities.ActivityInstance.System.Activities.Runtime.ActivityInstanceMap.IActivityReference.Load(Activity activity, ActivityInstanceMap instanceMap) at System.Activities.Runtime.ActivityInstanceMap.InstanceList.Load(Activity activity, ActivityInstanceMap
    instanceMap) at System.Activities.Runtime.ActivityInstanceMap.LoadActivityTree(Activity rootActivity, ActivityInstance rootInstance, List1
    secondaryRootInstances, ActivityExecutor executor) at System.Activities.Runtime.ActivityExecutor.OnDeserialized(Activity workflow, WorkflowInstance workflowInstance) at System.Activities.Hosting.WorkflowInstance.InitializeCore(IDictionary2 workflowArgumentValues,
    IList1
    workflowExecutionProperties) at System.Activities.Hosting.WorkflowInstance.Initialize(Object deserializedRuntimeState, DynamicUpdateMap updateMap) at System.Activities.WorkflowApplication.LoadCore(DynamicUpdateMap updateMap, TimeoutHelper timeoutHelper, Boolean
    loadAny, IDictionary2 values) at System.Activities.WorkflowApplication.Load(Guid instanceId, TimeSpan timeout) at System.Activities.WorkflowApplication.Load(Guid instanceId) at Microsoft.TeamFoundation.Release.ServiceProcessor.Processor.WorkflowInstance.WorkflowInstanceCacheSingleton.<.cctor>b__1(WorkflowApplication
    app, Guid id) at
    Microsoft.TeamFoundation.Release.ServiceProcessor.Processor.WorkflowInstance.WorkflowInstanceCache.CreateApplicationInCache(CreateParameters createParameters, Guid id) at Microsoft.TeamFoundation.Release.ServiceProcessor.Processor.WorkflowInstance.WorkflowInstanceCache.GetInstance(CreateParameters
    createParameters, Guid id) at Microsoft.TeamFoundation.Release.ServiceProcessor.Processor.WorkflowInstance.CachedWorkflowInstanceLoader.GetInstance(DeploymentLog log, CreateParameters createParams) at Microsoft.TeamFoundation.Release.ServiceProcessor.Processor.DeploymentControllerServiceProcessor.ContinueDeploymentWithFinalComponentState(DeploymentLog
    log) at Microsoft.TeamFoundation.Release.ServiceProcessor.Processor.DeploymentControllerServiceProcessor.ContinueDeployment(String log)
    Category: General
    Priority: -1
    EventId: 0
    Severity: Error
    Title:
    Machine: **********
    Application Domain: /LM/W3SVC/1/ROOT-1-130630102320068767
    Process Id: 6628
    Process Name: C:\Windows\SysWOW64\inetsrv\w3wp.exe
    Win32 Thread Id: 1344
    Thread Name:
    Extended Properties:

    Dear Charles-Li,
    Thank you so much for your reply.
    we started using  Release Management Update 1  and it was worked perfectly fine.  then we move to upgrade existing Release Management(server,
    Database and agent) with Update 3, which we did, and its working fine  except lots of error as mentioned in above thread, are getting logged in server event log at regular interval till now(3-4 errors every second).
    even though lots of error are getting logged but we are not facing any issue while using Release Management with update 3.
    But i am bit curious to know out reason for getting those error.
    <<clean
    the cache folder and restrat Release Management and try again>>
    already tried but no luck.
    Thanks!!

  • Why is my iphone stuck on the connect to itunes after trying to update itand itunes is telling me it cannot reach the update server

    why is my iphone stuck on the connect to iTunes after trying to update it and iTunes is telling me it cannot reach the update server I have also tried the recovery instructions, iTunes wont even connect to the iTunes store and my internet connection is fine

    Come on now, someone must know how to fix this.

  • HT4623 iPhone 4s will not register with server after iOS 6 update

    My iPhone 4s will not register with server after iOS 6 update.  Does anyone has similar problem?

    Obviously since you have iOS 7 you're a developer.  As a developer, you signed a NDA with Apple not to discuss the iOS on a public forum.  Please log in to the Developer Forum using your credentials and ask for help there, lest you risk having your credentials terminated.
    Thanks, and best of luck to you.
    GDG

  • After update row level trigger help

    Hello,
    I have to update some data on a table. I need to be able to undo the update just in case something goes wrong after update is comitted. I decided to keep track of updated rows by inserting new and old values on a audit table using UPDATE ROW LEVEL trigger. Everything working fine as I wished, but here is what I am having a problem in separating each bulk of update by a unique ID... I am not talking about any primary key or autogenerated sequence key here.
    Audit table inserts values: primary key of table, old value before update, new value after update, and time stamp. Now, I want add one more field on the audit table that indentifies each bulk of UPDATE operation... I tried to use session ID, it works fine, but sometimes I may update two or three times, maybe around same time, on the same day from the same session (timestamp doesn't help me). In that case, each UPDATE operation inserts the same session ID on Audit table. I won't know which update operation populated which row of the audit table.
    Can somebody give me how I can resolve this situation. Again, this has to be inside the trigger. Is there any other IDs that I can use? I would appreciate your help. Thanks,

    Can you add a table level trigger in addition to your row level trigger? If so, you could do what you want in there. In the new trigger, formulate a unique value (such as session id || sysdate) and store it using dbms_application_info.set_module and set the MODULE to that value. Then, in your row level trigger code, execute dbms_application_info.read_module and pull the MODULE value and insert it into your audit table.
    The use of session id || sysdate should be fine (and unique) in this context. You'd just have to know at what time the UPDATE batch occurred that you wanted to undo.
    By the way, you could use LogMiner to do what I think you're trying to create with the use of your trigger code and table entries. Recall the Oracle keeps the undo and redo data for every row that is updated in the redo/archive logs. Using LogMiner, you could find and undo any change from any time. Just like your method, you'd have to know when the "bad" thing occurred in order to find the correct log and "mine" it, but all the functionality is there. There's a kinda old, but very good, article by Arup Nanda at http://www.oracle.com/technology/oramag/oracle/05-jul/o45dba.html that reviews how it all works. You may want to look at it to see if you can avoid re-inventing the wheel to meet your needs. Just a thought....
    Karen

Maybe you are looking for

  • Query to add responsibility to multiple Users.

    Hi All, I need a query to add a newly created RESPONSIBILITY to multiple Oracle Apps Users (>1000) through sql query , not through Data Loader. Any help in this regard will be highly appreciated. Please list out the tables on which the INSERT (or oth

  • Regarding down payment AZWR

    when i can ssigned AZWR condition type to pricing procedure, but in sales order how down payment amount will  trigger in sales order so please help me

  • Problem quality of sound when use the microphone

    Hello, I have big problem. I have today buy the headphone HS-1000 gaming. My problem is when use the microphone (skype or mumble) my sound in game in very very poor !!!! I have latest drivers availible on creative website You have any idea ? Sorry fo

  • What's updated in the User Guide?

    Does anyone know what was specifically updated in the User Guide? (Is there a PDF comparison tool? I do have the original Guide saved on my desktop.) iPhone User's Guide (Manual) Posted: 08/01/2007 http://manuals.info.apple.com/en/iPhoneUserGuide.pdf

  • UP3214Q A02, Calibration and Multistream problem

    Hi all, I have bought two UP 3214Q monitors. One of them is REV A02. I am using both on Mac OS X 10.10.3 using DisplayPort. I have the following problem during the calibration process. With the latest version officially available on the DELL homepage