N9: PR1.1 update using terminal failed

Nokia N9, 16GB black, unbranded, Switzerland
059L5D0, Version 10.2011.34-1.232.2_PR_232 (PR 1.0 I guess)
No PR1.1 using neither using OTA , nor the updater for PC.
Found a post on updating using the terminal (apt-get update), but it fails writing the following code:
~ # apt-get update
Get:1 exec:////usr/bin/osa --packages
Ign https://downloads.maemo.nokia.com ./ Release.gpg
Ign https://downloads.maemo.nokia.com ./ Translation-en_US
Hit https://downloads.maemo.nokia.com ./ Release.gpg
Ign https://downloads.maemo.nokia.com ./ Translation-en_US
Hit https://downloads.maemo.nokia.com ./ Release.gpg
Ign https://downloads.maemo.nokia.com ./ Translation-en_US
Ign https://downloads.maemo.nokia.com ./ Release
Hit https://downloads.maemo.nokia.com ./ Release
Hit https://downloads.maemo.nokia.com ./ Release
Err https://downloads.maemo.nokia.com ./ Packages
The requested URL returned error: 404
Ign https://downloads.maemo.nokia.com ./ Packages/DiffIndex
Ign https://downloads.maemo.nokia.com ./ Packages/DiffIndex
Hit https://downloads.maemo.nokia.com ./ Packages
Hit https://downloads.maemo.nokia.com ./ Packages
Fetched 138kB in 12s (10.7kB/s)
W: Failed to fetch https://downloads.maemo.nokia.com/harmattan/232/./Packages.gz The requested URL returned error: 404
E: Some index files failed to download, they have been ignored, or old ones used instead.
~ #
Any ideas or techie tips to solve this? Thanks

This is brilliant news!! I know Nokia are often quite secretive regarding changes and bug fixes in firmware, but there appears to be a serious issue with a number of 64GB devices (particularly Austrian black 64GB handsets). Serious stability issues, random reboots and app crashes plaguing a number of these devices
Do you know if there might be a fix to address this particular problem?
The N900 suffered a similar random reboot issue just after launch that was completely fixed in the first firmware release (start of 2010). The key thing here is many users are waiting to send back their phones if they are genuinely faulty but at the same time, many will wait to try PR1.1 if it addresses this problem.
Do we know if there have been any stability improvements, particularly targetting Finnish made 64GB models?
I have mine boxed to be sent back to the supplier today (to order again at a later date), if PR1.1 solves the problems I'll definitely hold off and I'm sure a number of other users will too.

