Error in creation of billing document: update was terminated

hi experts,
i am facing one problem while creating "Billing Document" in VF01 . After i save it says 'Document 941700032 has been saved' but later after i click on tht it shows d error "update was terminated' and billing document no i not getting created .
Thanks

After save, and during SAP's update processing, a fatal error occured, causing a rollback of the transaction.  Since the user is no longer in that same transaction at this point, SAP issues the Express Document to attempt to inform that there was a failure.  Check ST22 for abend...in the meantime, check for exit coding that may be causing an error...In my previous life, working with SD/LE at lot, I was able to get these regularly by fouling up my exit coding....lol.

Similar Messages

  • 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,

  • Billing document not posing (express document "update was terminated")

    Dear All,
    I am getteing error message while doing billing document  (express document "update was terminated")
    I tried billing document for 9 customers but only this error message getting 2 customers. this is the supplementary invoice(correction invoice)
    what is reason for this error, where is the problem.

    Hi,
    Thanks for response. number range assigned. because i have posted 10 customer invoices with supplementarty concept. i got error only for two customer. Invoice correction request number is generated but billing document number is not generated and it is giving error message as express document "update was teriminated" by author (only for two customers).
    So problem something else not in number range. pls suggest me on this.
    govindaraj

  • 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

  • FMBBC Express document " Update was terminated error"

    Hi ,
    while saving data FMBBC i am getting saved message , after that if i come out of the Tcode i am getting message as
    Express document " update was terminated".I was debugging the standard code found that the error comes from SXOP table entry, This table is get filled from FM SO_EXPRESS_FLAG_SET. But this FM is called from background I think. There is no job also created.After displaying the message automatically the SXOP table entry is get deleted. I want to debug this FM or wht is the reason for displaying message.
    Regards,
    siva kumar

    Following steps may help you.
    1. GO to SM13 transaction.
    2. Check your update request.
    3. You can see exact point in the standard program where you are getting this message

  • Error : Express Document "update was terminated" by XYZ.

    Hi,
    When I am trying to process one output type that I have created, I am getting an error
    Express Document "update was terminated" by XYZ.
    Here XYZ represents my userid .
    I have linked the output type to one printprogram. If I execute the print program standalone,
    it is working fine. But if I try to process the output , I am getting the above error.
    Please suggest the needful.
    Regards
    Rudra

    Hi..
    thnx for ur reply....I got the reason for error

  • 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 :Display document : Update was terminated.While displaying the PO

    Hi All,
    I am creating a PO with respect to contract in SAP 4.6C system using ME21.PO is getting created successfully.But when I want to display the same in ME23 it giving me a message 'Display document : Update was terminated'.( an express message is getting generated to view in SBWP transaction code ).
    I went through some of SDN forums and checked the tcode SM13 to resolve the issue .I found that there is no ABAP dump got generated for the same .
    Please help me to resolve the issue ..
    Regards,
    Praveen GB.

    Hi Lakshman.
    I did that, systesm is showing below  error :
       1      ME_CREATE_DOCUMENT              V1 NORMAL         Err
    when click on that ,I got one more window with an option to check ABAP dump,But there is no ABAP dump exists for the same.
    I cheked in ST22 also there is no DUMP available for the above issue.
    Please let me know how to crack this issue.
    Regards.,
    Praveen GB

  • 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

  • Error Msg: Express Document 'Update was Terminated'  in VF02 t-code

    Hi all,
    When I click on save in VF02 transaction I am getting message that ' Express Document 'Update was Terminated'  received from author 'XYZ'.
    After saving when I am seeing in header -output the output type not appearing.
    Please Help me Its an urgent requirement.
    Regards,
    vinod

    Hi Vinod,
    there is two reasons
    1) Number range is not specied limit define billing document number range.
    path- img sd- billing -define number range and see diffenettly i hope your problam willbe solved.
    2) t.code NACE  whether you have maintained the condition record or not check other wise please maintain it.
    i hope you have understood
    if your problam is solved don't forget to reward.
    thanks& regards
    surya

  • Express document "Update was terminated" in CS62 order BOM change

    Hi All,
    I am creating one sales order BOM with reference to Material BOM. While creating BOM, we have setup BOM creation in such a way that while creation BOM status will be inactive.
    While changing status to active using CS62 transaction, I am getting error Express document "Update was terminated" from author. And after BOM created in CS61 is getting deleted automatically.
    Regards,
    Sachin

    Hi,
    There could be a database related problem. Contact your Basis Pople.
    Regards,
    Siva

  • In unicode system:  Express document" update was terminated

    Hi Friends,
    When we create a PO /  Delivery / Sales / Billing documents in UNICODE Systems
    we are getting message
    "Express document" update was terminated"
    this is coming before we save the transaction.  Could any body help on this .

    Hi,
    Express error due to many reasons,
    1. If any Sap scripts/forms using then is that unicode compliant? check if any errors
    2. Verify the SAP Notes for that service pack, as there might be some bugs in the system
    3. Verify the problem might due to user exists or BADIs.
    Regards,
    Raveendra

  • Express document "Update was terminated" received from author

    HI experts,
               while creating commercial invoice(F2) i am getting an error Express document "Update was terminated" received from author  i checked in SM13,  Error Updating Table J_1IPART2 this is the error i am getting, one more error iam getting while creating commercial invoice Excise invoice created for Billing document xxxxxxxx, and one more thing i didn't tick in excise group excise invoice during billing and i maintained dispatch number ranges for part2 also,
    Thanks
    seshu

    HI
    while creating invoice(F2) i am getting Excise invoice created for billing document,
    I think you have given the Check the option "Excise Invoice during billing " in excise group " that is the reason excise invoice is generating automatically
    1. My invoice is saving but not updating in document flow
      Excise Invoice number we can't see in  document flow in  the standard SAP
    2. after saving i am getting this error Express document "Update was terminated" received from author
    Ask your ABAPer debug the program based the error and find where you are getting the error exactly i think its number ranges issue
    3. one more thing i can create invoice again with same delivery number and invoice number range is updating, i checked accounting number range also, all those are fine
    Once invoice is done for full qty of delivery we can't create one more invoice
    4. I checked in SM13 Error updating table J_1IPART2
    5. I maintained J_1IINTPR2 number rangers for dispatch
    what is you mentioned in the point 4 & 5 table names are different make sure that which table you are maintained
    if i am wrong please correct me
    Regards,
    Prasanna

Maybe you are looking for

  • Can't Get the email address for new HP 3525 printer..

    Hello, today I received my HP Deskjet 3525. Although I am using a 3G dongle to connect my PC to internet but still I am not getting an email id for my printer on printing report page. My question is whether the printer must be connected to router to

  • Re: Online Backup Services for Mac?

    pc users have online backup services such as carbonite to choose from. Is there an equivalent backup service for Macs? My pc friend says he pays $50/year for his online service which makes more sense than having an external drive next to your compute

  • Re-install FCP Studio issues.

    I am trying to reinstall FCS on an iMac that I just reformatted and took to Lion.  I installed FCP7.0 then tried 7.03 update.  Doesn't install.  Do I need 7.01 or 7.02 first?

  • Second me mail account

    can i get a second me mail account?

  • Buttons do nothing, but can reset =S

    Hi, yesterday i went to pause my ipod to find that none of the bottons or scroll wheel function, however, i can still reset the ipod by holding Menu and Select. I have tried flicking the hold button on and off many times, reset many times with Menu a