Update was terminated: maintain output device. How to avoid?

Hi,
I created a smartform, and when it is printed, we get the error: Please maintain an output device in your user master data.
The client wants to avoid this error, without having to maintain the output device in the user master data.
So I look for the printer device in the NAST table, and pass the printer device in the output parameters when the form is being called.
But I still get the same message. Anybody know a solution for this? THX.
Here some of my code.
Select printer name
      select single LDEST from nast into v_printer_name
                         where OBJKY = NAST-OBJKY.
      output_options-tddest = v_printer_name.
      output_options-tdprinter = v_printer_name.
  call function FM_NAME
  EXPORTING
    control_parameters = control_parameters
    output_options     = output_options
    user_settings      = ' '

Hi,
Have you checked the sy-subrc value for the select statement that fetches LDEST from NAST? If the condition fails try to get the user default printer and pass it on to the smartforms.
select single LDEST from nast into v_printer_name
where OBJKY = NAST-OBJKY.
IF sy-subrc = 0.
output_options-tddest = v_printer_name.
output_options-tdprinter = v_printer_name.
else.
          wa_users-mandt = sy-mandt.
          wa_users-bname = sy-uname.
          APPEND wa_users TO i_users.
Get the user default printer.
          CALL FUNCTION 'SUSR_GET_USER_DEFAULTS'
            TABLES
              users  = i_users
            EXCEPTIONS
              OTHERS = 0.
          READ TABLE i_users INTO wa_user1 INDEX 1.
          IF sy-subrc EQ 0.
set user default printer
            output_options-tddest = v_printer_name.
            output_options-tdprinter = v_printer_name.
          ENDIF.