Similar Messages

  • Encrypt foler using Terminal fail?

    I followed the instruction on this website which teaching ppl how to zip & encrypt a file or a folder using terminal.
    I have successfully zip & encrypt a folder with a file inside; however, when I tried to zip & encrypt a folder that has many files and subfolders, it failed.
    I am not sure what I did wrong. Can anyone please help?!
    *** the size of the folder is 18.8 GB
    Below is the image what I did using Terminal for reference:

    Zip file encryption is not the best option. If the files are only going to be accessed on your Mac (or on any Mac), then your best bet would be to use an encrypted disk image, which can be set up by opening Disk Utility and then choosing File > New > Disk Image from folder. In here you will have options to encrypt the new image, and also compress it to save space. This will serve the same purposes as zipping the files, but also give you better security and a more robust container for the files on Mac systems.

  • Update was terminated occured when using different id

    hi all,
    when im using va21, when to save the document, i got update was terminated
    System ID....   EN5
    Client.......   801
    User.....   RAFIDAH_M
    Transaction..   VA21
    Update key...   4AA079B64CEA4392E1000000AC200115
    Generated....   04.09.2009, 10:52:09
    Completed....   04.09.2009, 10:52:10
    Error info...   TD 423: CONTROL_FORM
    but why the other user not get the error message when he using the same document?
    it is control by user id??
    how to check?? please assist me...

    i click at SM13
    User:     RAFIDAH_M   Client:   801 Transaction:VA21                             
    Date:     08.09.2009Time:     11:49:47Report:   SAPMV45A                         
    Update key:   4AA4B237B9FE228BE1000000AC200115Status: Error (no retr                                                                               
    Number Module name (function)         Type                 Status                                                                               
    1  HANDLE_TEXT_ARRAY_AFTER_COMMIT V1                   Initial               
         2  RV_SALES_DOCUMENT_ADD          V1 (no retry)        Initial               
         3  SWE_EVENT_CREATE_IN_UPD_TASK   V1                   Initial               
         4  MCV_STATISTICS_UPD_V2_ORDER    V2                   Initial               
         5  STATUS_UPDATE                  V1                   Initial               
         6  OBJECT_NUMBER_INSERT_VB        V1                   Initial               
         7  RV_MESSAGE_UPDATE              V1                   Error (no retry)      
    then double click at line 7
    it showed
    Function Module        RV_MESSAGE_UPDATE                                                                               
    Status                 Update was terminated                                                                               
    Report                 LSTXCU05                                                                               
    Row                    37                                                                               
    Error details   Class:     TD         Number:    423                           
    TD 423: CONTROL_FORM                                                                               
    i got to the program, line 37
    i put the breakpoint at here but when to do again VA21 its not going here
      if rstxc-tddebug = true.
        perform debug_control_form using command.
      endif.
      if rstxc-tdopen = false.
        call function 'SAPSCRIPT_MESSAGE_DEF'
             exporting no = 423
                       v1 = 'CONTROL_FORM'.
        perform exception.
        message a423 with 'CONTROL_FORM' raising unopened.
      endif.
      if rstxc-tdclose = true.
        call function 'SAPSCRIPT_MESSAGE_DEF'
             exporting no = 443
                       v1 = 'CONTROL_FORM'.
        perform exception.
        message a443 with 'CONTROL_FORM' raising unstarted.
      endif.
    please xpert how should i do?

  • 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

  • Segmentation Fault using Terminal after OS update to 10.6.3

    Hi folks, I did a search on the web and on this site for this info and couldn't find anything so I'm posting...
    I run gnu backgammon using terminal, which launches X11 to run the app. This has been working fine until today, after I updated to 10.6.3. I upgraded first thing this morning and the program ran fine for a few hours. I shut it down and later restarted it and I now get "segmentation fault, process ended"
    Can't find anything to help me get this resolved. Can anyone help?

    TomPDX and others:
    I've just updated to 10.6.3 and have found this segmentation fault.
    But it didn't do that immediately:
    First, it chugged away taking up 99% of the CPU. I left it overnight thinking it was just rebuilding it's databases like the first time it ran.
    Next morning I found no GNUBG. Manual restart from the command line showed segmentation fault.
    Any news on this ? I had a quick look at the gnu home page but can't find any discussion there.

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

  • SAP office Express info-the UPDATE is terminated as received from the user"

    Hi Sap Gurus,
    I am facing a problem which I failed to find out why.
    The case is in Network Activity I have attached components of Type "N" type i.e, non stock item.I tried to run MRP but with no effect.
    Now the problem is whenever I am trying to attach further components of "N" type & save it ; s message is coming thru {{ SAP office Express info }} stating that {{Express document " the UPDATE is terminated as received from the user" X ".
    Where from this message is getting generated & that to only for " n " type component.
    How to eleminate this error.
    2. Same problem is coming at the time of creation of user defined Characteristics.
    This has become very urgent otherwise I could not proceed further.
    Pl. Help.
    I am attaching the screen shot of the problem .
    Regards,
    A. Bose.

    Hi,
    Please use the T.code SM13 where there was an error and  click on the Repeat update icon
    Check the Error.
    Also check T. Code: ST22.
    Is the number range assigned to the Purchasing documents in OMH7, or are they exhausted. check if any workflow or user exit is active.
    hope it helps.
    thanks,
    Reward points if found useful.

  • Error 'Update Was Terminated' - While clearing an open item

    Hi,
    We are facing a problem where we receive an error - "Update Was Terminated" when we try to clear some entries for 3-4 vendors (posted in period 12 of year 2006. it happens only for those 3-4 vendors). We have identified the problem as follows:
    1) We ran program SAPF190 and found that there is a defference in the 'debit balance' and Total of line items' for these vendors. I ran program SAPF71 (in Quality server) which rectified some entries. However, some entries still remain incorrect and these entries that still remain incorrect are ones - "which have a posting date of 10 oct 2006, but the posting period picked up by the document header is period 12, instead of period 7". Now, some other documents posted for the same vendor on the same date have picked up the correct posting period i.e. 7. I am really baffled at how this actually happened and howcome the system allowed it??
    2) After running program SAPF190, there were some entries that got corrected (these entries were just not captured by the system in the balance field, and did not have the same problem as the entries mentioned above where the wrong posting period was picked by the system). When i tried to clear the line items for the vendors whose entries had been rectified, it still gve the update error. When i checked the number range status, i noticed something very odd:
    "The number range status shows a number much higher than what the system is automatically picking for the documents (e.g system picks 230 as the document number when posting, but the number range staus in FBN1 shows current number as 256). Also, once 256 is reached (i posted 26 documents for it) and we post the 257th document, the error remains and the status number now moves up 100 places to 356). At this time if i post another document it picks the number 258 instead of 356...and if i keep posting documents till 356 is reached, im sure when i post the 357th document, the status will jump to 456)
    Can someone please help me here!! I dont understand how and why this is happening!!
    Thanks!!
    Regards,
    Angad

    >
    Ravi Sankar Venna wrote:
    > Hello,
    >
    > Please let me know the ERROR name you are getting and what is the transaction code you are using to clear. (F.13 or F-44)
    >
    > Try to analyze the dump in ST22.
    >
    > Regards,
    >
    > Ravi
    Hi,
    The error is "Update was terminated" . It sends this message to my inbox!! After searching a bit i found about the two reports - SAPF190 and SAPF071. After running them i found some balance mis-match. I ran the two programs and it rectified those mis-matched entries!! However, even after that, it is giving me the same "update was terminated" error. We are using F-44 for clearing.
    This error is coming only for those entries which we had posted using a user-exit. Basiaclly these are entries for late payment which were programmed to be posted directly at the time of invoicing. I just checked the code of the exit, and these entries were (astonishingly) made directly into the BKPF and BSEG tables (infact the posting period was hard-coded to '12', which is why even when my posting date for these documents is 10.10.2006, it still enters posting period '12' in the header instead of '7'.). Therefore, there were balance mis-match when we saw the monthly balance in FK10N and compared it with the line items total for that month. However, on running report SAPF071, it corrected those entries, but the update error problem still persists!!
    The exact error:
    Update was terminated
    System ID....   QAS
    Client.......   100
    User.....   MOHGYA323233
    Transaction..   FB1K
    Update key...   4A206A2D00E5001202000000C0A80A35
    Generated....   04.06.2009, 11:24:59
    Completed....   04.06.2009, 11:24:59
    Error info...   F1 805: Clearing: Line item 001

  • Firefox update is constantly failing and is stuck in a loop. I don't know how to bypass this. Help

    When I start firefox, it automatically tries to install an update. This fails and it repeats, getting stuck in a loop which I can not get out of. Consequently, I am unable to open firefox and use the internet on this program. I have clicked ok, closed the dialogue box and ended the program using the task manager. None of these have worked. I prefer using firefox to other browsers but have had to return to internet explorer for the time being.
    Do I need to uninstall and reinstall firefox or is there another option?

    See http://kb.mozillazine.org/Software_Update (Software Update not working properly)
    Remove the files in the updates and updates\0 folder:
    C:\Documents and Settings\<user>\Local Settings\Application Data\Mozilla\Firefox\Mozilla Firefox\updates
    (%USERPROFILE%\Local Settings\Application Data\Mozilla\Firefox\Mozilla Firefox\updates)
    Do a clean reinstall:
    * Download a fresh Firefox copy from http://www.mozilla.com/firefox/all.html and save the file to the desktop.
    * Uninstall your current Firefox version and remove the Firefox program folder before installing that copy of the Firefox installer.
    * Don't remove personal data when uninstalling.
    * It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.

  • Updating hybrid configuration failed - Kerberos authentication: The network path was not found

    I'm configuring Exchange 2010 SP3 as a Hybrid server with Exchange Online. This is a single server running Exchange roles Mailbox, Client Access, Unified Messaging and Hub Transport.
    When I run the Manage Hybrid Configuration, I receive the following error:
    Updating hybrid configuration failed with error
    'System.Management.Automation.Remoting.PSRemotingTransportException: Connecting to remote server failed with the following error message : WinRM cannot process the request. The following error occurred while using Kerberos authentication: The network
    path was not found.
    The full text from the Hybrid Configuration log file (C:\Program Files\Microsoft\Exchange Server\V14\Logging\Update-HybridConfiguration)
    [1/5/2014 21:21:1] INFO:Opening runspace to
    http://[servername]/powershell?serializationLevel=Full
    [1/5/2014 21:21:1] INFO:Disconnected from On-Premises session
    [1/5/2014 21:21:1] ERROR:Updating hybrid configuration failed with error 'System.Management.Automation.Remoting.PSRemotingTransportException: Connecting to remote server failed with the following error message : WinRM cannot process the request. The following
    error occured while using Kerberos authentication: The network path was not found. 
     Possible causes are:
      -The user name or password specified are invalid.
      -Kerberos is used when no authentication method and no user name are specified.
      -Kerberos accepts domain user names, but not local user names.
      -The Service Principal Name (SPN) for the remote computer name and port does not exist.
      -The client and remote computers are in different domains and there is no trust between the two domains.
     After checking for the above issues, try the following:
      -Check the Event Viewer for events related to authentication.
      -Change the authentication method; add the destination computer to the WinRM TrustedHosts configuration setting or use HTTPS transport.
     Note that computers in the TrustedHosts list might not be authenticated.
       -For more information about WinRM configuration, run the following command: winrm help config. For more information, see the about_Remote_Troubleshooting Help topic.
       at System.Management.Automation.Runspaces.AsyncResult.EndInvoke()
       at System.Management.Automation.Runspaces.Internal.RunspacePoolInternal.EndOpen(IAsyncResult asyncResult)
       at System.Management.Automation.Runspaces.RunspacePool.Open()
       at System.Management.Automation.RemoteRunspace.Open()
       at Microsoft.Exchange.Management.Hybrid.RemotePowershellSession.Connect(PSCredential credentials, CultureInfo sessionUiCulture)
       at Microsoft.Exchange.Management.Hybrid.Engine.Execute(ILogger logger, String onPremPowershellHost, PSCredential onPremCredentials, PSCredential tenantCredentials, HybridConfiguration hybridConfiguration)
       at Microsoft.Exchange.Management.SystemConfigurationTasks.UpdateHybridConfiguration.InternalProcessRecord()'.
    I have sought help, posting on the forum at community.office365.com -
    http://community.office365.com/en-us/forums/158/t/212265.aspx. But I've got to a point where I believe the problem is more to do with how PowerShell is operating on the on-prem Exchange server.
    Has anyone else come across this problem running the Hybrid Configuration Wizard?

    Hello Darrell,
    Have you verified the settings of Powershell virtual directories for the on-premises Exchange Servers? The following article has a list of some common issues with that virtual directory and how to correct them:
    http://technet.microsoft.com/en-us/library/ff607221(v=exchg.80).aspxI would take a look at the one titled "Configure Kerberos Authentication" specifically to ensure everything
    looks good.
    As the article states you can run the Exchange BPA and it will check if any of these exist as well.

  • Update was terminated error is coming?

    Hello experts,
      I got an error while creating a process order.System allowing to create a process order after saving througing an error
    " Express document "Update was terminated" received from author "GLP Developer"
    'Error Info... 00 671: ABAP/4 processor: SAPSQL_ARRAY_INSERT_DUPREC".
    I did changed the number ranges for a particular order type.Created one order and prcessed.But again getting the same error while processing second order.

    Hi max,
       Thanks for your immediate response.We removed all number ranges .related process order again assigned the new number ranges  000000200001 to 000000299999 are not used earlier.In this case while creating a process orders  it is getting updated randomly and showing present number in number range as 20011.If we see  5 process orders only able to see in system even I created 11 orders. For remaining orders it is showing not found tried continuously creating process orders in COR1 transactions and checking for updating in display mode.Same thing some orders or missing.FOr missing orders it is shoeing the above error.
    Please respond.
    Thanks in advance,
    Charan

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

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

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

Maybe you are looking for