Stop Transaction In BADI

hai abaper guru,
i use badi for t-code iw32.. my purpose in here is to check whether user have authorization or not when releasing order..
everything was smooth until my last step.. i can compare it, and i know whether user have authorization for releasing the order or not.. but when user have no authorization, i am not able to cut transaction.. my message box was appear, but transcation goes on..
i try to use raise other but it cant be used in badi..
does anyone know how to resolve my problem?
thx before..

Hello Rendy,
Think it would be easier to use the SMOD/CMOD-Exit IWO10002.
There you could throw some error messages in your coding and simply set a flag named 'NO_RELEASE' .
Regards
Wolfgang

Similar Messages

  • User stops transaction in Bex, process continues to run on server

    We have an issue where users want to kill a long running Bex query, and they use the stop transaction in Bex.
    This kills the front end, but the query continues to run
    on the server.  Eventually, the process has to be killed at the OS level.
    Our environment is BW 3.5, os as 400, db db2.

    As you've seen from the replies, this is a known issue, and can be quite frustrating from a support point of view. We have been asked on several projects to come up with a solution to this, especially as this problem is highlighted when running reports from the portal environment.
    In the portal environment we have found users will execute a report, and if that takes too long, simply click on the next report. This of course doesn't stop the backend processes, as can be witnessed in SM50.
    What we have managed to do is write a BSP which analyses the SM50 log, and returns all jobs being run by the current user. The user is then able to select one of those jobs, and end that particular process. One of our ABAP support developers debugged the processes in SM50, and found the relevant code to stop a process, which we incorporated into the BSP.
    The BSP is published as an iview which gets displayed below the dynamic navigation panel, and now users are able to stop their own long running processes
    Cheers,
    Andrew

  • Capture Fix for Mac OS X ( Does Your Recording Stop at Every Bad Video Frame? )

    I may have found a solution to the continuous problem whereas PP "Capture" stops at every bad frame while recording from a Firewire camera or external Firewire Video Capture Device.
    Try "Vidi" Search Google ( for Mac OS X ) http://mitzpettel.com/ Source Code: https://github.com/mitzpettel/Vidi
    It solved my problem.
    It was written for the Formac device .. but may work with others.
    Quicktime and Adobe has had this problem for years.
    I thought it was software related .. and it was.
    Test it out. High quality. Audio options too.

    I would have thought you just uncheck the box that says "Abort capture on dropped frames".

  • Stop Transaction option not available in Portal

    Hi All,
    When I acess a Transactional iView from Portal,it does not show the icon on the top left most corner,which will display the below Menu ,when we click on it.
    Restore
    Move
    Size
    Minimize
    Maximize
    Close
    Create Session
    Stop Transaction                           
    This icon and menu comes up when the transaction is accessed from backend.This happens with all transactional iViews.
    Please help with your inputs.

    Hi Salma,
    You can control the appearence of all this buttons from ITS service parameters.
    Go to the transaction SICF and Give the service name ITS.
    Please check the link
    Link:[Integrated ITS. "Back" button in Transaction iViews;
    Link:[http://help.sap.com/saphelp_nw04/helpdata/en/54/4d9993c6592941a407313a6763575c/frameset.htm]
    Regards
    Indranil

  • Stop Transaction Error Message Doesn't Display

    Hi,
    I am using a custom message, like "Results Not Yet Confirmed", in the Stop Transaction action. But this error message is not displaying when I run the JavaScript code. I used the expression "document.<AppletName>.getValue(1,1)".
    Any clues?
    Regards,
    Chanti.

    Hi Chanti,
    What display type are you using?  An iGrid?  If so, try
    document.appletName.getErrorMessage()
    Otherwise, please provide more details - the display type and which MII version you are using.
    Kind Regards,
    Diana Hoppe

  • How to stop transaction

    function Trigger_CheckOldPassword(&$tNG) {
    return Trigger_UpdatePassword_CheckOldPassword($tNG);
    This is check old password function in ADDT, I want to know what it return to break the transaction, because sometimes I want to do some check through custom trigger by myself, and I don't know how to stop the transaction if the result of my check means to stop.

    Hi chan,
    the function "Trigger_UpdatePassword_CheckOldPassword" sits in the file "includes/tng/triggers/tNG_defTrigg.inc.php".
    Excerpt from the function documentation:
    Check the old password in the database; In case of error return an error object;
    If no error and the old password match the password entered by the user return null
    So it seems that this function performs an either/or thing: you either get a variety of error messages returned, or the function just returns "null" aka "false" in case the passwords do match.
    to break the transaction
    breaking the transaction would actually mean to terminate the execution of the function "Trigger_UpdatePassword_CheckOldPassword", and you could try with using PHP´s native functions "exit" (or "die", what´s actually the same) in place of the original...
    return null;
    ... line.
    However, I´m not sure if trying this would have any advantage to you, because the only thing this function does is returning some error messages and otherwise just "die" anyway.
    Cheers,
    Günter Schenk
    Adobe Community Expert, Dreamweaver

  • PS Transaction CJ20N BADI - how to get data?

    Hello,
    I need to make further checks to a project in CJ20N. If the user saves the data, that's where my code goes in.
    I tried using the BADI interface IF_EX_WORKBREAKDOWN_UPDATE as suggested in several forums. At method AT_SAVE, I inserted a BREAK-POINT but if the activity is saved in CJ20N, the program does not stop here. I inserted a BREAK-POINT inside the BEFORE_UPDATE method of the badi implementation, and the program stops here. However, the parameters available for this method does not contain anything (IT_WBS_ELEMENT, and IT_WBS_HIERARCHY are both initial)
    How can I get the some information from CJ20N? For example, the network number. This is CAUFVD-AUFNR on the screen but structure CAUFVD is not available in the method.
    Please help.

    Dear Kyle,
    I was working on your issue. While you're in CJ20N in any particular Project Definition, try changing any value on the screen (example: try changing the description of the Project Definition) and then click on Save.
    The control should go to your break point in the at_save method of the BADI Implementation of standard BADI: PROJECTDEF_UPDATE. Thereafter the control also goes into at_save method of the BADI: WORKBREAKDOWN_UPDATE.
    Make sure that you have created your BADI implementation and activated its methods.
    Hope this was useful. Let me know if you face any issues.
    Regards,
    Aniruddha

  • Transaction u0091CIC0u0092  BADI

    Hi All,
    I'm looking for a BADI that trigger’s when the ‘End Contact’ button is pressed in transaction ‘CIC0’. I’m trying to remove the pup-up window that appears when the ‘End Contact’ button is pressed after a transaction is opened through a campaign.
    Regards
    Itay Assraf

    Hi,
    Transaction called is "BBPBWSP".
    BR,
    Disha.

  • How to stop transaction rollback

    Hi,
    i am created a bpel process which will do the db inserting data but i am getting this below error while inserting the data. can any one please solve this:
    Error log:
    faultName: {{http://schemas.oracle.com/bpel/extension}remoteFault} messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage} parts: {{ summary=<summary>Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'insert' failed due to: DBWriteInteractionSpec Execute Failed Exception. insert failed. Descriptor name: [AddMoreBikes.Bikes]. Caused by java.sql.SQLException: Cannot call Connection.commit in distributed transaction. Transaction Manager will commit the resource manager when the distributed transaction is committed.. Please see the logs for the full DBAdapter logging output prior to this exception. This exception is considered retriable, likely due to a communication failure. To classify it as non-retriable instead add property nonRetriableErrorCodes with value "0" to your deployment descriptor (i.e. weblogic-ra.xml). To auto retry a retriable fault set these composite.xml properties for this invoke: jca.retry.interval, jca.retry.count, and jca.retry.backoff. All properties are integers. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. </summary> ,detail=<detail>Cannot call Connection.commit in distributed transaction. Transaction Manager will commit the resource manager when the distributed transaction is committed.</detail> ,code=<code>0</code>}
    Edited by: Ajay8706 on Feb 19, 2013 10:44 PM

    Hi,
    To resolve this, go to Deployments on the weblogic console and open DBAdapter. Go to Connection - Outbound Connection Pool where the jndi is configured to talk to the jdbc data source.
    Expand the javax.resource.cci.ConnectionFactory and select the appropiate Connection.
    There you can see that the data source name is configured in the dataSourceName row while it should be configured in the xaDataSourceName row. This is because the datasource you must have defined as XA( confirm by going to transaction tab in jdbc configuration)
    Thanks,
    Durga
    - It is considered good etiquette to reward answerers with points (as "helpful" - 5 pts - or "correct" - 10pts).

  • BAPI for invoking 'Stop Transaction'

    Hi,
    Is there any BAPI to stop the running of any function module or report after some time by specifying the time. If any FM or report goes running for long time need to invoke BAPI to stop the same.
    Regards,
    Ram

    Dear All,
    Thanks for the replies.
    Also, I am posting the data through Excel sheet and I want to check whether the excel file has already been processed or not, will you please let me know how to check this?
    Thanks in Advance,
    Ramana

  • Document.Add stop transaction

    Hi.
    Seems that adding a document during a global transaction, the transaction is closed. I explain better.
    I have to create a lot of draft delivery documents and I realized a loop on a collection.
    The loop is internally at a global transaction
    1)  m_cmp.StartTransaction()
    2)  For Each tmpDDT In rows
    3)    If Not createDraft(tmpDDT) Then
    4)      isError = True
    5)    End If
    6)  Next
    7)  If Not isError Then
    8)    m_cmp.EndTransaction(BoWfTransOpt.wf_Commit)
    9)  Else
    10)   m_cmp.EndTransaction(BoWfTransOpt.wf_RollBack)
    11) End If
    12) Private sub createDraft(tmpDDT...)
    13)   ' ...
    14)   ' transaction check point before add
    15)   draftDDT.Add()
    16)   ' transaction check point after add
    17) End Function
    After the transaction is started (1), I call the createDraft() routine (3).
    Checking the InTransaction state before the add (14) the transaction is up.
    Checking the InTransaction state after the add (16) the transaction is down.
    Can someone help me?
    Ciao
    Nicola

    Hi Nicola,
    In my experience, error -5002 is caused by one of two reasons:
    1) You are attempting to add a document with a blank line item. In the DI, you don't need to call oDocument.Lines.Add for the first line as it is added automatically.
    2) There was a bug when items that required serial numbers were added in the same document as non-serial items. This bug should have been fixed by now
    Hope this helps,
    Owen

  • VERY URGENT.... DUMP IN PRODUCTION STOPPED TRANSACTION .

    "FUNCTION GROUP J1I7 CONTAINS ERROR"
    THIS DUMP ERROR IS COMING FOR ALL EXCISE AND INVOICE TRANSACTION IN PRODUCTION.
    CAN ANY BODY TELL WHY THIS ERROR COMING AFTER TRANSPORTING A REQUST.
    PLEASE HELP ITS VERY CRITICAL.

    Hi!
    Check out the given function group in SE80 transaction and try to activate it in the production system.
    It will navigate you to the error.
    Regards
    Tamá

  • Copy and paste has stopped working. Bad memory.

    Strange new event. In some programs, so far two, if I copy some text there is now a clicking sound (new) and when I paste that text in to another place in the program then it either pastes what was in the clipboard before, in a prior paste, or it pastes a hybrid combo of what was there before and the just-copied text.
    If I go to text edit, or to safari or mail program, then copy and paste work just fine. If I look at what is in the clipboard (via Finder) then the expected content is there.
    Has anyone run into this odd thing?
    Thanks,
    Richard

    You may not know them.
    1. Panorama, database and form production. Company = Provue.
    2. MacRepertory, medical software for working up homeopathic cases. Company = Kent Homeopathic Associates.

  • Speakers Inspire T3100 stopped working wire bad?

    I registered my product, so company should be able to see warranty or when I purchased them. Store no longer carries product. Would like a refund.

    Hi,
    If you are looking for a refund, you will need to work this out with support.
    Message Edited by KokChoy-CL on 06-20-2008 03:58 PM

  • How to stop at BADI  UDM_COLL_AMT_C , Transaction UDM_SPECIALIST

    How do we stop BADI  UDM_COLL_AMT_C  at badi while we are executing the transaction UDM_SPECIALIST, please let me know how to execute the transaction UDM_SPACIALIST to stop at above badi to modify one of the method .

    Hi Go to Tcode SE19,
    Give the implementation name of badi ...
    You will hvae method  CALC_AMOUNT_TO_BE_COLLECTED
    in  BADI UDM_COLL_AMT_C wich is BAdI: Calculate Amount to Be Collected
    Now give the break point in the method and execute the transction code..it will stop at that break point.

Maybe you are looking for

  • SSL VPN on C2821 Radius auth issues

    I've been looking through the discussions and I can't seem to nail this one down. I'm implimenting SSL VPN on a 2821 to do SMTP only. I need it to auth off the radius server and it is only asking for local router login P/Ws. It will not auth against

  • Error in Check in of Originals by BAPI In background

    Hi Friends We have requirement to check in the documents in DMS in background mode using  BAPI_DOCUMENT_CHECKIN_REPLACE2 . Original files are stored on application server in folder G: drive . When I run this BAPI  in foreground mode it runs fine. But

  • How to use buttons from a different theme in current theme ?

    Hi Friendsl, I was just wondering how can I have those nice looking buttons from Theme-2(Builder Blue ) use in Theme-13(Classic Blue). I created a copy of theme-2 button template in theme-13 and called it "My Button". Now when I went into the button

  • Quicktime movies in iWeb??

    I want to include a lot of movies in my site I have presently 8 of them but when you go to the page they all have to load. Is their a way to create a button or link to a file that will open the movie in a specific section of the page and when another

  • How can I apply a Brazilian University to iTunes U?

    Is there any way to apply an institution from Brazil to be included at iTunes U?