Why my activated CTS BADI is not working ?

Hello,
I'm using the BADi  CTS_EXPORT_FEEDBACK. To do this, I used the transaction SE19, created a new implementation, add my own code and activated implementation, class and method.
The problem is that when I export an order, the code I've written is not run.
My BADI is activated and I noticed that in the transport protocol new lines appears :
DEV        Developpement
       Checks at Operating System Level         03.09.2010 16:39:00    (0) Successfully Completed
       Pre-Export Methods                       03.09.2010 16:39:06    (0) Successfully Completed
       Export                                   03.09.2010 16:39:12    (0) Successfully Completed
     Import steps not specific to transport request  
           Feedback after export or import          03.09.2010 16:39:13    (0) Successfully Completed
INFORM SAP-SYSTEM OF TP TERMINATION                                                 
Transport request   : ALL                                                           
Start: Executing method FEEDBACK_AFTER_EXPORT for business add-on CTS_EXPORT_FEEDBACK
End: Executing method FEEDBACK_AFTER_EXPORT for business add-on CTS_EXPORT_FEEDBACK 
INFORM SAP-SYSTEM OF TP TERMINATION                                                 
End date and time : 20100903163913                                                  
Ended with return code:  ===> 0 <===                                                
I tried in my code to write in DB for example but no lines are added. My code works fine when I'me testing the BADI.
So it's very strange, everything seems to be activated and running but nothings done.
Another info, the BADI is launched from the program RDDFDBCK (l.348) and when I test this part of the code (call function...) everythings working fine...
Any idea ?
Thanks in advance.
Simon

