[SOLVED ]Deathspank duplicates controller

Hi,
I try to play DeathSpank over Steam/Wine and when I connect my XBox 360 Controller the game thinks that I have 2 controllers because the one controller is available over
  /dev/input/js0
  /dev/input/event16
Is there a way to make the controller only available over one location or hide one of them for the game?
The game has a very annoying on screen message who wants me to activate the second controller.
I tried xpad and xboxdrv and both seem to have the same behaviour.
Greetings
Debellator
EDIT: I found an easy solution. When I go into the Control Panel in wine I see the both controller under Game controllers and can deactivate one of them.
Last edited by debellator (2013-08-10 16:15:23)

Eh ... ok, can we go back to the start to avoid the big XY problem here.
You say your goal is to compare to arrays - and any language that can do it will be fine.  But then the only description of what you really want is presenting a potential solution in bash.  Then as we move along we find that these arrays are filled from files.
So can you please describe what you actually want to acheive?
I will start by saying that bash will most likely not be good for such large arrays.  It could do it ... but it shouldn't.
If you have the list in a file, why not just `sort -u`?
EDIT: I just reread your bash version - no wonder it takes hours: for all that weird variable processing, you are repeating the exact same processing on every single array element over 15 thousand times: you extract Width and Height from each element, then for each element you extract W and H from every element - so you end up extracting width and height from each array element one more time than there are elements in the array!  Why on earth are you doing that?  Preprocess every array element once into the parts you care about:
Rule of Representation: Fold knowledge into data so program logic can be stupid and robust.
EDIT: as for awk and sed slowing down the script "very much" it's because you are using them completely wrong.  Don't launch a new awk subprocess for each variable of interest for each element of the array for every other element of the array (which would mean you're launching 1500*1500*2 subprocesses with awk).  Just use one awk process to preprocess the input into a format that can be easily compared.  Then go through that input only once.
Last edited by Trilby (2014-07-26 20:53:08)

Similar Messages

  • Duplicate Inbox after trying to solve Gmail duplicate sent messages..​.

    .. was trying to solve the problem of duplicate sent messages with Gmail email on the BB Curve 8350. In following instructions from this message board, I instead ended up with duplicate INBOXES. Now, when I unregister and re-register my gmail account on my phone, it creates a new icon. This has resulted in my original problem being multiplied by four. What I mean is, now I have duplicate sent messages in TWO DIFFERENT INBOXES. Originally, my gmail account went to the main Inbox on the phone. I cannot delete the main message system.. HELP! 

    It seems I found a bug!
    I now understand what happens, although don't know the reason. The symptoms are caused by the "Auto-Expunge" feature on Gmail. I disabled it and fooled around the options and this is what I discovered:
    When I set "the message will be archived when disappear from the last visible folder", the message is archived whenever I try to move the sent messages to any other folder than the "Sent" one;
    When I set "move the message to trash when disappear from the last visible folder", the message is deleted and moved to trash whenever I try to move it from the "Sent" folder to any other.
    In other words, for some awkward reason, Lion's Apple Mail is not handling folder-to-folder operations and Gmail thinks that the messages has been removed from the last visible folder and does with it whatever it was instructed to, which is either to archive or move to trash.
    Since by disabling Auto-Expunge Gmail waits for the client to take the action, it seems that Apple Mail is sending the wrong command or sending it on the wrong timing.
    I wonder is Apple is aware of this.
    Any suggestions?

  • [Solved]logroate duplicate entry error

    Every night the cron daemon ones and one of its tasks is to run logroate (by default). I keep getting these errors in my inbox. error: samba.pacsave:1 duplicate log entry for /var/log/samba/log.0.0.0.0 I've tried deleting all the samba log files and still no aval. So any help would be great!
    Thanks!
    Last edited by mezoko (2007-08-23 10:48:52)

    I think the problem is that you have in /etc/logrotate.d two files (samba and samba.pacsave) which have the same entry. Make a diff to see which one you want to keep and delete the other one. This should solves it.

  • [solved]PS3 Sixaxis Controller USB only

    There are plenty of software and howtos to use the PS3 sixaxis controller with bluetooth, but I don't have bluetooth on my desktop.   
    Dmesg shows that the controller is registering:
    [100186.397697] usb 7-5: new full-speed USB device number 4 using ohci_hcd
    [100186.659669] sony 0003:054C:0268.0007: Fixing up Sony Sixaxis report descriptor
    [100186.703911] input: Sony PLAYSTATION(R)3 Controller as /devices/pci0000:00/0000:00:13.0/usb7/7-5/7-5:1.0/input/input7
    [100186.704469] sony 0003:054C:0268.0007: input,hiddev0,hidraw4: USB HID v1.11 Joystick [Sony PLAYSTATION(R)3 Controller] on usb-0000:00:13.0-5/input0
    I think I have the appropriate modules loaded:
    lsmod | grep -i usb
    usb_storage 47511 0
    usblp 13010 0
    usbhid 41820 1 hid_logitech_dj
    hid 87322 4 hid_sony,hid_generic,usbhid,hid_logitech_dj
    scsi_mod 131599 4 usb_storage,libata,sd_mod,sr_mod
    usbcore 175663 8 usblp,usb_storage,hid_sony,ohci_hcd,ehci_hcd,ehci_pci,usbhid,xhci_hcd
    usb_common 954 1 usbcore
    $ lsmod | grep -i joydev
    joydev 9695 0
    When I cat /dev/input/js0, I don't get the cascade of chaotic characters I expect when I hit the buttons and move the axes.  Instead, I get just two of those strange characters you get when you cat a binary file, and they do not change when I play with the controller.  I installed jstest and jstest-gtk, and messed around with them.  jstest-gtk knows that I have a sixaxis controller plugged in, but I see no evidence that it is receiving input from the controller when I mess around with it, including when I use the "calibrate" feature;  all that happens is that once I complete the "wizard", all values go to 0.  The reason I am doing this is of course steam, and Steam Big Picture does not respond to the controller either.  jscal -c /dev/input/js0  shows no evidence of receiving input from the controller.   Is there some kernel module that I'm missing?  Googling sixaxis kernel module doesn't reveal anything to me. 
    Thanks in advance.
    Last edited by Convergence (2013-05-11 20:53:10)

    I think I solved it by hitting the "PS" button.

  • Anyone got this problem solved? Duplicate titles on iPad's iPod?

    Dear All,
    Hope all reading are well! My problem seems to clear itself up - by itself -sometimes....
    Problem is after syncing up then disconnecting iPad, duplicates of songs are seen. You know on the display of the iPod's usual display of your tunes.
    Sometimes after resyncing the dupes go away or more are duplicated of different tunes!
    Apple Support does not offer any advise. Please comment. These dupes bother me.
    Thank you for your time and advice.
    Sincerely,
    MacOwner

    Dear OrangeMarlin,
    Much thanks in your reply. I must be more correct in describing my problem. I get these dupes but have no duplicates of anykind in my iTunes library. This is what is confusing me. The duplicated titles are right after one another and will play consecutively if I permit them.
    I was talked through (by Apple Support) on finding duplicated songs but this did not solve anything because there were no duplicated songs/tunes in the library.
    Thanks again for your input!
    Much appreciated!
    Sincerely,
    MacOwner

  • [solved] alsa: duplicate front signal

    Hi,
    I got a new sound device today, a Terratec Aureon Sky 5.1.
    The driver of my old device offerd me a switch called "duplicate front", which made it possible to plug a second amplifier to the card's rear output and get the same signal as from the front output. As the new device doesn't offer this switch in alsamixer, is there another way to do this?
    Another (worse) option would be to have both devices installed, but I can't get them to work simoultanously, I only get a signal on the default card (device 0). How can I make them work parallel?
    Thanks, RhahkJin
    Last edited by RhahkJin (2008-10-11 11:56:25)

    Solved, here is the ~/.asoundrc that mada it work (found in gentoo wiki):
    pcm.!dmix {
    type dmix
    ipc_key 1024
    slave {
    pcm "hw:0,0"
    channels 6
    pcm.!default {
    type plug
    slave.pcm "dmix"
    slave.channels 6
    route_policy duplicate

  • [solved] No DJ controller found on Mixx, still 100% compatible

    Hello!
    I've bought this Reloop Digital Jockey IE 2 for usinig it as an audio and controller device in conjunction with Mixxx.
    Tried on my parent's Ubuntu desktop everything works out of the box, but on my arch notebook setup only the sound card is working. No controllers available.
    Could be a permission problem, so I added myself to users, audio and uucp groups; but nothing.
    Maybe writing an udev rule.. i followed the rule written on the Mixxx community faq and only the mouse became available as a controller.
    So no idea about what to do. If someone please could help me, it would be VERY appreciated.
    Cheers!
    alex
    FIX:
    modprobe snd-seq-midi
    Last edited by josephk (2015-05-28 15:02:25)

    Hi Karol,
    Thank you for the suggestion. I read the wiki Nvidia#No_screens_found_on_a_laptop.2FNVIDIA_Optimus .
    It says "On a laptop, if the NVIDIA driver cannot find any screens, you may have an NVIDIA Optimus setup : an Intel chipset connected to the screen and the video outputs, and a NVIDIA". This seems to be the case for my latop.
    The wiki suggests three options to get around the problem:
    1) NVIDIA drivers now offer Optimus support since 319.12 Beta [[3]] with kernels above and including 3.9.
    2) Another solution is to install the Intel driver to handle the screens
    3) Enter the BIOS and changed the default graphics setting from 'Optimus' to 'Discrete' and the install NVIDIA drivers
    I tried them all:
    1) I had NVIDIA driver version 337 installed, but I don't know how to turn on Optimus support
    3) I check my bios settings, but there is no such option
    2) I removed the nvidia drivers and then installed intel drivers. I removed /etc/x11/xorg.conf
    startx now find screens. I guess there is no 2d or 3d acceleration, but it works
    Thank you
    Sjoerd

  • Strange User Account behaviour at Log In - not solved re duplicate thread

    This morning I cold booted my laptop and strangely after signing in it declared that it was "Preparing Windows." I was then taken to a desktop with empty Documents etc. folders. Panicking I went to the User Accounts and found all my folders and data intact but not accessible through the "account" I had been forced to log in to. Licensed software that was not installed as multiple user wouldn't show as licensed so I must assume that some sort of default new profile had been created. However, in User Accounts there didn't seem to be anything new. 
    In addition to my account and that of my wife there were three other folders that I am sure have always been there. (1) Default (with user empty subfolders) (2) An alphanumeric (temp?) folder ... empty except for Appdata / Local / Temp ... itself empty (3) UpdatusUser - used by Nvidia to update the graphics driver (with user empty subfolders) (4) Public - usual subfolders. 
    I solved the problem by logging out and logging back in with my usual login credentials. (Switching user didn't work).
    What happened please and how can I prevent it happening again?

    This morning I cold booted my laptop and strangely after signing in it declared that it was "Preparing Windows." I was then taken to a desktop with empty Documents etc. folders. Panicking I went to the User Accounts and found all my folders and data intact but not accessible through the "account" I had been forced to log in to. Licensed software that was not installed as multiple user wouldn't show as licensed so I must assume that some sort of default new profile had been created. However, in User Accounts there didn't seem to be anything new. 
    In addition to my account and that of my wife there were three other folders that I am sure have always been there. (1) Default (with user empty subfolders) (2) An alphanumeric (temp?) folder ... empty except for Appdata / Local / Temp ... itself empty (3) UpdatusUser - used by Nvidia to update the graphics driver (with user empty subfolders) (4) Public - usual subfolders. 
    I solved the problem by logging out and logging back in with my usual login credentials. (Switching user didn't work).
    What happened please and how can I prevent it happening again?

  • [SOLVED] Detect duplicate songs

    Hello,
    what's a good program to detect duplicates of mp3s that I could easily get with pacman -S ?
    Last edited by willxtreme (2010-01-10 19:49:17)

    Thank you it's wonderful!
    Edit: it did detect some duplicates
    The only problem is it didn't detect them all
    I had the songs both 5.1Mb same lenght who weren't detected:
    Tibob - 77x7 Fwa.mp3
    77x7 Fwa.mp3
    Last edited by willxtreme (2010-01-10 19:45:30)

  • [solved] Xbox 360 Controller (wired) as mouse

    So I'm mouseless but have an unused Xbox 360 Controller. How can I get it to function as a mouse?
    ls /dev/input gives:
    by-id by-path event0 event1 event2 event3 event4 event5 js0 mice mouse0
    and dmesg gives:
    usb 3-1: new full speed USB device using ohci_hcd and address 2
    input: Microsoft X-Box 360 pad as /devices/pci0000:00/0000:00:1c.1/usb3/3-1/3-1:1.0/input/input5
    usbcore: registered new interface driver xpad
    xpad: X-Box pad driver
    I've run the usual gamut of google/forum searches to no avail. Seems that most people who do have their controllers functioning as a mouse are looking for ways to disable the behavior. As always, thanks for the help.
    -jd
    Update: Found qjoypad which does the trick
    Last edited by ntness (2010-04-26 04:54:09)

    So I'm mouseless but have an unused Xbox 360 Controller. How can I get it to function as a mouse?
    ls /dev/input gives:
    by-id by-path event0 event1 event2 event3 event4 event5 js0 mice mouse0
    and dmesg gives:
    usb 3-1: new full speed USB device using ohci_hcd and address 2
    input: Microsoft X-Box 360 pad as /devices/pci0000:00/0000:00:1c.1/usb3/3-1/3-1:1.0/input/input5
    usbcore: registered new interface driver xpad
    xpad: X-Box pad driver
    I've run the usual gamut of google/forum searches to no avail. Seems that most people who do have their controllers functioning as a mouse are looking for ways to disable the behavior. As always, thanks for the help.
    -jd
    Update: Found qjoypad which does the trick
    Last edited by ntness (2010-04-26 04:54:09)

  • [SOLVED] Xbox 360 controller joytech neo-se

    Hello, I need his help please. Someone can make work like the control joytech neo-se, I have understood that the control of xbox 360 this one supported of native form from the kernel 2.6.24 but for any reason to it my me does not work, the led does not stop blinking this where the symbol of xbox and it does not recognize his button / sticks. Someone can to indicate me that it is what I have to configure or modify in order that it works?
    Last edited by Cory (2009-10-09 18:34:36)

    I have made it, I'm very happy with myself. It's not perfect but should work. It only builds and installs the xboxdrv binary, the other featured tools are not touched. Any improvements are welcomed.
    The final dilemma is what category to submit in the AUR. It's not a module or a game, technically not a lib. There needs to be a category for generic utilities.
    PKGBUILD
    # Contributor: Andrew Mellor (quantumphaze)
    pkgname=xboxdrv
    pkgver=0.4.9
    pkgrel=1
    pkgdesc="Userspace Xbox 360 controller driver, alternative to xpad module."
    url="http://pingus.seul.org/~grumbel/xboxdrv/"
    arch=('i686' 'x86_64')
    license=('GPL')
    depends=('libusb' 'dbus-python')
    makedepends=('boost' 'scons')
    source=("http://pingus.seul.org/~grumbel/xboxdrv/xboxdrv-linux-${pkgver}.tar.bz2"
    "xbox_controller.diff")
    md5sums=('f0a552856825f65504e55f3fa4fdc6fb'
    '99b95bb2dae91e12dd07a735214ca657')
    build() {
    cd ${srcdir}/xboxdrv-linux-${pkgver}
    touch got-this-far
    patch -Np1 -i ${srcdir}/xbox_controller.diff
    scons
    mkdir -p ${pkgdir}/usr/bin/
    install -m755 ${srcdir}/xboxdrv-linux-${pkgver}/xboxdrv ${pkgdir}/usr/bin/xboxdrv
    xbox_controller.diff
    --- xboxdrv-linux-0.4.9/src/xbox_controller.hpp 2009-11-02 00:00:25.000000000 +200
    +++ xboxdrv-linux-0.4.9/src/xbox_controller.hpp 2009-11-02 00:30:25.000000000 +200
    @@ -20,6 +20,7 @@
    #define HEADER_XBOX_CONTROLLER_HPP
    #include <usb.h>
    +#include <stdint.h>
    #include "xbox_generic_controller.hpp"
    struct XPadDevice;
    Please test it and let me know how it works before I submit it.

  • [SOLVED] Activate bluetooth controller on boot

    I've recently finished setting up my computer for server and htpc use. Everything is working fine except bluetooth support. As of now, bluetooth pairing, connection and auto-connection is working fine, as soon as the adapter has been turned on (by user intervention over ssh). For some odd reason though, the bluetooth adapter is always turned off on boot. I have bluez 5.7 and bluez-utils installed; therefore I can either do
    bluetoothctl
    bluetooth> power on
    via ssh, or
    hciconfig hci0 up
    After turning bluetooth on with these commands, everything is working fine. I couldn't manage to autorun these commands on boot (with root permissions). Already tried to write a service file, which didn't work. I also kinda got it semi-working with connman installed and autostarted at boot. The problem with connman is, that it correctly activates the controller on boot, but does then go to sleep / power saving mode after some time and also gives me some errors (which are irrelevant for this issue, but still not good) in /var/log/errors.log. So, I just uninstalled connman, because it has no use for me and I want to keep everything as simple and lightweight as possible. I already have all the tools to start up, pair and connect my bluetooth devices, I just need a way to run the commands above at boot.
    rfkill list
    tells me, that everything is unblocked. The controller itself is recognized with "lsusb" command, but the link is down at boottime (via "hciconfig" command). Is a udev rule an option for this kind of task or do I need to write a service file (in which I failed until now)?
    Any help is welcome!
    Last edited by tolga9009 (2013-07-07 22:11:33)

    You may as well try _native_ method of bluez5 via dbus, something like
    dbus-send --system --type=method_call --print-reply=literal --dest=org.bluez /org/bluez/hci0 org.freedesktop.DBus.Properties.Set string:org.bluez.Adapter1 string:Powered variant:boolean:true
    It doesn't really mater how you will synchronize it but most proper way I think would have been through systemd, since udev reacts to hardware interface (i.e. rfkill enabled hardware and kernel layer created interface) while it is bluetoothd who is expected to make all the proper initialization. But systemd lacks start/stop service hooks (like in upstart) so it renders it pretty useless (or inconvenient in the least) in tasks like tracking service/system state.
    So either adding ENV{SYSTEMD_WANTS}+=bluetooth to udev rule or create a pure systemd service/target which will be dependent on device and service and will do proper initialization/checks - smth like
    [Unit]
    Description=Bluetooth power keeper
    Requires=sys-subsystem-bluetooth-devices-%i.device bluetooth.service
    PartOf=sys-subsystem-bluetooth-devices-%i.device
    After=bluetooth.service sys-subsystem-bluetooth-devices-%i.device suspend.target
    Conflicts=shutdown.target systemd-sleep.service
    [Service]
    Type=oneshot
    RemainAfterExit=yes
    ExecStart=/usr/bin/dbus-send --system --type=method_call --dest=org.bluez /org/bluez/%I org.freedesktop.DBus.Properties.Set string:org.bluez.Adapter1 string:Powered variant:boolean:true
    ExecStop=/usr/bin/dbus-send --system --type=method_call --dest=org.bluez /org/bluez/%I org.freedesktop.DBus.Properties.Set string:org.bluez.Adapter1 string:Powered variant:boolean:false
    [Install]
    WantedBy=bluetooth.target
    But most probably you would want to reset hci state after sleep - otherwise bluez5 just becomes useless memory stuffing. And systemd is useless for that, unless you write a separate service for each state transition with own weird set of targets... *sigh* So back to the old school - pm-utils/acpid hacks... was it worth it?

  • SM Bus Controller Win 8.1 Driver Required

    Had a  240 Gig SSD installed on my new HP Pavilion
    Windows had to be reinstalled from scratch & I now need a SM Bus Controller Driver
    Tried loading the Intel drivers from the HP Driver site
    It  loaded the missing PCI Simple Communications Controller Driver but not SM Bus Driver
    Any suggestions as where to go next
    Thanks
    Ps Not exactly sure if this driver is needed on Desktop computers
    This question was solved.
    View Solution.

    Old Man Regents Professor
    Managed to get the 8.1 SM Bus Controller Driver Installed
    I tried the AMD chipset earlier without success
    Re installed both Intel driver downloads again with no joy
    Finally tried to load drivers manually Sp 67245 by pointing to the intel saved directory again
    This time the driver loaded altough I tried it last night ( another HP post mentioned doing something very similar)
    I should note I am dual booting Win7 &  8.1
    When i started the computer was missing  2 drivers  PCI Simple Communications ControllerBCM20702A0 & SM Bus Contoller on both operating systems
    For WIn7 IntelChipset Driver SP 65025.exe solved the Sm Controller Driver issue & SP 69680.exe Broadcom 2070/ 20702 Bluetooth Driver install the BCM20702A0 driver
    For Win8.1 manually pointing to the Intel Sp 67245 directory on CWSETUP\SP245 loaded resolved the SM Bus Controller Driver
     WIn 7 drivers installed without any issues such as above

  • Duplicate photos in iphoto...how to remove?

    i'm trying to backup my pictures by dragging a selection of photos into my burn folder. but, i'm having two problems that seem related. it won't let me copy any pics/mvi's that i have multiple copies of and i seem to have a kajillion pics that have 3 copies for some reason. it's random which pics are multipled and they're scatttered throughout my library. it makes it very tedious to click each photo separately.
    any ideas why i have these multiples and any painless ways to get rid of them?
    thanks!

    Using the copy and paste is the same as selecting those thumbnails in iPhoto and dragging to the Burn folder.
    As far as having multiple copies if you don't see the multiple copies in iPhoto but only in the Finder those are not duplicate but required versions of the original file, a thumbnail and a modified if the file has been edited.
    Another method would be to select either an Event or album of photos and export them to a folder on the Desktop using Original as the format in the Export window. Rename that folder for the Event name and drag it to the Burn folder. Do that for each event. That will assure you keep any similarly named image files separate and in their own event named folder.
    To get around having the camera name the files with the same name go to the camera's menu and look for the option to not reset the image numbering each time. That will solve the duplicate file name problem.
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto (iPhoto.Library for iPhoto 5 and earlier versions) database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger or later), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. There are versions that are compatible with iPhoto 5, 6, 7 and 8 libraries and Tiger and Leopard. Just put the application in the Dock and click on it whenever you want to backup the dB file. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.
    NOTE: The new rebuild option in iPhoto 09 (v. 8.0.2), Rebuild the iPhoto Library Database from automatic backup" makes this tip obsolete.

  • Inbound RFC Data / Duplicate Note Texts

    Hello,
    Question: Is there a way for me to view the contents which have already been passed to an RFC in CRM (5.0) from Portal?
    Background:  We are experiencing an issue with duplicate note texts when displaying opportunity notes in Portal.  Note texts are being populated by an RFC call which in turn calls BAPI_BUSPROCESSND_CHANGEMULTI.  We are not able to recreate the issue in any test enviorment.  We are only able to identify the issue after it has already occurred in PRD on almost a daily basis. 
    As this appears to be a random occurance, I am hoping to compare the data passed to the RFC for a successful & errored example to identify any discrepancies in the data passed to the RFC.
    One thing I have noticed is that the duplicate texts appear to be occuring when a date/time stamp is not included at then end of the TEXT field of STXH, but have not been able to determine why a date/time stamp is added in one instance and not another.
    Any input would be greatly appreciated.  Thanks!

    Hi Mats,
    I have the same problem. As I work-around, I added the following code to the transfer routine for 0TCTPRCSVAR in InfoSource 0TCTPRCSVAR_TEXT.
      DATA: l_str TYPE sobj_name.
      l_str = TRAN_STRUCTURE-objnm.
    * Begin Note 1134138 3/23/2008
    *  IF ( STRLEN( l_str )  > 30 ).
      IF ( STRLEN( l_str )  > 10 ).
    *  End  Note 1134138
        RESULT = TRAN_STRUCTURE-objnm+10(30).
      ELSE.
    * Multiple records with process variant type = LOADING and
    * blank process variant name caused duplicate record errors
    * during load. This code prevents the duplicate records by
    * forcing a delay and plugging a time stamp into the process
    * variant name.
        IF TRAN_STRUCTURE-TXTSH IS INITIAL.
          CALL FUNCTION 'RFC_PING_AND_WAIT'
            EXPORTING
              SECONDS      = 2.
          CONCATENATE 'DUP_RECORD_ERROR_' sy-timlo
            INTO RESULT.
        ENDIF.
      ENDIF.
    * returncode <> 0 means skip this record
      RETURNCODE = 0.
    * abort <> 0 means skip whole data package !!!
      ABORT = 0.
    It's not very elegant, but it seems to solve the duplicate record error. Periodically, I delete the 0TCTPRCSVAR master data that contains string "DUP_RECORD_ERROR.'
    Isn't SAP grand!!
    Hope this helps.
    Regards,
    D&C

Maybe you are looking for

  • How do I transfer my iTunes to a 'new' computer using my iPad?

    It's not really a new computer, but the same one I've had for a while now. I had gotten a virus on my computer and took it to IT. Long story short, they had to wipe my hard drive, because of how deep the virus got in and I'm basically starting over f

  • Solaris 8 patching

    Hello, I have recently brought up my two old solaris 8 boxes and want to bring them all up to data, but it seems that i can no longer get the patch files as i don't have the Sun Contract Number? I have logged into https://support.oracle.com/CSP/ui/fl

  • PROXY

    Explain me about JAVA proxy and ABAP proxy

  • Hosting a Website made in Adobe Muse

    Hello! So, I'm designing my first website for a client and I have some doubts. I want to finish the website and then send the files to him so he can host it with some third party program (he doesn't use Muse) Is that possible? If so, what files shoul

  • What are the required permissions for Portal?

    Assuming it's not top secret info, can anyone provide a link to, or list the permission requirements of OID with regard to running Portal? We are having serious headaches with permissions and would like some reference to the exact requirements. Thank