Commit error in a BADI

Hi Everyone,
I am using Workorder_update BADI. The code i am writing is
         if wa_afvgb-ltxa1 NE wa_aafvc-ltxa1.
            MESSAGE e000(ZAN) with text-001.
          else.
            message e000(ZAN) with text-002.
          endif.
The problem is when I run IW32 trasaction and when I was suppossed to get this error, I am getting an error. It works fine till then, but then it gives me a dump saying "COMMIT work should not be interrupted". Can anyone please help me out here. I want the error to happen, but do not want the dump.
Thanks.
Kumar.

Uwe,
Yes, you are right. I have noticed that in the documentation now. But the problem is in BADI "WORKORDER_UPDATE", I am using instance "BEFORE_UPDATE" as it has got all the data which I need. But it does not have any exceptions. There is an exception in instance "AT_SAVE" but it is being called before the instance which I am using. I need to give an error message from this BADI. Can you please help me out.
Thanks
Kumar.

Similar Messages

  • Just upgraded to Lion an am discovering that I cannot send email photos from within iPhoto. Error message says bad Internet connection or server not working, when that's not the case. Never happened in Snow Leopard! Help!!!

    Just upgraded to Lion an am discovering that I cannot send email photos from within iPhoto. Error message says bad Internet connection or server not working, when that's not the case. Never happened in Snow Leopard! Help!!!

    what email service - Yahoo mail have been acting up lately
    you can try setting Mail as your email client - it resolves this pfoblem for some people
    LN

  • Blue screen after Error 37: a bad filename or volume was encountered

    I get a PAGEFAULT_IN_NONPAGEDAREA blue screen after I encounter multiple Error 37: a bad filename or volume was encountered.
    Anyone encounter this issue and how to you send info to apple for them to fix their buggy code?
    Their support of code which will run bug-free on vista seems to be lacking (I understand there are two parties to this marriage).
    Help anyone?

    I noticed a few days ago that (at least on my box) Quicktime seems to have "issues" with >31 characters anywhere in the file path.
    Is it possible that you have some folder along the way to your movie that has more than 31 charaters?
    Shorten if necessary and see if that works.
    dual 2.7 G5   Mac OS X (10.4.5)  

  • "Comm Error" message when connecting to car stereo

    When connecting my 80G IPod to the port in my car, the IPod screen rolls horizontally, then says "OK to disconnect", and the stereo displays the "Comm Error" message. I was able to connect to the stereo before but don't know what happened to cause this. Re-setting the IPod did not resolve the problem. Has anyone else seen this? Please help!
    5th Generation IPod   Windows XP  

    I’ve got a 30gb ipod doing the same thing. I know it’s not the car as my friends nano works fine on it. Have you have any success?

  • Commit Work in MIGO BADI

    Hi,
    Can we use COMMIT WORK statement in BADI?  Hope its not advisable to use it.
    I am using MB_MIGO_BADI~POST_DOCUMENT  to update the GR Number in a custom table.
    Sometimes the GR number is not getting updated in the custom table.
    The modify statement given below does not updates the table sometime.
    IF WA_ZMM_GATE_ENTRY-GR_NUMBER IS INITIAL.
          WA_ZMM_GATE_ENTRY-REFERENCE = GS_EXDATA_HEADER-REFERENCE.
          WA_ZMM_GATE_ENTRY-REFWERKS  = GS_EXDATA_HEADER-WERKS.
          WA_ZMM_GATE_ENTRY-GR_NUMBER = IS_MKPF-MBLNR.
         WA_ZMM_GATE_ENTRY-GR_YEAR   = IS_MKPF-MJAHR.
         MODIFY ZMM_GATE_ENTRY FROM WA_ZMM_GATE_ENTRY .u201Dupdating the Z-table
    ELSE.
          MESSAGE E901(ZMM) WITH GS_EXDATA_HEADER-GATEENTRYNO WA_ZMM_GATE_ENTRY-GR_NUMBER.
        ENDIF.
    Is there any other option to replace the commit work in BADI?
    Plz suggest...
    Regards,
    P.S.Chitra
    Edited by: Chitra Karthik on Aug 10, 2010 11:19 AM

    Hi,
    I don't think even you do commit work it makes much difference and also Commit work also we can eliminate in the code.one more option is selecting the data from table to check whether it is updated or not.
    IF WA_ZMM_GATE_ENTRY-GR_NUMBER IS INITIAL.
          WA_ZMM_GATE_ENTRY-REFERENCE = GS_EXDATA_HEADER-REFERENCE.
          WA_ZMM_GATE_ENTRY-REFWERKS  = GS_EXDATA_HEADER-WERKS.
          WA_ZMM_GATE_ENTRY-GR_NUMBER = IS_MKPF-MBLNR.
         WA_ZMM_GATE_ENTRY-GR_YEAR   = IS_MKPF-MJAHR.
         MODIFY ZMM_GATE_ENTRY FROM WA_ZMM_GATE_ENTRY .u201Dupdating the Z-table
      IF sy-subrc eq 0.
      do.
    select gr_number from ZMM_GATE_ENTRY where reference = GS_EXDATA_HEADER-REFERENCE.
    if sy-subrc eq 0 and if gr_number is not initial. (record Found)-> means updated.
    exit.
    else.
    MODIFY ZMM_GATE_ENTRY FROM WA_ZMM_GATE_ENTRY.
    endif.
    enddo.
    endif.
    ELSE.
          MESSAGE E901(ZMM) WITH GS_EXDATA_HEADER-GATEENTRYNO WA_ZMM_GATE_ENTRY-GR_NUMBER.
        ENDIF.
    Regards,
    Nagaraj

  • Epson Artisan 810 comm error

    When scanning with the 810 from its control panel for "scan to email",as soon as I push on the scan to email via USB on the panel it gives a comm error and says to check if computer is connected.
    This is the second 810 to do the same thing. Unistalled/reinstalled drivers, no luck. The scan from the computer to the scanner works OK without error but want to use the control panel for fast and easy scan to emails.
    Tried different usb cable, same results.
    Really am stumped. Epson tech blames IMAC software, Apple support says its in the all in one pntr/scanner. Epson says they have not heard of this problem before.
    Am using new Snow Leopard on 1 year old computer

    I have the same problem. Everything works fine, except that from the printer console, the only option for scan to Email/PDF/PC only gives the option for USB Connection (which is inconvenient for me to use). My MacBook Pro does not show up in the list like the photos in the instructions.
    I tried installing "Drivers and Utilities Combo Package - Network" dated 1/04/10, from Epson's site, file epson13616.dmg, to no avail.
    The Artisan 810 is connected by ethernet to my Time Capsule (internal network) and the MBP is connected by wireless to the same network. It will scan fine from the application on the Mac, but not from the unit's console. Really disappointing, since instead of putting something on the printer, and punching a couple buttons, you have to put it on there, go to the computer (on the other side of the room for me), pull up the software, scan, then go back to the printer to remove the item (or flip the page!)

  • HTTP Error Code 400 Bad Request error when connecting to SQL db

    I realized I should move this to a new post since it was a new question...
    I am trying to connect to a distributed SQL database from CS4.
    Let me show you how the connection is built... and then maybe someone can tell me what I am doing wrong...
    First I go to the database panel:
    I click on the '+' sign to add an MS SQL Server Connection:
    That brings up the SQL Server Connection window where I am supposed to replace the placeholders with my server values:
    After I enter the correct values and click test, I get the error (HTTP Error Code 400 Bad Request)... These values work from SQL Server Management Studio on the same PC.
    Just as a side note... I tried one other thing that makes me think SOMETHING is wrong here:
    If I choose as OLE DB Connection instead... and click the 'Build...' button and then enter the values in the Data Link Properties Window (OLE DB Provider for SQL Server, and then the connection info on the Connection tab) and then click Test Connection on the Data Link Properties window, it says my test succeeded. Then I click 'ok' which takes me back to the OLE DB Connection windows with the connection string pre-filled, and click test on THAT window and I get the same HTTP Error Code 400 Bad Request error...
    Hopefully that is enough detail that someone can can tell me what I have broken?
    Thanks,
    Mike

    You will get a better response if you ask this question on the DW Application Dev forum. This forum mainly covers client-side issues.

  • After Effects Error: Make Movie - Bad Parameter (-50).

    After Effects Error: Make Movie - Bad Parameter (-50).
    (44 & 36)
    This error occurs suddendly - i have no idea why, so i reinstalled my PC (Vista) and it worked one time and then same error appeared again.
    I want to make a movie with the renderlist, Quicktime - normal settings, Animation, but it does not work. All other options won't work, such as Mpeg4 and so on.
    my Quicktime version is 7.1.3
    Best regards
    Matthias

    AE Professional 8.0.1.8
    no third party plugins
    I tried to render two different projects, the first one with animated layers and movieclips only , the other one with a camera, light and 3D.
    render settings:
    Quicktime, RGB, 16,7 Mill. colors,
    compression: Animation, 30fps
    greetings, matthias

  • ERROR   OGG-01163  Bad column length (8)

    Hi ,
    I am receiving the following error on the Target side( which have LONG data type. one of the tale name is IMAGE_TABLE) when replicating from 9i to 11g. Table structure is same but still following error persists on REPLICAT , Please help.
    2012-02-20 10:07:45 ERROR OGG-01163 Bad column length (8) specified for column SIGN_LENGTH in table TBAADM.IMAGE_TABLE, maximum allowable length is 2.
    Thanks,
    NC

    Any chance you have an out of sync DEFGEN file ( if you are using DEFGEN that is ).
    We recently had an issue where we were getting column size mismatch errors... developer changed something on the source DB... Corresponding change was not made in target DB and we needed to refresh the DEFGEN. After the refresh we were OK to continue processing without an error. Might be something to check.
    -Dave

  • After Effects error: creating movie - bad parameter (-50) (44::36)

    Hello,
    When I am trying to render a composition to Mov. file with the following preferances:
    FULL HD 1920X1080 (interlaced)
    Lossless (Animation)
    I get this error message:
    "After Effects error: creating movie - bad parameter (-50) (44::36)"
    Would anyone happen to know know what might be th problem?
    Thank you
    Giannis

    Thank you very much! I think I found the solution. I wasn't
    putting any keyframes. With Animation codec, you
    have to set keyframes every fev frames..

  • Error -2002: a bad public movie atom was found in the movie

    I have a Nikon Coolpix L10 (about 2 years old) that records video in the .mov format.
    Most of the time when I play the videos on my computer I used to get a bad flicker and the video would often freeze. When I used a video editing program I found that for every two frames of video there was a black frame.
    So I thought maybe Quicktime wasn't 100% compatible with the file type or version. So after some deliberation I got Quicktime Pro and I have the newest version 7.6.5. The flicker is gone but the video still freezes.
    So I tried exporting to MP4 or AVI or anything and I keep getting
    "Error -2002: a bad public movie atom was found in the movie"
    It wont allow me to export the video to a different format.
    Sometimes when I cancel the export Windows pops up a screen that it's searching for a reason that the Export Controller stopped working.

    Thank you very much for the help. I tried copying and pasting the video file that is a .mov file to my zip drive and then I tried to an .avi file. The reason for doing this is so I can edit it with microsofts windows movie maker. After I had it on the zip drive and tried to export it so I could change the file it still defaults to the error 2002 message saying there is a bad public movie atom. I have done a bunch (5) other movies from the camera and they all worked and then the last one would not. So I assume there is a random factor that happens such as file size or something in the recording that causes the random atom attack. Maybe the difference is not being a mp4. It would be great if there was a definitiion of what bad public atom was and what it meant. Computers and technology is great.
    I did another search and found that a person commented on zipping the file. Well I tried to zip it from the external drive I have to my desktop and it would not work. Then I ziped the file again. Saved to a external drive then unziped it to the same external drive. From that file I then did the file export and it went fine. So the moral of the story is if the video you took is important keep searching and trying and thanks for everyones help. Why is it the vendor of the product does not post solutions? Anyway now I can go on making movies and editing them. It must be a file corruption issue so that by moving the 1's and 0's around it fixes it's self. Is it a bug with the camera recording or is a bug with quick time?

  • RS232 Comms Error Indication

    Hi all, new to the site so please forgive me for any question that seems obvious or child’s play Basically the problem I have is that sometimes I loose communication between my FieldPoint FP-1000 and LabView. When I say I loose comms, the Network and Access LED on the FP are still flashing away but all the values on the screen go to zero. It is not a set time when it will do this, it is random and ive only had it once where the values came back briefly then went again Ive checked the port using 'Hyperterminal' as described in the NI help section and the port appears OK. Also all Baud rates have been checked  Does anybody know what the FP-1000 does if it has a comms error or does it even have that error code available to display? Its just strange that the port is ok and the network and access LED's appear to still be transmitting and the DAQ on LabView is still receiving messages so to me the FP seems ok?
    Ive got a programme called Portmon on Cd which ive been advised to use to check the status of the port when it goes down, unless you have any sugegstions before I try it?  Many thanks in advance, any ideas or suggestions are welcome and greatly appreciated Regards Mitch  

    Hi Mitch,
    Please can you test the comms connection with some of the example programs shipped with LabVIEW. The ones I am thinking of are located in the LabVIEW Example Finder (Open LabVIEW goto Help >> Find Examples)
    From the Example Finder go to Hardware I/O >> FieldPoint >>  Getting Started >> Analog Input.vi
    This will let you quickly and easily test the comms on the FieldPoint. It will also show you how to use the FP Read vi.
    Regards
    JamesC
    NIUK and Ireland
    It only takes a second to rate an answer

  • Comm error using iphone in Scion?

    Hi,
    Recently, my Scion xD stereo displays "comm error" when I attempt to play my iphone through it. I tried a new cord. No luck. I tried another iphone and it worked perfectly. So it looks like my phone is the culprit. Ideas?
    Thanks in advance.

    Hi Bastille521,
    Welcome to the Support Communities!
    The following article will provide some troubleshooting steps for this issue:
    iOS: Troubleshooting car stereo connections
    http://support.apple.com/kb/TS3581
    Some car stereos require a firmware update for AVRCP 1.4 Bluetooth compatibility
    http://support.apple.com/kb/TS4483
    I hope this information helps ....
    Have a great day!
    - Judy

  • Fax test shows passed but fax doesn't work comm error

    new machine . fax test passed but when fax is trying to be sent comes back as comm error. help

    Hi @farmerj15 ,
    I see by your post that when you try to send a fax you are getting a comm error, the fax test all passed. I will do my best to help you.
    Make sure the printer is connected directly to a wall outlet. (don't use a power hub or a surge protector) This ensures the printer is receiving full power and may help this situation.
    I have provided a document to go through the steps to see if that will resolve the issue.
    Cannot Send or Receive Faxes.
    Sorry for all the questions, but it will help to resolve this issue quicker if you are still having issues.
    Please let me know the following:
    Can you receive a fax?
    What kind of line do you have? (Analogue, DSL, Cable Modem)
    Where is the fax cable connected to? (modem, wall jack)
    Are you using a filter?
    Are you using the 2 wire fax cable?
    Do you have distinctive ring set up on the line?
    Is there any voice mail set up?
    Do you have a answering machine? (Where is it connected to)
    Is there a phone also connected the printer?
    Have a nice day!
    Thank You.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Gemini02
    I work on behalf of HP

  • Cannot Receive faxes "result: comm error 232"

    Device:   LaserJet Pro 200color MFP  M276mw
    Product # CF145A
    This fax is not connected to a computer. Just stands alone to its own dedicated fax line.
    Will send faxes out, but cannot receive them.  Error Message is always "Comm error 232"
    I have tried turning off ECM to correct this problem, but error persists.
    Have sent faxes out with no problem however, no luck in receiving from two different sources.  

    Hi @Vibe2J ,
    I see that you are having issues receiving faxes and you are using a dedicated fax line. I would like to help you out today.
    Run a fax test.
    From the Home screen, touch the wrench button.
    Touch the service button.
    Touch the Fax service button.
    Touch run fax test.
    You should get 4 passes.
    Check these settings for the fax:
    Go to the wrench icon/fax setup menu/advanced setup/private receive/turn it off.
    Go to the wrench icon/service /fax service/error correction/turn it off.
    Go to the wrench icon/fax setup /advanced setup/fax speed/change it to medium.
    Go to wrench icon/service menu/fax service/clear saved faxes.
    If you are still having issues, then follow this document.
    Cannot Send or Receive Faxes.
    Sorry for all the questions, but it will help to resolve this issue quicker.
    Did the fax test pass?
    What type of connection do you have? (Analogue, DSL, Cable Modem)
    Are you using a filter?
    Are you using the 2 wire fax cable?
    Do you have distinctive ring set up on the line?
    Is there any voice mail set up?
    Do you have a answering machine? (Where is it connected to)
    Where is the fax cable connected to? (modem, wall jack)
    Is there a phone also connected the printer?
    Have a nice day!
    Thank You.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Gemini02
    I work on behalf of HP

Maybe you are looking for

  • BAPI_ACC_DOCUMENT_POST with TAX posting for FB60 t-code

    Hi Experts, I am trying upload the data using BAPI_ACC_DOCUMENT_POST with Tax(ACCOUNTTAX) for the FB60 t-code. But not getting right. Any help on this issue greatly appreciated. Thanks & Regards, Harish

  • ITunes wont download apps

    I updated my phone to ios8 last night and this morning when I try to download a app it acts like it's going to and then just goes back to the Get button. I tried restarting my phone and still nothing.

  • Unable to upload files to D2L Dropbox -iBooks OSX 10.4

    I have an Instrcutor who uses D2L (version  10.2 SP8 ) as well as Mac iBooks operating Tiger OSX 10.4.11.  There are issues withuploading files to the Dropbox. Mac Book > intel code duo 10.6 Snow Leopard Firefox (newest) is supported web browser. "Yo

  • Removing 3rd Party Apps in Mac OS X 10.5

    Normally I have no problem doing this - just drag and drop to the trash but I recently downloaded via MacUpdate Promo an app called Clips and I can't get rid of it. No matter what I do via command to Trash or drag and drop to Trash I'm told that the

  • Do you know how to delete PW of iMac OS?

    Any one know how to delete the PW of iMac OS(Lion Ver.) ? It's necessary to log on iMac OS when I lost PW or Keyboard doesn't work. Please let me know how to initialize the PW(Pass Word) of iMac OS(Lion) without keyboard?