Ok, I solved the problem Myself.
If anybody has the same problem.. here is the solution.
The job RDDFDBCK is running in backgroung. I ran a DEBUG thanks to the tip in this page : [SDN|http://wihttp//wiki.sdn.sap.com/wiki/display/ABAP/ABAP%20Debugger#ABAPDebugger-HowdoIdebugrunningbackgroundprocessesorasynchronousprocesses%3F]
I created a block While l_int = 0. Endwhile. In my BADI implementation in order to make the job duration long enough to enter in debug with SM50.
Here I saw that my SELECT didn't returning lines.
Finally, I found in SM37 that the main job was launched with the mandant 000 => and my tables contained a field MDNT.
So the BADI was launched but nothing was done cause to the mandant. I just removed the field MDNT of my customs tables to solve the problem.
Simon

Similar Messages

  • Why iPhone 6 Plus sound microphone not working, but in the case of sound recordings in conversation mode work?

    Why iPhone 6 Plus sound microphone not working, but in the case of sound recordings in conversation mode work?

    Sighhhh, wasted so much time yesterday and today going around Sony centre and then carphone warehouse. They told me to come back after Easter.
    I came home, banged the phone against the wall and it worked.
    Turned out that mic was working on loud speaker and when using headphones so I thought that the secondary mic is working and the main one (placed with the speakers) isn't. So I banged that part against the wall slightly (in plastic case to prevent scratches) then put the phone underwater, waited for it to dry and now it's working. Idk how well and if it's of perfect quality again but people can hear me well.

  • Why is my apple ID password not working on ipad2 after updating to iOS6?

    Why is my apple ID password not working after upgrading to iOS6?

    Who knows?
    Settings>iTunes and App Stores>Tap your ID and sign out. Reboot your iPad.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
    Go back to the settings and sign back in again and see of it works now.
    If it doesn't work, post back with some information that might help us help you. Describe what you are doing in some detail and it might let us better understand why this is happening.

  • Why Does Live View In DW Not Work With BC Template?

    The live view using a BC template in DW CS6 shows "PAGE NOT FOUND" in the body section but the header and footer look fine. I should also point out that the index.htm page works fine, it's just the other pages that have this problem. What makes it weirder is that the site works fine in all other modes including when viewing in a normal browser, it's ONLY when in live view! I also noticed that if I delete the .htm extension in the url in the DW browser when in Live View it fixes the problem, but this requires me to do this everytime I want to switch to live view and surely is either a problem with how the BC template files are named or DW CS6 is buggy? Hopefully this is an easy one to answer??

    Hi Alex,
    Thanks for your reply, I have done a video demo at http://screencast.com/t/RsutrvoFn0xZ
    Date: Thu, 14 Feb 2013 05:49:55 -0800
    From: [email protected]
    To: [email protected]
    Subject: Why Does Live View In DW Not Work With BC Template?
        Re: Why Does Live View In DW Not Work With BC Template?
        created by Alex Pavelescu in Dreamweaver & Business Catalyst - View the full discussion
    Hi, Please provide the site url, and if you can, a video demo of the issue you're facing, using http://www.techsmith.com/jing.html, where you could also display the way you have your side setup ( Dreamweaver menu > Site > Site manager > http://screencast.com/t/GqqBk9MY4ck ) Kind Regards,Alex
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5072585#5072585
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5072585#5072585
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5072585#5072585. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Dreamweaver & Business Catalyst by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • When occurs crash recovery,why use active online redo log not archived log?

    If current redo log had archived, but it's still 'ACTIVE'. As we all know, archived log is just an archived copy of the current redo log which is still 'ACTIVE', they have the same data. But why use active online redo log not archived log for crash recovery?(I think, if crash recovery can use archived log, then whether the online redo log is 'ACTIVE' or not, it can be overwritten)
    Quote:
    Re: v$log : How redo log file can have a status ACTIVE and be already archived?
    Hemant K Chitale
    If your instance crashes, Oracle attempts Instance Recovery -- reading from the Online Redo Logs. It doesn't need ArchiveLogs for Instance Recovery.
    TanelPoder
    Whether the log is already archived or not doesn't matter here, when the instance crashes, Oracle needs some blocks from that redolog. Archivelog is just an archived copy of the redolog, so you could use either the online or achive log for the recovery, it's the same data in there (Oracle reads the log/archivelog file header when it tries to use it for recovery and validates whether it contains the changes (RBA range) in it what it needs).

    Aman.... wrote:
    John,
    Are you sure that the instance recovery (not the media recovery) would be using the archived redo logs? Since the only thing that would be lost is the isntance, there wouldn't be any archived redo log generated from the Current redo log and the previous archived redo logs, would be already checkpointed to the data file, IMHO archived redo logs won't participate in the instance recovery process. Yep, shall watch the video but tomorrow .
    Regards
    Aman....
    That's what I said. Or meant to say. If Oracle used archivelogs for instance recovery, it would not be possible to recover in noarchive log mode. So recovery relies exclusively on the online log.
    Sorry I wasted your time, I'll try to be less ambiguous in future

  • Why is my secondary click is not working on the right?

    why is my secondary click is not working on the right?

    system preferences/Trackpad/point and click
    check and uncheck secondary click or alter method
    Try SMC reset
    http://support.apple.com/kb/HT3964
    Pram Reset
    http://support.apple.com/kb/ht1379

  • Why does my printer HP 3080 not work with Mac OS X VERSION 10.7.5

    Why does my printer HP 3080 not work with Mac OS X VERSION 10.7.5. Am I missing a driver? If so where do I go to download it? thanks

    What's the full model number and name of the printer?  I can't seem to find any HP printer with the numbers 3080 in the model number.
    How are you connecting the printer to the Mac?
    I am a printer tech for HP.

  • Why does my camera connection kit not work with my ipad 1 after updating on ios 5?

    Why does my camera connection kit not work with my ipad 1 after updating on ios 5? What can I do to make it work again?

    It should. It will only respond if there's something on the card for it to respond to, so do you have pics on the card?
    And if it's messing up; try giving the iPad a restart. Hold down the sleep and home keys, past when you see hte red power down slider and until you see the silver apple. Let it reboot and try again. That can clear up any glitches on the device itself.

  • Why does Corel Suite 10 does not work with Lion OS?

    Why does Corel Suite 10 does not work with Lion OS?

    Either it's incompatible or it's a PPC-only application. PPC applications are no longer supported in Lion because there is no longer a Rosetta emulator. Contact Corel for support.

  • Why does my digital AV adapter not work with my iPad

    Why does my digital AV adapter not work with my iPad

    i was going to try it on a flat screen hdmi input, but just as i plug the apple digital av adapter in to my ipad it says "this accessory is not supported by ipad"... my itouch says the same thing... any ideas?

  • Why is my touch screen function not working when using facetime

    Why is my touch screen function not working when using facetime

    Hello megascones,
    After reviewing your post, it sounds like the screen is not responding to touch in one app. I would recommend that you read this article, it may be able to help the issue.
    If the screen on your iPhone, iPad, or iPod touch doesn't respond to touch - Apple Support
    Restart your device. If you can't restart, reset your device.
    Thanks for using Apple Support Communities.
    Have a nice day,
    Mario

  • Why the alternate audio in netflix not working?

    why the alternate audio in netflix not working? Apple Mexico

    Maybe because your TV can't decode it?
    Do you know if it's another language track in stereo or Dolby Digital 5.1?
    AC

  • I updated my browser to the last versoin of firefox (31). But I have a problem with mozilla. why tha toolbar of alexa does not work on it?

    Hello...
    I updated my browser to the last versoin of firefox (31). But I have a problem with mozilla. why tha toolbar of alexa does not work on it?

    After a quick search in the addon.mozilla.org page, it looks like that add on is still compatible with version 31. Please try to [[Re-enable add-ons that were disabled when updating Firefox]] or make a back up of the add on folder in the profile folder and reinstall the add on. [[Back up and restore information in Firefox profiles]]

  • HELP! Why does my Drag and Drop not work Completely?

    Hello! I'm working on an ActionScript 3 movie clip in Adobe Flash. In the interactive movie I want the user to create a snowman with the parts on the left side. (Picture below.)
    On the right side I have the snowman slightly visible, so the user knows where to put the parts. Most of it seems to work... but after I put on the body, hat, and arms the other pieces don't work; like the eyes, nose, mouth, etc. Why does it not work? Can someone help me?
    This is how it should look at the end, when the user complets it.
    I think I coded this correctly. But I'm not sure. Please take a look at my code and see what the problem is. Thanks!!!
    var startX:Number;
    var startY:Number;
    var counter:Number = 0;
    SNOWMAN1_mc.addEventListener(MouseEvent.MOUSE_DOWN, pickUp);
    SNOWMAN1_mc.addEventListener(MouseEvent.MOUSE_UP, dropIt);
    SNOWMAN2_mc.addEventListener(MouseEvent.MOUSE_DOWN, pickUp);
    SNOWMAN2_mc.addEventListener(MouseEvent.MOUSE_UP, dropIt);
    SNOWMAN3_mc.addEventListener(MouseEvent.MOUSE_DOWN, pickUp);
    SNOWMAN3_mc.addEventListener(MouseEvent.MOUSE_UP, dropIt);
    LEFTARM_mc.addEventListener(MouseEvent.MOUSE_DOWN, pickUp);
    LEFTARM_mc.addEventListener(MouseEvent.MOUSE_UP, dropIt);
    HAT_mc.addEventListener(MouseEvent.MOUSE_DOWN, pickUp);
    HAT_mc.addEventListener(MouseEvent.MOUSE_UP, dropIt);
    RIGHTARM_mc.addEventListener(MouseEvent.MOUSE_DOWN, pickUp);
    RIGHTARM_mc.addEventListener(MouseEvent.MOUSE_UP, dropIt);
    SCARF_mc.addEventListener(MouseEvent.MOUSE_DOWN, pickUp);
    SCARF_mc.addEventListener(MouseEvent.MOUSE_UP, dropIt);
    EYES_mc.addEventListener(MouseEvent.MOUSE_DOWN, pickUp);
    EYES_mc.addEventListener(MouseEvent.MOUSE_UP, dropIt);
    MOUTH_mc.addEventListener(MouseEvent.MOUSE_DOWN, pickUp);
    MOUTH_mc.addEventListener(MouseEvent.MOUSE_UP, dropIt);
    CARROT_mc.addEventListener(MouseEvent.MOUSE_DOWN, pickUp);
    CARROT_mc.addEventListener(MouseEvent.MOUSE_UP, dropIt);
    COLE1_mc.addEventListener(MouseEvent.MOUSE_DOWN, pickUp);
    COLE1_mc.addEventListener(MouseEvent.MOUSE_UP, dropIt);
    COLE2_mc.addEventListener(MouseEvent.MOUSE_DOWN, pickUp);
    COLE2_mc.addEventListener(MouseEvent.MOUSE_UP, dropIt);
    COLE3_mc.addEventListener(MouseEvent.MOUSE_DOWN, pickUp);
    COLE3_mc.addEventListener(MouseEvent.MOUSE_UP, dropIt);
    function pickUp(event:MouseEvent):void {
    event.target.startDrag(true);
    MYTEXTBOX.text = "";
    event.target.parent.addChild(event.target);
    startX = event.target.x;
    startY = event.target.y;
    function dropIt(event:MouseEvent):void {
    event.target.stopDrag();
    var myTargetName:String = "T" + event.target.name;
    var myTarget:DisplayObject = getChildByName(myTargetName);
    if (event.target.dropTarget != null && event.target.dropTarget.parent == myTarget){
    MYTEXTBOX.text = "Good Job!";
    event.target.removeEventListener(MouseEvent.MOUSE_DOWN, pickUp);
    event.target.removeEventListener(MouseEvent.MOUSE_UP, dropIt);
    event.target.buttonMode = false;
    event.target.x = myTarget.x;
    event.target.y = myTarget.y;
    counter++;
    } else {
    MYTEXTBOX.text = "Try Again!";
    event.target.x = startX;
    event.target.y = startY;
    if(counter == 13){
            MYTEXTBOX.text = "Congrats, you're finished!";
    SNOWMAN1_mc.buttonMode = true;
    SNOWMAN2_mc.buttonMode = true;
    SNOWMAN3_mc.buttonMode = true;
    LEFTARM_mc.buttonMode = true;
    HAT_mc.buttonMode = true;
    RIGHTARM_mc.buttonMode = true;
    SCARF_mc.buttonMode = true;
    EYES_mc.buttonMode = true;
    MOUTH_mc.buttonMode = true;
    CARROT_mc.buttonMode = true;
    COLE1_mc.buttonMode = true;
    COLE2_mc.buttonMode = true;
    COLE3_mc.buttonMode = true;

    Below is a more efficient code. I am not sure about chasing parents you do in the code (always bad idea) so this code may be buggy:
    var startX:Number;
    var startY:Number;
    var counter:Number = 0;
    // reference to currently dragged object
    var currentTarget:Sprite;
    var objectCollection:Array = [SNOWMAN1_mc, SNOWMAN2_mc, SNOWMAN3_mc, LEFTARM_mc, HAT_mc, RIGHTARM_mc, SCARF_mc, EYES_mc, MOUTH_mc, CARROT_mc, COLE1_mc, COLE2_mc, COLE3_mc];
    activateObjects();
    function activateObjects():void {
         for (var i:int = 0; i < objectCollection.length; i++) {
              currentObject = objectCollection[i] as Sprite;
              currentObject.addEventListener(MouseEvent.MOUSE_DOWN, pickUp);
              currentObject.buttonMode = true;
    function pickUp(event:MouseEvent):void {
         currentTarget = event.currentTarget as Sprite;
         currentTarget.startDrag(true);
         MYTEXTBOX.text = "";
         currentTarget.parent.addChild(currentTarget);
         startX = currentTarget.x;
         startY = currentTarget.y;
         stage.addEventListener(MouseEvent.MOUSE_UP, dropIt);
    function dropIt(event:MouseEvent):void {
         stage.removeEventListener(MouseEvent.MOUSE_UP, dropIt);
         stopDrag();
         var myTarget:DisplayObject = getChildByName("T" + currentTarget.name);
         if (currentTarget.dropTarget != null && currentTarget.dropTarget.parent == myTarget){
              MYTEXTBOX.text = "Good Job!";
              currentTarget.removeEventListener(MouseEvent.MOUSE_DOWN, pickUp);
              currentTarget.buttonMode = false;
              currentTarget.x = myTarget.x;
              currentTarget.y = myTarget.y;
              counter++;
         } else {
              MYTEXTBOX.text = "Try Again!";
              currentTarget.x = startX;
              currentTarget.y = startY;
         if (counter == 13) MYTEXTBOX.text = "Congrats, you're finished!";
         currentTarget = null;

  • Why isnt my imessage and facetime not working?

    why is my imessage and facetime saying "waiting for activation"???

    Hi there,
    both services send a silent SMS (one that is not listed anywhere on your device) containing a configuration request to an Apple server. This server then responds with the needed configuration details. It can take some (from a few minutes to several hours) time for this answer to come. Also if for whatever reason text send/receive is not working properly, iOS can get stuck on the "waiting for activation" message.
    Hope this helps,
    Chris

Maybe you are looking for

  • New Mac Book and Photoshop Elements

    My daughter just bought a new MacBook (Mac OS X 10.5.4 2.4 Ghz Intel Core 2 Duo 2 GB 667 MHz DDR2 SDRAM) and tried to install my Photoshop Elements software onto it. My Photoshop is kind of old (Elements 2.0), but I use it on my Mac all the time with

  • Restoring itunes from all hard drive

    I apologise if this has been asked before of is somewere else, but i couldnt find it. I basicaly got a new computer and have my old hard drive now plugged into the new one so cant run the old itunes (so i cant consolodate or backup or anything like t

  • Different page sizes

    Is there any way possible to create a document that has pages of different sizes (InDesign CS3)? I'm creating a template for a large roll fold document (25.375 x 11) and want one page in each spread to be 8.375 instead of 8.5. Thanks, Dave

  • Order of Faders, RAM use of EXS, BFD 1.5 v BFD 2

    Hi All - Couple things. 1. I cant seem to re-order the channel strips in the mixer window. Tried all keys, positions etc. Anyone know how to simply move them around? 2. I read that the new EXS allows you to allocate more RAM, e.g. outside Logic. Is t

  • SAPOSS  Test connection

    Dear All, in SM59 : RFC  Connection Test  : for SAPOSS throws an Return Code  -12 Please guide to resolve the issue. Regards SNB.