How to suppress the popup 'Express document "update was terminated" ?

Hi,
I am calling few BAPIs in UPDATE TASK Function Module.
Whenever any of the BAPI returns any Error message  I get a popup for 'Express document "update was terminated" from the author'.
I know that my SAP Inbox has the Update Terminated Message triggered by the system.
Is there any way to suppress this popup, even if BAPI returns any error message?
I am storing the error messages sent by BAPI in an internal table and those error messages are enough for the user.
But the popup is misguiding to the user thats the reason we dont need the popup for 'Express document "update was terminated" from the author'.

Hi,
Its not possible to suppress the express termination message popup. I hope document could not have been saved to database.
Just try to find out the route cause of the error.
Error messages are not allowed in FMs called in UPDATE TASK.
One work around i can suggest is, try to run the BAPI in test mode before calling the update task FM. If the test mode call is error free then only call the UPDATE TASK fm.
Hope this solves your issue.
Thanks,
Vinod.

Similar Messages

  • Express document "Updated was terminated" received from author in IW32

    Hi,
    I am creating PO in then method of IN_UPDATE or BEFORE_UPDATE of BADI  WORKORDER_UPDAT using BAPI_PO_CREATE or BAPI_PO_CREATE1, but it is not allowing commit transaction implicitly triggered by bapi so it is throwing the message Express document "Updated was terminated" received from author 'XXXX'.
    Please advice how to achieve creatING PO in the BADI.
    Regards,
    Krishna

    Hi,
    Then it would be really difficult because you will face an update termination every time incase something goes wrong in creating the PO.
    In this method even if you raise any messages it would lead to update termination.
    If you check the documentation it says that messages can be issued only in AT_SAVE method.
    Try creating your PO in this method.
    If you need the document number then what you can do is create a custom RFC FM and call it in background. In this FM call your BAPI and using the document number do the further processing.
    But if you want this document number to update something in the workorder then i feel that is not possible using this BADI.
    Regards,
    Ankur Parab

  • PM workorder printing problem -- *"Express document "Update was terminated"

    Hi All,
    I have designed a PM workorder smartform.
    This form is getting triggered from the standard transaction IW32. There is a Z driver program and Z smartform.
    However when I am directly trying to print the this smartform(Order> Print>order) using the shoppaper number customized for my Zdriver program and zsmartform, the workorder gets saved but then on again entering into the workorder its gives the message :-
    "Express document "Update was terminated" received from author "XXX".
    And hence I am not able to print the smartform.
    However when I see its print preview and then try to print the smartform its allowing me to do so.
    Can anyone provide me the solution for the same.
    Thanks in advance for your help.

    Hi,
    the exception in fm CO_BH_ORD_HEADER_PRE_READ appears in two places:
    1.-
      IF import_message_id IS INITIAL.
      ELSE.
        IMPORT order_tab FROM MEMORY ID import_message_id.
      ENDIF.
    * Aussteigen falls überhaupt kein Auftrag/Netzplan gefunden wird
      IF NOT sy-subrc IS INITIAL.
        RAISE not_found.
      ENDIF.
    2.-
      IF no_afpo IS INITIAL.
      ELSE.
        IMPORT pos_tab FROM MEMORY ID import_message_id.
      ENDIF.
    * Aussteigen falls überhaupt kein Auftrag/Netzplan gefunden wird
      IF NOT sy-subrc    IS INITIAL AND
             counter_tot =  1       AND
             no_afpo     IS INITIAL.
        RAISE not_found.
      ENDIF.
    Put a break point and execute to see what is going on.
    Best regards.

  • Express Document:Update was terminated while processing the Order via VA02.

    Hi,
        User was trying to process order for orderlines say for Eg POSNR 20 to 400 for a particular order,He ended up with Express document :Update was terminated error.When i Checked in SM13 for the update termination errors,I got the following error.
    VI: 200 Item status (document &, item &) is missing.
    I checked the order (POSNR 20 to 400 ) in VBUP  table and the entries were missing for this order (Posnr 20 to 400 ).
    Appreciate you'r Inputs.
    Thanks
    Rakesh.

    Hi,
    Can you please send the detail message in express document.
    Apps

  • Express Document  "Update was terminated" in FM: BUPA_ADDRESS_CHANGE

    Hi all,
    As per our requirement we needed to add different types of phone nos to an Business Partners Address.  We are using the Function Module BUPA_ADDRESS_CHANGE to insert the Telephone nos by passing values to the internal table for ADR2 table in the FM. The function module updates the phone nos successfully twice.  The Function module fails the third and subsequent times within the same session.  The code used for the same is as below:
      CALL FUNCTION 'BUPA_ADDRESS_CHANGE'        
       EXPORTING                                   
         iv_partner          = l_bpnumber          "BP no.      
         iv_addrnumber   = l_addrnumber       "BPs address no      
         iv_addrguid        = l_addrguid           " Address guid    
         is_address        = t_addrdetails        "Address details    
      TABLES                                       
         it_adtel             = t_teldetails           "Telehphone nos to be inserted with the sequence nos from 001(Home telephone no), 002(Work Phone No.) & 003(Mobile no)
         it_adfax            = t_faxdetails          "One Fax No and its extension with the sequence no set to 001    
         it_adsmtp         = t_emaildetails       "Email Details with sequence no set to 001      
         it_comrem        = t_telremarks         "Adding a remark to a particular phone no as WORK PHONE No.     
         it_adtel_x         = t_teldetailsx         "Setting the updateflag to I for insertion of telephone nos.    
         it_adfax_x        = t_faxdetailsx        "Setting the updateflag to I for insertion of fax nos.     
         it_adsmt_x       = t_emaildetailsx    "Setting the updateflag to I for insertion of email.       
         it_comre_x       = t_telremarksx      "Setting the updateflag to I for insertion of remarks nos.       
         et_return          = t_returntab.          "Returns tab for error message   
    The FM Inserts the Telephone nos successfully twice but fails the third time within the same cic0 session, with the error message as below:
    "Express Document "Update was terminated" received from author Kumaran Vurunathan".
    Displaying the Document we get the following detail:
    Update was terminated
    System ID....   DD0
    Client.......   040
    Transaction..   CIC0
    Update key...   42A303E8F2B23E97E1000000947F220A
    Generated....   13.06.2005, 04:43:28
    Completed....   13.06.2005, 04:43:28
    Error info...   CD 328: DUPREC:POS&BUPA_ADR&0000105277
    Again, if everytime new Business Partner is used to add telephone nos within the same cic0 session, the program works fine.
    The problem occurs only on the same BP being used for the third time within the same session.  We are thinking that this might be a Locking problem and thats why the Update is getting terminated.
    If anyone had encountered the same issue while using this FM, please advise the reason for the same and how this could be rectified.
    Thanks & Regards,
    Babu Changalvala,
    AOL: babuchangalva.

    Hi,
    To be clear, my understanding is that you are updating the same partner multiple times with this function.
    Try 'commit work' after each call of the FM, if that is not an issue for your current logic.
    Another option you can try is calling it with destination option. This is just a guess. Try it like 'Call .... destination NONE importing.....'
    cheers,

  • Express document "Update was terminated" received from author "    "in VA21

    Dear SAP Experts,
      i just set up Output determination for quotation type. and created VA21, while coming out i am getting error
    as Express document "Update was terminated" received from author " 
    below is the dump i am getting. Could you please help me to solve this?.
    Update was terminated    
    Created       m8050032  on   06.01.2010   13:04:43 
    Update was terminated
    System ID....   E6I
    Client.......   800
    User.....   M8050032
    Transaction..   VA21
    Update key...   DD95FADEFC90F19591EF001D0915C7EC
    Generated....   06.01.2010, 13:04:42
    Completed....   06.01.2010, 13:04:43
    Error Info...   00 671: ABAP/4 processor: SYNTAX_ERROR

    Hi,
    Goto T.code ST22 - ABAP runtime error
    click today button,
    check for the error and double click to get the detailed long text
    see "How to correct the error"
    take a help of ABAPer
    Regards
    senya

  • Express document "Update was terminated" received from author in MM01

    Hi gurus,
    When we are trying to create the MM by using the t-code MM01 we are getting the error message as Express document "Update was terminated" received from author "XXXX". Based on this error we have verified the t-code SM13 and received the below details and there is no dumb in ST22.
    Update was terminated     
    Created       SOLIYAPPAN SADASIVAM  on   23.11.2011 ;  05:07:18  
    Update was terminated
    System ID....   MD1
    Client.......   500
    User.....   SSADASIVAM
    Transaction..   MM01
    Update key...   4ECC6061B2567110E10080000A795665
    Generated....   23.11.2011, 05:07:18
    Completed....   23.11.2011, 05:07:18
    Error Info...   Error inserting in table MBEW
    Please suggest me how to fix this issue.
    Thanks
    Sada

    Hi Jürgen,
    When we verified SM13 the error is occuring as below when we double click the SM13 error.
    1    MATERIAL_UPDATE_DB        V1 (no retry)     Error
    Please suggest me how to proceed further.
    Thanks
    Sada

  • MRKO Error : Express document "update was terminated" received from author

    Hi Gurus,
    When settling Consignment through MRKO we are getting error 'Express document "update was terminated" received from author xxxx' in ECD system.
    At workplace inbox, the error shows "Error Info...   XS 007: Address invalid".
    Please note that I am not getting any short dump at ST22 for the same error.
    My queries are:
    1. How can I create a short dump for this error....this will help in analyzing the issue.
    2. What are the probable reasons for this error can be.
    Thanks in advance for helping.
    Regards,
    MC

    Hi,
    I have tried SM13 and getting ERROR XS007(Address Invalid).
    Diagnosis says:
    The address specified is invalid or initial (address value, address type INT).
    Procedure:
    Enter a correct address that is suitable for address type INT.
    The formats are:
      1. INT (Internet Mail Address): <name>@<domain> or comment<name>@<domain> or  <name>@<domain>(comment)
      2. FAX(fax addresses): <country><number>
    ETC
    Now as already told, I have properly maintained mail-id in "Email" field & "StandardComm.Mtd" field as E-Mail  of the Vendor Master.
    The mail ID is my official ID and working.
    Please advice further.
    Regards,
    MC.

  • SmartForm error: Express document "update was terminated" received from aut

    Hi friends
    we requirement to send PO smartform through Print out as well as through mail.
    after creating PO i am getting popup box saying that :
    " Express document "update was terminated" received from author "XXXX".
    Please help me.
    my code as follows:
        IF sy-subrc = 0.
          CLEAR g_outop.
          SELECT  SINGLE ldest dimme FROM nach INTO (g_outop-tddest,
         g_outop-tdimmed) WHERE knumh EQ knumh.
          CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
            EXPORTING
              formname           = 'YNZ_PO'
            IMPORTING
              fm_name            = sf_name
            EXCEPTIONS
              no_form            = 1
              no_function_module = 2
              OTHERS             = 3.
          w_ctrlop-getotf = 'X'.
          w_ctrlop-no_dialog = 'X'.
          w_compop-tdnoprev = 'X'.
          CALL FUNCTION sf_name
            EXPORTING
              output_options     = g_outop
              user_settings      = 'X'
              wa_ynz_po_head     = wa_ynz_po_head
              control_parameters = w_ctrlop
           IMPORTING
             job_output_info    = w_return
            TABLES
              t_ynz_po_item      = t_ynz_po_item
            EXCEPTIONS
              formatting_error   = 1
              internal_error     = 2
              send_error         = 3
              user_canceled      = 4
              OTHERS             = 5.
    for mail
          CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
            EXPORTING
              formname           = 'YNZ_PO'
            IMPORTING
              fm_name            = sf_name
            EXCEPTIONS
              no_form            = 1
              no_function_module = 2
              OTHERS             = 3.
           CLEAR g_outop.                   " Commented by sharma
           g_outop-tddest = nast-ldest.
           g_outop-tdimmed = nast-dimme.
          w_ctrlop-getotf = 'X'.
          w_ctrlop-no_dialog = 'X'.
          w_compop-tdnoprev = 'X'.
          CALL FUNCTION sf_name
            EXPORTING
              output_options     = w_compop
              user_settings      = 'X'
              wa_ynz_po_head     = wa_ynz_po_head
              control_parameters = w_ctrlop
            IMPORTING
              job_output_info    = w_return
            TABLES
              t_ynz_po_item      = t_ynz_po_item
            EXCEPTIONS
              formatting_error   = 1
              internal_error     = 2
              send_error         = 3
              user_canceled      = 4
              OTHERS             = 5.
      i_otf[] = w_return-otfdata[].
      CALL FUNCTION 'CONVERT_OTF'
        EXPORTING
          format                = 'PDF'
          max_linewidth         = 132
        IMPORTING
          bin_filesize          = v_len_in
        TABLES
          otf                   = i_otf
          lines                 = i_tline
        EXCEPTIONS
          err_max_linewidth     = 1
          err_format            = 2
          err_conv_not_possible = 3
          OTHERS                = 4.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
        WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    Convert PDF from 132 to 255.
      LOOP AT i_tline.
    Replacing space by ~
        TRANSLATE i_tline USING ' ~'.
        CONCATENATE w_buffer i_tline INTO w_buffer.
      ENDLOOP.
    Replacing ~ by space
      TRANSLATE w_buffer USING '~ '.
      DO.
        i_record = w_buffer.
    Appending 255 characters as a record
        APPEND i_record.
        SHIFT w_buffer LEFT BY 255 PLACES.
        IF w_buffer IS INITIAL.
          EXIT.
        ENDIF.
      ENDDO.
      REFRESH: i_reclist,
      i_objtxt,
      i_objbin,
      i_objpack.
      CLEAR w_objhead.
    Object with PDF.
      i_objbin[] = i_record[].
      DESCRIBE TABLE i_objbin LINES v_lines_bin.
    Object with main text of the mail.
      i_objtxt = 'Find attached the output of the smart form.'.
      APPEND i_objtxt.
      i_objtxt = 'Regards,'.
      APPEND i_objtxt.
      i_objtxt = 'Narasimha'.
      APPEND i_objtxt.
      DESCRIBE TABLE i_objtxt LINES v_lines_txt.
    Document information.
      w_doc_chng-obj_name = 'Smartform'.
      w_doc_chng-expiry_dat = sy-datum + 10.
      w_doc_chng-obj_descr = 'Smart form output'.
      w_doc_chng-sensitivty = 'F'. "Functional object
      w_doc_chng-doc_size = v_lines_txt * 255.
    Pack to main body as RAW.
    Obj. to be transported not in binary form
      CLEAR i_objpack-transf_bin.
    Start line of object header in transport packet
      i_objpack-head_start = 1.
    Number of lines of an object header in object packet
      i_objpack-head_num = 0.
    Start line of object contents in an object packet
      i_objpack-body_start = 1.
    Number of lines of the object contents in an object packet
      i_objpack-body_num = v_lines_txt.
    Code for document class
      i_objpack-doc_type = 'RAW'.
      APPEND i_objpack.
    Packing as PDF.
      i_objpack-transf_bin = 'X'.
      i_objpack-head_start = 1.
      i_objpack-head_num = 1.
      i_objpack-body_start = 1.
      i_objpack-body_num = v_lines_bin.
      i_objpack-doc_type = 'PDF'.
      i_objpack-obj_name = 'Smartform'.
      CONCATENATE 'Smartform_output' '.pdf'
      INTO i_objpack-obj_descr.
      i_objpack-doc_size = v_lines_bin * 255.
      APPEND i_objpack.
    Document information.
      CLEAR i_reclist.
    e-mail receivers.
      i_reclist-receiver = '[email protected]'.
      i_reclist-express = 'X'.
      i_reclist-rec_type = 'U'. "Internet address
      APPEND i_reclist.
    Sending mail.
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          document_data              = w_doc_chng
          put_in_outbox              = 'X'
           commit_work                = 'X'
        TABLES
          packing_list               = i_objpack
          object_header              = w_objhead
          contents_bin               = i_objbin
       contents_hex               = i_objbin
          contents_txt               = i_objtxt
          receivers                  = i_reclist
        EXCEPTIONS
          too_many_receivers         = 1
          document_not_sent          = 2
          document_type_not_exist    = 3
          operation_no_authorization = 4
          parameter_error            = 5
          x_error                    = 6
          enqueue_error              = 7
          OTHERS                     = 8.
      IF sy-subrc <> 0.
        WRITE:/ 'Error When Sending the File', sy-subrc.
      ELSE.
        WRITE:/ 'Mail sent'.
      ENDIF.

    Hi ashok
    thanks for your reply.
    i got the error at commit in the below Func module.
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
    EXPORTING
    document_data = w_doc_chng
    put_in_outbox = 'X'
    commit_work = 'X'
    TABLES
    packing_list = i_objpack
    object_header = w_objhead
    contents_bin = i_objbin.
    if i remove commit = 'X'.  no error but mail is not sending.
    please advice.

  • Earmarked funds - Express document "Update was terminated" error

    Hi,
    When i create a contract(RECN), a earmarked funds document getting created and it updates the table KBLK with single primary key BELNR.
    I see in the Tcode OK60, the number range assinged is '05' - 0200000000 to 0299999999.
    KBLK table has entries created from 0200000000  to 0299994311 which were created earlier.
    From this financial year, when i am creating a contract, the new BELNR is started again from 0200000000 series, hence it throws an error message "Express document "Update was terminated" since entries are already exist in the KBLK table.
    Finally i understand we have to change number range assignment.
    Where can i do this? Please help if my understanding is wrong, how can i rectify this issue.
    Thanks,
    Bharath.

    Hi,
    U can change the number range for the contract for this fical year and make it start from  0299994312 to 0299999999.
    But it seems u have already used most of the numbers, so go for a new number range for both the documents.
    Hope this helps
    Deepak

  • Express document "Update was terminated"   in miro

    Hi All,
    When i creating an invoice through Tcode : miro,  document number  is generated.after that i go back error is coming,
    " Express document "Update was terminated" received from author "xxxxx".
    how to rectify this problem.
    Thanks and Regards
    Sam
    Edited by: ghandhipk on Feb 26, 2011 3:17 PM

    Hi,
    Check your authorization to post invoice document WRT PO for your company code. Take help from Basis Consultant.
    Also check the number range setting for invoice document in OMBA or OBA7 for"RE" document type.In RE document type check Number range number  & Accounting types allowed ( Vendor, G/L account.Asset & Material etc..)
    Regards,
    Biju K

  • In update task & Express document Update was terminated

    Hi all
    Need help!
    Requirement: When i do confirmation through CO11N i have to do GI through a BADI.
    Solution: I have written a wrapper Update module(internally has /AFS/BAPI_GOODSMVT_CREATE) with Start delayed and called that module(in update task) in the method MB_DOCUMENT_BEFORE_UPDATE of the definition MB_DOCUMENT_BADI.
    It works fine when every thing is correct, but if GI fails its still confirms the confimation and "Express document Update was terminated" pops up when i push the back button. I have written a abort statement in the update module if goods movement fails. When i check SM13 it shows the reason for erroring out. But my requirement is to stop the complete transaction if GI fails and put the error message at the bottom of screen(CO11N)
    How can i do this?
    Appreciate any suggestions.

    Hi,
    I don't think that it is possible. It's too late to call rollback. The FM in update task is called after command COMMIT WORK. Here is a quote from ABAP documentation:
    If during the update an error occurs, the update work process executes a database rollback, returns the log record with a note into table VBLOG and informs the user whose program has created the log record by SAPMail. After removing the error cause, the returned log records can be updated again.
    So you should call that module only in case that you are 100% sure that it will be processed correctly.
    Cheers

  • Error:express document "Update was terminated" received from author

    Hi All,
    I m creating shipment frm the transaction VL01.
    While creating the shimpment i am assigning one Z output type and clicking on the planning phase on the shipment.
    After that i am saving my shipment.
    At this point of time my shimpmnet is created but after this(after saving the shimpment) if i am trying to do anything it is giving me the below error.
    Express document "Update was terminated" received from author "Sachin Yadav".
    Kindly help why i m gettng this error. How to remove this error.
    Regards
    Sachin

    SAP is telling you that the transaction failed and a rollback has been executed, due to some catastrophic error in the system.  These often arise from errors in exit coding....check ST22 to see if you can find anything...there may be a clue there....otherwise start looking at the changes you just made for the source of the error.
    This error occurs, most likely, because during the actual save to database operation, or because of something in follow-on processing launched during the save step (like a new background task for form output or something like that) an fatal error is occurring and SAP is detecting that and rolling back the body of work that was just committed to the database.

  • Error :  "Express Document  Update was terminated"

    Hi All,
               When creating a PO & after saving, I get a message PO number successfully created. But when I press "Back" button I immediately get a SAP mail "Express Document Update was Terminated".
    In SM13 - the following error is shown:-
    FM:- RV_MESSAGE_UPDATE Error:- TD 427: Element PO_TERMS_AND_CONDITIONS.
    I had read all the previous threads relating to this issue.
    Based on the above threads I checked the number range & it seems to be correct. So, I'd like to know what causes this error and also how to solve it.
    Any inputs related to this would be of great help.
    Thanks
    Ramky.G

    Hi Deivakaniraja,
                         Thanks for the response.
    Option 1 - the flag is already unchecked only.
    Option 2 - What should be checked in Terms & Conditions?
    Hi Volkan,
                      Thanks for the response.
    Actually am an ABAPer and am posting this message on behalf of my Functional.
    After double clicking the error line in SM13 only I'm getting this one below:-
    FM:- RV_MESSAGE_UPDATE Error:- TD 427: Element PO_TERMS_AND_CONDITIONS.
    Thanks & am currently debugging the error in program and also kindly let me know if there's any other solution that could be possible.
    Regards
    Ramky.G

  • Getting "Express Document Update was terminated" while creating BP..

    HI All
        I am creating Business Partner using HR Pernr using following BAPI's.
    1. BUPA_CREATE_FROM_DATA - To create BP.
    2. BUPA_ADDRESS_ADD - To create address..
    3. BUPA_ROLE_ADD_2 - To create role.
    4. BUPR_RELATIONSHIP_CREATE - To create relationship.
    5. BUPA_BANKDETAIL_ADD - To create acounts.
    6. BUPA_STATUS_ADD - To create status.
    BP is creating fine...along with I am getting the Error like "Express Document update was terminated received from author ......" . Error descriptin looks like below.
    Error Info...   CD 328: DUPREC:POS&BUPA_ADR&DP00243572.
    I have verified in SM13 T code...It is showing in BUPA_ADR_WRITE_DOCUMENT.
    Please suggest me how we can resolve this issue...
    Thanks in advance..
    Rama

    Hi Rama Krishna,
    This can also happen when your number ranges are incorrectly defined.
    Try checking number range assignment for BP and check in table if number already exist.
    We faced similar problem when migrated data from prod server and someone change the number ranges for PO.
    Regards,
    Mohaiyuddin