Similar Messages

  • Update termination Error : Maintain Output device in User master record

    Hi All,
    For transaction IW32 when print is given we have getting Update termination error : Maintain Output device in User master record.
    I have set the user_settings = Space, for output_Options passed the output device . Even for control_paramters I have passed the device while calling the Smartform . However there is no use. Still I am getting the update termination error.
    Please let me know how to solve this issue. Any OSS Note is there for this.
    Thanks in Advance!
    Regards,
    Preethi G

    Hi,
    Thanks for the reply. There is no problem in the print program .
    In the user master record , if the output device is not given and in the print program if we pass the output device. the error is coming.Is there any way to solve the issue at the print program level with out maintaining the user master.Please let me know.
    Many Thanks!
    Regards,
    Preethi G

  • Update was terminated - Class PO - Number 366 - Device ARCH does not exist

    Dear Gurus,
    We are using Automatic PO generation through ME59, we also applied one SAP note to pick the custom document type through ME59 (normally the system pick NB as standard document)
    In  MN05 - if i set as default output type 1 - print ( then the document is generating with the correct document with correct number range)
    But if i set in MN05 - default output as 2 - fax ( then i am getting this Update was terminated - Class PO - Number 366 - Device ARCH does not exist).
    Please advice
    Regards
    RS

    Dear Friend,
    Output determination for fax is not done properly. check the device connnectivity.
    SPRo>>Maintain Message type of PO
    For the particular document type - i have removed the default PO Print out settings - now its working fine. Is this the right way?
    Please advice
    RS

  • Update was terminated when trying to issue print output using VL02N tcode

    Hi friends,
    I am getting follwing error when trying to issue print output using VL02N tcode:
    Error: Update was terminated.
    When seen in SM13 i saw following info for function module RV_MESSAGE_UPDATE,which was showing error:
    Error Info: MC 601: Object requested is currently locked by user RAMU.
    When seen in SM12,i don't find any lock by above user RAMU(which is my user id itself).
    I request please give me some inputs on how to avoid this error.
    Thanks & Regards
    Seshagiri

    Hi Nam,
    This probelm is becuase you are trying to enter a record for which primary key already exists in the table.
    The insertion you are doing with a set of values which already exist and sap is getting this error that the "Duplicate record during insertion". try to check your insertion values and through se16 check if they already exist in the table mkpf.
    To rectify the data or else change the table and add one more unique to the primary key.
    Abhishek Purwar
    http://abhishek.purwar.googlepages.com

  • Update was terminated error while trying to attach output type to VA22

    Hi
    We are getting the below message while trying to attach output type to quotation in VA22 transaction
    Can you tell us what exactly the problem is?
    It doesn't happen with other output types...
    Update was terminated
    System ID....   PEQ
    Client.......   300
    User.....   Swetha
    Transaction..   VA21
    Update key...   1CB83C9AAEF946C8A1CDE4E19BC94479
    Generated....   19.05.2008, 08:22:54
    Completed....   19.05.2008, 08:23:41
    Error Info...   Application area: /SMB40/SSFCOMPOSER  , message no.: 002, no entry found in T100
    Regards
    Sudha

    Hi ,
    Please check the message in the table - T100 using transaction se11. You might get the answer.
    Thanks
    vamshi

  • How to rectify this error "Update was terminated" when i save the tcodeMe42

    Hi,
    I am working in Me42 transaction, after filling the messages when i give save its throwing an error message
    "Update was terminated" received from author" Author name".
    Why is error occuring what is the cause how to rectify

    Hi anitha,
    1. This error is occuring
       when the transaction data is being posted,
       in the background via update task.
      (using update FM)
    2. goto tcode SM13
       to analyse the error.
      (u may take help of basis team)
    regards,
    amit m.

  • How to resolve the problem of "Update was terminated" when posting

    hello,
    please give me a favor. I met a big problem when running FB01, the system give me the error message: Express document "Update was terminated" received from author. I test all clients, all of them have the same problem, how to resolve.
    I use SAP ECC6.0 IDES, the error messages recorded by SM16 are:
    DDIC_TYPE_INCONSISTENCY
    SAPLGIVA
    FGVALATT
    16
    //bas/700_REL/src/krn/runt/abucutil.c#2
    ab_RxDdicTypeError
    1053
    20070528145604
    8176
    81920
    0
    37628064
    3299600
    879552
    DG
    SAP (R) - R/3(TM) Callstack, Version 1.0
    Copyright (C) SAP AG. All rights reserved.
    Callstack without Exception:
    App : disp+work.EXE (pid=5564)
    When : 5/28/2007 14:56:4.843
    Threads : 2
    Computer Name : EXXEPT01
    User Name : SAPServiceER1
    Number of Processors: 2
    Processor Type: x86 Family 6 Model 15 Stepping 6
    Windows Version : 5.2 Current Build: 3790
    State Dump for Thread Id d10
    eax=00000201 ebx=00000484 ecx=00000210 edx=04bcf0de esi=00000484 edi=00000000
    eip=7c82ed54 esp=053cd608 ebp=053cd678 iopl=0 nv up ei pl zr na po nc
    eip=7c82ed54 esp=07e5fec0 ebp=07e5ff04 iopl=0         nv up ei pl zr na po nc
    cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00000246
    function : KiFastSystemCallRet
            7c82ed54 c3               ret
            7c82ed55 8da42400000000   lea     esp,[esp]              ss:07e5fec0=7c821514
            7c82ed5c 8d642400         lea     esp,[esp]              ss:29d6e4d3=????????
    FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
    07e5ff04 010f51e5 000006e0 00000000 00000000 0613e580 ntdll!KiFastSystemCallRet
    07e5ff84 7c349565 00000000 00000000 00000000 0613e618 disp+work!SigIMsgFunc [signt.c (594)]
    07e5ffb8 77e66063 0613e618 00000000 00000000 0613e618 MSVCR71!endthreadex
    07e5ffec 00000000 7c3494f6 0613e618 00000000 00000000 kernel32!GetModuleFileNameA
    -cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00200246
    function : KiFastSystemCallRet
    7c82ed54 c3 ret
    7c82ed55 8da42400000000 lea esp,[esp] ss:053cd608=7c822124
    7c82ed5c 8d642400 lea esp,[esp] ss:272dbc1b=????????
    FramePtr ReturnAd Param#1 Param#2 Param#3 Param#4 Function Name
    053cd678 77e6ba12 00000484 ffffffff 00000000 053cd6ac ntdll!KiFastSystemCallRet
    053cd68c 0100a516 00000484 ffffffff 00000002 00000001 kernel32!WaitForSingleObject
    053cd6ac 0055ab69 0055aba2 7c38b5c8 7c38b5c8 7c38b5c8 disp+work!NTDebugProcess [ntstcdbg.c (449)]
    053cd6b0 0055aba2 7c38b5c8 7c38b5c8 7c38b5c8 01d28c78 disp+work!NTStack [dptstack.c (1365)]
    053cd6cc 0055abd6 7c38b5c8 00000000 00852a87 7c38b5c8 disp+work!CTrcStack2 [dptstack.c (352)]
    053cd6d8 00852a87 7c38b5c8 00000000 005f0059 00310030 disp+work!CTrcStack [dptstack.c (182)]
    053cd6fc 00855dd9 00000020 a02899f8 a02b037c 00000000 disp+work!rabax_CStackSave [abrabax.c (6842)]
    053cd7d4 007fa810 0141ec20 0141ebf0 0000041d 203ec5e0 disp+work!ab_rabax [abrabax.c (1213)]
    053cd7ec 00a1d65f a0284050 0000007b 053cd868 00000000 disp+work!ab_RxDdicTypeError [abucutil.c (1053)]
    053cd818 00a1d747 a02a4fe0 a02a4fe0 a02a4fe0 00000000 disp+work!FirstLevelChildCnt [scsypar.c (3423)]
    053cd894 00a1dca1 053cd8cc a02a4fe0 053d0d20 053d0ce4 disp+work!UcTypeToTree [scsypar.c (3578)]
    053d0d28 00a1dd69 053d0d44 a02a4fe0 00000000 a02a4fe0 disp+work!UcTypeToFragView [scsypar.c (3845)]
    053d0d70 00a170f0 a02a4fe0 104e3ac8 00000000 00a0cfa7 disp+work!sc_tparUcFragView [scsypar.c (3897)]
    053d0d80 00a0cfa7 a02a4fe0 00000000 0295d6d4 a01bc106 disp+work!sc_loadflds [scsytyp.c (813)]
    053d0d9c 00a1aafa a01bc106 0295d6d4 00000000 0295d6d4 disp+work!sc_ddictab [scsyddic.c (166)]
    053d0ef8 00a1b4f8 00000004 053d0f20 a01bc106 0295d6d4 disp+work!simple_type_find_1 [scsytyp.c (2999)]
    053d0f24 00a1b762 a01bc106 00000004 0295d6d4 0000000b disp+work!sc_complex_type_find [scsytyp.c (2621)]
    053d0f4c 00a13e2b a01bc106 0000000b 00000000 0295d6d4 disp+work!sc_ctypid [scsytyp.c (2447)]
    053d0f6c 00b8c83a 00000001 00000005 00000002 053d7a1c disp+work!sc_typid [scsymb.c (1733)]
    053d79d4 009d2f1d 000000d1 0294d7d4 02939df8 02939d94 disp+work!rs_expan_abap [rsabap32.c (1241)]
    053d79e8 00a08072 000000d1 053d7b04 a01bc0f4 00000000 disp+work!sc_expan [rsyn6.c (2228)]
    053d7adc 00a076df 00000000 053d7b04 00000000 00000005 disp+work!parse [rsyn4.c (1398)]
    053d7b1c 00a5c027 00000076 00000000 00000001 00000001 disp+work!sc_check [rsyn4.c (402)]
    053d816c 00b2b436 00000000 06474310 06495096 00000000 disp+work!sc_inclu [rsyn31.c (1675)]
    053debd4 009d2f1d 00000076 0294d7d4 02939124 02939114 disp+work!rs_expan_abap [rsabap31.c
    053debe8 00a08072 00000076 053ded04 a01ae0f0 00000000 disp+work!sc_expan [rsyn6.c (2228)]
    053decdc 00a076df 00000000 053ded04 00000000 00000005 disp+work!parse [rsyn4.c (1398)]
    053ded1c 00a5c027 00000076 00000000 00000001 00000001 disp+work!sc_check [rsyn4.c (402)]
    053df36c 00b2b436 00000000 00000000 00000000 00000000 disp+work!sc_inclu [rsyn31.c (1675)]
    053e5dd4 009d2f1d 00000076 0294d7d4 02939124 02939114 disp+work!rs_expan_abap [rsabap31.c
    053e5de8 00a08072 00000076 053e5f04 a01a00ec 00000000 disp+work!sc_expan [rsyn6.c (2228)]
    053e5edc 00a076df 00000000 053e5f04 00000000 00000000 disp+work!parse [rsyn4.c (1398)]
    053e5f1c 00a08b07 0295ba90 053e9c88 053e64c8 009ce139 disp+work!sc_check [rsyn4.c (402)]
    053e5f2c 009ce139 00000000 00000000 00000000 053e64a0 disp+work!sc_checkStart [rsyn4.c (24
    053e64c8 007e0f7f 053e9c88 00000001 00000000 00000000 disp+work!cg_generate [cgmain2.c (65
    053e6510 0057a552 053e9c88 00000000 00000000 053ec954 disp+work!ab_gabap [abgen.c (1592)]
    053e9cf8 007e1558 00000041 a0828954 00000000 00000000 disp+work!dy_gen_abap [dynpabsv.c (2
    053ec914 00656064 a0828954 00000000 00000000 00000000 disp+work!ab_genprog [abgen.c (1345)
    053ec964 006566ab a0828954 00000000 00000001 053ec9a4 disp+work!newload [abload1.c (388)]
    053ec990 0065673b a0828954 00000001 053ec9a4 00000000 disp+work!ab_LoadProgOrTrfo [abload1
    053ec9a8 0072796a a0828954 00000001 00000000 00000000 disp+work!ab_LoadProg [abload1.c (77
    053ecadc 00708d14 00000000 a016ff64 0000001e 00003623 disp+work!ab_link [ablink.c (381)]
    053ecb04 0070c9c0 a016ff64 0000001e 00000000 a0828954 disp+work!perform_load [abperf.c (68
    053ed0bc 0067af78 00000003 a080fd88 00000000 053ed124 disp+work!ab_jxper [abperf.c (478)]
    a016ff64 80000000 005f004c 80000000 00000044 80000000 disp+work!ab_extri [abextri.c (552)]
    005f0025 458bec8b b1908a08 56000000 8a0c758b 0000b18e <nosymbols>
    005f0025 458bec8b b1908a08 56000000 8a0c758b 0000b18e <nosymbols>
    55c3c95b 00000000 00000000 00000000 00000000 00000000 <nosymbols>
    State Dump for Thread Id 14ec
    eax=00000001 ebx=00000103 ecx=fffffffe edx=05580000 esi=00000000 edi=00000000
    eip=7c82ed54 esp=07e5fec0 ebp=07e5ff04 iopl=0 nv up ei pl zr na po nc
    cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000246
    function : KiFastSystemCallRet
    7c82ed54 c3 ret
    7c82ed55 8da42400000000 lea esp,[esp] ss:07e5fec0=7c821514
    7c82ed5c 8d642400 lea esp,[esp] ss:29d6e4d3=????????
    FramePtr ReturnAd Param#1 Param#2 Param#3 Param#4 Function Name
    07e5ff04 010f51e5 000006e0 00000000 00000000 0613e580 ntdll!KiFastSystemCallRet
    07e5ff84 7c349565 00000000 00000000 00000000 0613e618 disp+work!SigIMsgFunc [signt.c (594)]
    07e5ffb8 77e66063 0613e618 00000000 00000000 0613e618 MSVCR71!endthreadex
    07e5ffec 00000000 7c3494f6 0613e618 00000000 00000000 kernel32!GetModuleFileNameA
    -FAGLFLEXT
    123
    700 Windows NT 2x Intel 80686 EXXEPT01 ORACLE ER1 EXXEPT01
    700
    NT 5.0 2195 Service Pack 4 x86 MS VC++ 13.10
    OCI_10103_SHARE
          Gregory

    Hello Greg,
    Thank you for this question. What you are reporting looks to me like requires deeper analysis in the system. The channel for such questions is the Service Marketplace <i>http://service.sap.com/.</i> Please post it there.
    Thank you!
    Kind regards, Kyoko

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

  • Maintain output device in user master data

    when we try to print the Purchase order smartform we are getting the
    following update terminated error message.
    " Please maintain output device in user master data".
    1. If we maintain output device in my user profile as any printer name
    then we are not getting the update terminated error message.
    2. when we select the network printer it is always printing
    using the output device maintained in the user profile (example
    LOCL). it is not printing using network printer.
    when we select the network printer it should overwrite the user profile
    output device.
    Can we have the network printer selected irrespective of the printer
    maintained in the user profile?
    Please provide the solution
    Title was edited by:
            Alvaro Tejada Galindo

    Hi
    If you mention printer as LOCL the system will use network printer and the printer will be controled by Windows.
    If you specify printer name the printer will be controled by SAP.
    I hope now you can re-analyze your issue.
    Regards
    Surya.

  • SP02 is showing that update was terminated

    Hi Friends,
    Can anyone guide me in the below problem
    After going to change mode of transaction when i go to message and i have done repeat output and further data and communication methods.
    After that i have saved document.
    After that when i enter into transaction SP02 it is showing that update was terminated.
    it is showing a message that List contain no data.
    plz help me how to proceed and what r required for this problem.
    and plz say me how can we get the unit test reports for the developments

    Welcome to the Apple Community Fitzer123.
    If your problem persists get yourself a micro USB cable (sold separately), you can restore your Apple TV from iTunes:
        1.    Remove ALL cables from Apple TV. (if you don't you will not see Apple TV in the iTunes Source list)
        2.    Connect the micro USB cable to the Apple TV and to your computer.
        3.    Reconnect the power cable (only for Apple TV 3)
        4.    Open iTunes.
        5.    Select your Apple TV in the Devices list, and then click Restore.
    (You may already have a micro USB cable if you have a camera or other digital device)

  • 'update was terminated' while creating billing document VF01

    Hi all,
             i need a solution urgently ..except for paticular document no all documents that i post using VF01 create successfully document no.
    but for a paticular document no(may be it is of some type that i am unable to) while creaing billing document no it gives a message 'document created successfully' ,but when i try to click any button after that e.g BACK it shows a messge 'Update was terminated  for author ....' in my inbox. and vf03 shows the documentdoesn't exist.
    in st22 i checked one dump . when i gave a break point at that point the cursor never reached the code.
    I also checked SM13 and it showed all fms as init. and one fm 'RV_MESSAGE_UPDATE ' as error . i aws unable find the fm in the main program .
    one more thing when i create bill document for other document type it shows messge 'Document saved ....(no accounting document created)' but for this one i am getting messge 'document saved.......' .
    I asked one collegue he told me might be some OSS notes required for it . i am working on a unicoded system ECC 6.0  version.but he is not sure .
    Has any body faced the same problem..and what was the soln....if oss notes are required than how could i find it..and what was the no...........
    THANKS IN ADVANCE ...................

    THANKS  for the reply.
    i am new to sap .can u tell me in detail where actually i can check for number range of the document . one more when i checked the sm13 and  started debugging it gave me for a certain character set  (may be in chineses) present in the table ,the transfer command gives a dump. now the problem is it is too long 132 and don't no forwhich character it gives an  dump.how can i check the characters maintained in the system. it gives a dump   CX_SY_CONVERSION_CODEPAGE   ,At the conversion of a text from codepage '4102' to codepage '4110':      
    i am not sure this causes the mesages 'Updation was terminated' . what u people think.
    thanks ..

  • 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

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

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

Maybe you are looking for