Maybe you are looking for

  • Error while creating webservice in Netweaver7.1

    I am working with EJB 2.1 project in Netweaver 7.1 . After creating session bean when i m trying to create webservice i m getting following error IWAB0234E An internal error occurred. Details: null     java.lang.NullPointerException     at org.eclips

  • Installation requires too many services to stop

    I'm trying to install the Developer Tools for Visual Studio .Net and the installer is requiring over 30 core windows services to be shutdown. This includes but is not limied to: Computer Browser, Logical Disk Manager, Remote Registry, Server, Worksta

  • How to know the PO  Created with RFQ or Not..??

    Hi MM Gurus, How to know the purchase order created with one quotation or not. because when i am trying to create PO with /ME21N through DOcumen Overview on. there is list of Quotation. i created PO with XYZ quotation. and after creation of PO i am t

  • Error while installing Oracle 9i Application server

    Hi All, I am trying to install oracle 9i Application Server 9.0.2.0.0 Enterprise Edition on Windows 2000. The installation gets stuck up after 40 percent , while trying to copy a file named 'PGPUS.MSB' . There is no update in the Install Actions Log

  • How to Run an IP Sequence in Background

    Hello: We call a sequence (containing a FOX formula) from a command button on a workbook and it keeps timing out.  Does anyone know how we could arrange to run this in the background and still have it triggered by the workbook button? We tried writin