Update Document Line in SAP version 8.8

Hello,
We have quotation document that one line was pulled to order,
We want to change the quantity of this line to the original quantity less the open quantity via DI.
In SAP version 2007 it worked fine,
but in SAP version 8.8 the update was failed,
With error -1029 internal error occurred.
Couldn't updating the quantity of line.
The code is:
document.Lines.SetCurrentLine(RplcVisOrder)
document.Lines.Quantity = document.Lines.Quantity - document.Lines.OpenQuantity
document.Update()
(The reason of this logic is for close quotation line,
and in SAP version 2007 we can not do it.)
We will be happy if someone knows this problem, and can be help us.
Thanks.

Dina,
Please see the SAP Note at this link ...
https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/smb_searchnotes/display.htm?note_langu=E&note_numm=0000842745
... is this the error that you are getting?
If you have any issues clicking on the link ... please copy and paste the entire link in your browser.
Eddy

Similar Messages

  • Update document lines user fields

    Hi,
    I'm trying to update a user field of a purchase invoice line through the DI API.
    The Update method returns 0, but the field isn't updated!
    I use this code:
    Dim RetVal As Integer
    Dim Doc As SAPbobsCOM.Documents = DirectCast(Company.GetBusinessObject(oPurchaseInvoices), SAPbobsCOM.Documents)
    If Doc.GetByKey(_CurrentDocId) Then
        Doc.Lines.SetCurrentLine(0)
        Doc.Lines.UserFields.Fields.Item("U_CONAI").Value = "Y"
        Doc.UserFields.Fields.Item("U_IB_OldProtI").Value = 987
        RetVal = Doc.Update()
        If RetVal <> 0 Then Beep()
    End If
    Updating a user field on the document (not on the lines) works fine!
    Can anyone help me please?
    I'm using SAP 8.8 SP 0 PL 11
    Thank you
    Paolo

    Hi Paolo,
    I think the reason behind the inability to change document row data, and also most of the header data, is due to both legal requirements and information transparency (mainly accounting, stock and taxes).
    I share your view that the update function should return a value other then 0 when the document is not updated. You can suggest this change by opening a post in the Product Development Collaboration forum.
    Kind Regards,
    Vítor Vieira

  • Update Document line with a new Item Code...

    Hi.
    This is all done using the DI Server.
    I am updating a sales order with two lines - it looks like this:
    ItemCode____Qty
    651_________10
    00028________5
    I update line 2 so the sales order now looks like this to this:
    651_________10
    651__________8
    All I pass in is the two values 651 and 10 (and a taxcode etc)
    Now... if I take a look at the sales orders GL - before and after the update - It looks like this
    (before)
    ItemCode_____Qty______GL Account
    651___________10_____ _SYS00000000235
    00028__________5_____ _SYS00000000237
    (after)
    651___________10_____ _SYS00000000235
    651____________8_____ _SYS00000000237
    So it does not change the GL Account to fit the new Item... It looks like I need to find the GL Revenue Account for the new item myself. How do I find this?
    Method or SQL is more than welcome...
    Regards,
    Allan C. E. Rasmussen

    Hi Allan,
    your Stored Procedure is good for GLMethod = 'L' but if GLMethod of Item is 'W' or is 'C' your code is not good.
    Case is "W"
    SELECT RevenuesAc FROM OWHS Where WhsCode = @WhsCode
    Case is "C"
    SELECT OITB.RevenuesAc FROM OITM INNER JOIN OITB ON OITM.ItmsGrpCod = dbo.OITB.ItmsGrpCod Where OITM.ItemCode = @ItemCode
    Regards,
    Claudio

  • SAP Version to be added in the subject line while posting a question.

    Hi,
    We all have been posting and answering thousands of questions on the SDN. Many times I have seen moderators asking the person who posted a question to use a correct and informative subject line.
    With respect to that, I would like to suggest the moderators to add a rule in the rules of engagement asking the users to provide the SAP Version in the subject line while posting questions.
    This way the person answering the question can appropriately provide information based on that version only and would save the time and effort of everyone.
    Example subject line can be :
    ECC 6.0 Function module xyz is not returning correct results.
    I would like to know the opinion of other users too on what they think about this suggestion.
    Best regards,
    Advait

    In theory - a very good idea.
    In practice - hard to enforce.
    On second thoght, it could be a required parameter. It might have the added benefit of dissuading questions from people who can't figure out which version they have
    Rob
    Edited by: Rob Burbank on Jan 16, 2009 3:56 PM

  • How to Use document.Lines.SetCurrentLine

    Hi there, due to an enormous amount of time spent on this issue, I thought I would share how to use the SetCurrentLine method as posted to me by SAP support:
    It seems very cumbersome, as I have now to do an extra Recorset look up to get all the lines if I want to get the correct index - but at least it works (hopefully).
    Daniel
    SUPPORTS MESSAGE ****
    the way the SetCurrentLine works is as following:
    You do not have to use neither the LineNum nor the VisOrder as your
    parameterfor the setCurrentLine method.
    The system will use the corresponding index (starting at zero)linked to
    that line when running a query on the database and sorting the lines by
    LineNum.
    #,,DocEntry,, Item ,,LineNum,,Price,,VisOrder
    1,,11669,, A1001,,,, 600,00,,
    2,,11669,, A1003,,2,, 3,00,, 2
    3,,11669,, A1005,,3,, 600,00,,1
    See example above, that is the result of querying the database on that
    sales order and sorting by LineNum.
    The order in which the items are displayed in the application is based
    on the VisOrder. In this example items are displayed A1001, A1005 amd
    A1003.
    In order to update Item A1005 I will need to create a recordset, query
    the database and then loop the recordset to find the corresponding item
    and then use that index from the recordset to set the value for the
    SetCurrentLine method. In the example above index 0 from recordset
    points at item A1001, index 1 points at item A1003 and index 2 points at
    A1005 so your code should use setCurrentLine(2) to update item A1005.
    If you try to use LineNum (3 in this case) you will get an error message
    as index 3 does not exist in the recordset collection ( only 3 items
    with indexes 0,1 and 2). If you use visOrder 1(for item A1005) then the
    system will update item A1003 as 1 is the index for A1003 in the
    recordset.
    END OF SUPPORTS MESSAGE ********

    Hi Curtis,
    Your situation sounds a little different to mine, in that I know the LinNum of the documentline that I need to update - that is what the lineNumber variable is...
    To update all the rows, I guess you would just iterate through all the lines sequencially (ie starting at 0 and ending at document.lines.count:
    for(int i = 0; i < doc.Lines.Count; i++)
        doc.Lines.SetCurrentLine(i);
        // do your thing here...
    How do you know what lines you want to update??
    Dan

  • S_ALR_80712357 'update document,update run'

    Dear friends,
    We are testing the report S_ALR_87012357, Advanced VAT return report. Accidentally we realized if we select the option 'update document, update run' but forgot to select 'batchinput session required', the report will marke the tax items and save them in table BSET, but no posting will be generated. I understand this is a mistake of user, however, I will be interested to know if SAP provides any program which can fix these incorrectly processed items, e.g. post the taxes to the vat payable account by using a special program. Or, is this a system limitation, say, user will have to run the program correctly with the respective options selected. I can not access OSS, so I am not sure if there's any OSS related to this.
    Is there anyone who can help?
    Thanks.

    Hello,
    After some tests I found the fields I was looking for,
    So once document updated , the VAT line item in BSET Table is updated via 2 Fields :
    STMDT : TAX return on
    STMTI : TAX return on
    Thank you all for your time
    Tamim

  • Slow respon when update Document Numbering

    Hi Expert,
    We have 7 branch and 4 different type of sales document. and we change our document numbering every month.
    We have use SAP Business One for a year. So, we have large number of document numbering.
    when we update and add new row in document numbering, we get slow respon. It can about 30 minutes every update.
    how can we make it faster?
    *we use 8.82 PL:08 version.
    Regards,
    Triadi Bagus

    Hi Triadi,
    Try to update Document Numbering when no user are logged on data or Ask your users to not to post any transaction during the period when you are updating Document Numbering.
    This problem arise because when user are punching transactions on database as Internal Document No Changes every time a transaction is punched on Database.
    This May be the reason.
    Hope this help!!
    Regards,
    Sudhir

  • SAP version difference from 4.0 to recent

    Hello Friends,
    I just want to know the difference between SAP versions 4.0, 4.7 & 5.0, please compare all with 4.0 version and post the reply.
    Regards,
    ninad kshirsagar

    hi
    Following are the basic differences as far as MM Module is concerned;
    Pickup list - Batch where-used list display in transaction MB56
    u2022 Until release 4.7, the top-down and bottom-up analyses in the function pickup list for batch where-used list (transaction MB5C) were displayed only in the form of simple output lists. As of release 6.00 of SAP ERP Central Component, the function pickup list for batch where-used list branches to the batch where-used list itself (transaction MB56).
    u2022 In addition, user can define how the data in the batch where-used list is displayed, in the initial screen.
    u2022 User can use all the settings available in the batch where-used list. For example, he can expand transfer posting or display vendor batch. However, it is not possible to limit the selection to valid plants in the initial screen of the pickup list.
    Usability enhancements for transaction MIGO for the posting of goods movements
    u2022 For goods movements that refer to purchase orders as reference documents (for example, goods receipt, goods issue, subsequent adjustment), user can specify the ordering plant as an additional selection criterion directly next to the purchase order number and the item number.
    u2022 There is a new default value: "copy account assignment fields." When entering other goods receipts, user can copy existing account assignment data from the previous item to use as the default values for a new item. To do this, user has to set the copy account assignment fields indicator in the default values.
    u2022 User changes the default values in the menu path "Settings -> Default Values."
    u2022 Goods movement is monitored with reference to a material document. When you enter the following goods movements, it is possible to specify a material document, such as the following, as the reference document:
    Goods receipt
    Goods issue
    Transfer posting
    Remove from storage
    u2022 Note that these material documents must be documents that have arisen from a goods movement without reference ("Others") and that are not reversal documents.
    New report : display list of invoice documents (MIR5)
    u2022 Logistics invoice verification offers a new report display list of invoice documents (RMMR1MDI), w hich user can use to display such a list (Transaction is MIR5).
    u2022 As an addition to the existing program invoice overview (transaction code MIR6), user have extended selection criteria and display options. For example, on the initial screen user can make selections by one-time customers, invoice gross amount, and entry date.
    u2022 User can also show an expert mode, which enables him to select at plant level by FI document, GL A/c posting, and Material Posting.
    u2022 In the output list, the report shows both posted and held invoices.
    u2022 It does not show invoices without a corresponding FI document; such as invoices planned for verification in the background or which the software has already verified as containing errors.
    Requirement prioritizations in materials management
    u2022 With Requirement Prioritization functionality user can assign requirement urgency at item level in purchasing and reservation documents.
    u2022 The software determines the relevant requirement priority (overall priority) of a material requisition from the combination of requirement urgency group and organizational priority.
    Mass maintenance of outline agreements
    The following two transactions available:
    u2022 Mass maintenance for contracts: transaction code MEMASSCONTRACT
    u2022 Mass maintenance for scheduling agreements: transaction code MEMASSSA
    Commitment plan for purchase contracts
    u2022 With the function of the commitment plan for purchase contracts, it is possible to pre plan value consumption for a purchase contract.
    u2022 To this end, a commitment plan is generated for each document item of the relevant contract.
    u2022 This commitment plan itself can have any number of items.
    u2022 User can define a value and a validity date for each commitment plan item.
    u2022 This enables user to pre plan different values for different periods of time.
    u2022 The software generates an earmarked fund document for a defined commitment plan item.
    u2022 This earmarked funds document can in turn contain several different items with different account assignments.
    u2022 The software adopts these account assignments from the item account assignments of the commitment plan.
    u2022 If a purchase requisition or purchase order references this contract, the earmarked funds document is copied into the purchase order, and the account assignment is adopted from that document.
    u2022 Account assignment to a different account assignment object is then no longer allowed.
    Availability check in "Enjoy purchase order and requisition"
    u2022 Display and checking of availability are invokable separately in the "Enjoy purchase order and requisition" function, in line with the software behavior on the sales side.
    u2022 User invoke the display and checking of availability in the "Enjoy purchase order" function (transaction code ME21N) and the "Enjoy purchase requisition" function (transaction code ME51N) as follows:
    To display the availability overview, choose the menu path "Environment -> Availability." - To check availability, choose the "Check Availability" icon.
    Until this release, if user carried out the availability check for an item of a stock transport order, the software adopted confirmations as per the desired date/time only.
    u2022 Two settings are possible with availability check:
    Confirmation as per desired date/time (this is the standard setting and corresponds to previous software behavior)
    Delivery proposal - Full confirmation
    External services: putting service items in the purchase order on hold (changed)
    User can put purchase orders with service items on hold if these items do not contain any errors. Purchase orders with service items can also be put on hold if errors occur only at header level or as a result of the availability check.
    Customizing transactions OX18 replaced by view
    The assigned customizing transactions have been replaced by the following view in the following implementation guide activity in customizing for the enterprise structure: Assign plant to company code: transaction OX18 replaced by view V_T001K_Assign. One will find this activity in the implementation guide under the menu path "Enterprise Structure -> Assignment -> Logistics General -> Assign Plant to Company Code."
    Goods receipt: new movement types in inventory management
    The following new movement types are available in inventory management:
    107: Goods receipt to valuated goods receipt blocked stock
    109: Goods receipt from valuated goods receipt blocked stock
    Prepayment of invoices
    This functionality is characterized as follows:
    u2022 User can trigger prepayment of vendor invoices in logistics invoice verification.
    u2022 User use the prepayment function for vendors with whom organisation has a good, long-standing relationship.
    u2022 The function enables payment soon after issue of the invoice and full exploitation of the date of required payment and existing cash discounts, by posting the vendor liabilities, taxes, and cash discounts in financial accounting in advance.
    u2022 The software executes the payment of the invoice regardless of the relevant goods receipt and the outcome of the invoice verification check.
    u2022 Most logistics invoice verification standard functions are not affected by the prepayment function.
    u2022 When the software posts invoices, it continues to execute the standard checks.
    u2022 If the software has already posted the prepayment document, user can make only restricted changes to the header fields of the invoice.
    u2022 To ensure adequate and orderly financial accounting postings, a prepayment clearing account has been added to SAP ERP Central Component.
    u2022 Upon prepayment, the software debits this account and then settles the account again after executing the check.
    Purchasing accounting information to the former SAP Business Information Warehouse
    u2022 With the transfer of the purchasing account information to the former SAP Business Information Warehouse component (whose functionality is now part of SAP Net Weaver), it is now possible to maintain Info Cubes, reports, and queries that can determine how and where the costs from purchasing documents have been assigned and controlled.
    u2022 As part of the software, a new data source (2LIS_02_ACC) has been created and the purchasing extraction process extended to cover the account information for purchasing orders, schedule agreements, and contracts.
    Automatic settlement of planned delivery costs with evaluated receipt settlement (MRDC)
    u2022 A new report (RMMR1MDC), available within the logistics invoice verification, can be used to automatically settle planned delivery costs.
    u2022 To invoke the report, from the SAP easy access screen, choose the menu path "Logistics -> Materials Management -> Logistics Invoice Verification -> Automatic Settlement -> Automatic Delivery Cost Settlement" (transaction code MRDC).
    u2022 Functionality for report RMMR1MRS is enhanced.
    u2022 User can use the report RMMR1MRS, "Evaluated receipt settlement with logistics invoice verification (LIV)" (transaction code MRRL), to settle planned delivery costs in addition to goods and service items within logistics invoice verification.
    u2022 To do so, set the relevant indicator on the initial screen of the report.
    Parking service items
    It is now possible to put service orders without errors or with commitment errors on hold.
    Report MB5B : Stock on Posting Date
    u2022 This Report is available with "Non-Hierarchy" display option which provides details of Opening, Receipt, Issue and Closing balances of Stock with quantity and value both for a given period.
    u2022 This functionality is not available in Release 4.7.
    Stock Transfer between Storage Locations
    u2022 Function of stock transport orders between storage locations is available from ECC 6.0 onwards.
    u2022 As a result of which user can input issuing storage location with supplying plant.
    u2022 Facility of using different delivery types for different issuing storage locations is available.
    u2022 Shipping Point data can also be determined based on the issuing storage location.
    Upgrading notes 4.6 to ECC6
    http://www.sap.com/services/servuptech/bestpractices/index.epx
    Solution Browser would give the differences (Features):
    http://solutionbrowser.erp.sap.fmpmedia.com/ Give source and target versions.
    Release Info:
    ECC 6.0:
    http://help.sap.com/saphelp_erp2005/helpdata/en/43/68805bb88f297ee10000000a422035/frameset.htm
    ECC 5.0:
    http://help.sap.com/saphelp_erp2004/helpdata/en/c6/feda40ebccb533e10000000a155106/frameset.htm
    You can find the difference in release notes of each SAP version.
    Here are the links.
    http://help.sap.com/saphelp_47x200/helpdata/en/fc/e3003deddfae4de10000000a114084/frameset.htm
    http://help.sap.com/saphelp_scm50/helpdata/en/28/b34c40cc538437e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/43/68805bb88f297ee10000000a422035/frameset.htm
    Regarding Upgradition From 4.6C to ECC6.0
    http://help.sap.com/saphelp_nw2004s/helpdata/en/60/d6ba7bceda11d1953a0000e82de14a/content.htm

  • Goods Reciept BAPI that updates Document Flow

    Hello,
      We are looking for a BAPI or FM that posts a goods reciept against a PO and updates document flow. Does anyone know if this exists?
      We have been using BAPI_GOODSMVT_CREATE, which will post the GR against the PO but it does not update the Doc Flow.  It is essential for Doc Flow to be updated because it posts the event in our SAP SCM EM instance. 
    Any help would be much appreciated... will award as many points possible.

    Hi,
    Check the below code:
    *********Work areas***********
    DATA : wa_mseg  type ty_mseg,
           wa_mseg1 TYPE ty_gds,
           wa_mkpf  LIKE mkpf,
           wa_lgort_sum TYPE ty_lgort_sum,
           wa_loss_data LIKE zpesloss,
           wa_zpesloss LIKE zpesloss.
    DATA : v_header   LIKE bapi2017_gm_head_01,
           v_gm_code  LIKE bapi2017_gm_code.
    DATA: wa_headret LIKE bapi2017_gm_head_ret,
          wa_matdoc TYPE bapi2017_gm_head_ret-mat_doc,
          wa_matdocyr TYPE bapi2017_gm_head_ret-doc_year.
    DATA: i_items          TYPE STANDARD TABLE OF t_items,
          i_return_goods   TYPE STANDARD TABLE OF t_return with header line,
           i_message TYPE TABLE OF bapiret2 WITH HEADER LINE.
          wa_mseg1-bwart =   '551'.
          wa_mseg1-matnr  = ws_matnr.
          wa_mseg1-umlgo  = i_mseg1-umlgo.
          wa_mseg1-lgort  = i_mseg1-lgort.
          wa_mseg1-werks  = 'SP01'.
    Header Data
        v_header-pstng_date = sy-datum.
        v_header-doc_date = sy-datum.
    Code Group
        v_gm_code-gm_code = '03'.
    ******Mandatory fields passed into BAPI***
        CLEAR i_items[].
        wa_items-material  = wa_mseg1-matnr.
        wa_items-plant     = wa_mseg1-werks.
        wa_items-stge_loc  = wa_mseg1-lgort.
        wa_items-move_type = wa_mseg1-bwart.
        wa_items-entry_qnt = wa_mseg1-lossquantity.
        wa_items-costcenter = '0000012000'.
        APPEND wa_items TO i_items.
        CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
          EXPORTING
            goodsmvt_header             = v_header
            goodsmvt_code               = v_gm_code
      TESTRUN                     = ' '
       IMPORTING
         goodsmvt_headret            = wa_headret
             materialdocument        = wa_matdoc
             matdocumentyear         = wa_matdocyr
          TABLES
            goodsmvt_item               = i_items
      GOODSMVT_SERIALNUMBER       =
          return                      = i_return_goods  .
    if i_return_goods[] is not initial.
      message i001(zespur) with  i_return_goods-message.
    stop.
    endif.
    IF i_return_goods[]  IS  INITIAL .
        lws_wait = 3.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
          EXPORTING
            wait = lws_wait.
          WAIT UP TO 1 SECONDS.
    endif.
    Regards,
    Prakash.

  • Approval templates don't fire when updating document

    I'm running trials in my test database and it appears that approval templates only work on new added documents?  SAP Business One version 8.82  I am testing a query that calculates certain criteria against the business partner's credit limit.  If there is a deviation I want the approval process to start.
    Everything works fine when I add a new sales order with a doctotal that deviates from my credit limit logic.  Approvals fire off and the user has to wait for the manager to approve.  However if I add a sales order with zero value and then go back in and update the pricing later the approval never triggers.  So users are just able to go around approvals by adding blank documents first and then updating them however they see fit.
    Am I doing something wrong or is this just how SAP B1 approvals function?  Do approval templates have any impact on updated documents?

    Do TN's throw the red bar erros at the bottom of the client's GUI?  The ones that look like this...
    I'm looking through the following documentation...
    http://scn.sap.com/docs/DOC-7034
    and I can't seem to confirm what returning @error = 1 will actually cause.

  • Reschedule does not update schedule line after upgrade

    Dear All,
    After upgrade to ECC6.0, the reschedule does not update EKET any more but it update ekpo as usual.I debugged it , before the function module SD_BACKORDER_**_SAVE everything is ok.
    I also checked the sap note for the new field in T161V.But When I choose other option about customzing. eket are updated every time when the reschdule program run.This will lead double delivery.
    Do you have any suggestion?
    Edited by: Edward on Feb 23, 2010 9:03 PM

    Hi,
    On the initial screen of V_V2
    Remove tickmark of SIMULATION, Then it will update schedule lines in sales document
    Kapil

  • Is there a document about which safari version support h264?

    I used  http://html5test.com to test safari, and found that:
    some version of safari is not support h.264(as below image), and some is support h264.
    So i want to know is there a document about which safari version support h264 and which version is not support?

    Hi Claude,
    If you have market place user access, then go to the following link, which is the PAM of Data Services 4.2
    https://service.sap.com/sap/support/pam?hash=pvnr%3D67838200100900005703%26pt%3Dg%257Cd
    Anyhow also go through the PAM of Data Services 4.1
    http://www.sdn.sap.com/irj/boc/go/portal/prtroot/docs/library/uuid/50bf92df-e586-2f10-588f-95ff347211ba?overridelayout=t…
    In the above document, page 10, its mentioned SYBASE 15.7 is compatible.
    So probably for the latest version of data services, Sybase 16 should also be hopefully compatible.
    Once you get through the PAM of DS 4.2, do update here!!
    Regards,
    Mubashir Hussain

  • Filtering document lines

    Hi ,
    I've got a Document + Document Lines form generated using the UDOFormGenerator.
    My application is possibly going to have 100's of detail lines per document header record.
    Is there a simple way to provide filtering functionality on the matrix that displays the document lines?
    Cheers,
    Ben

    Hi Ben,
    Unfortunately the solution I suggested would only work for viewing purposes.
    Maybe you could launch another screen with the filtered data not bound to the UDO
    Refrence the record numbers in a column on the new form matrix, make your changes and then update your UDO form matrix using the record number as a refrence.
    Then run your update with all records in the matrix
    I know the above is a little "dirty" and not really SAP standard, but you have no direct manipulation of UDO objects (ie Insert update delete) well not to my knowledge.
    Another option is to not use the UDO and code for the functionality you require
    Maybe someone else can suggest another way.
    Sorry

  • I've updated to the most recent version of iTunes and I can no longer see any of my old music on my mac.  All the music is still available on my ipad.  How can i download the music on my mac?

    I've updated to the most recent version of iTunes and I can no longer see any of my old music on my mac.  All the music is still available on my ipad.  How can i download the music on my mac?

    First, are you positive it is really not there?  Have you looked in your iTunes folder in your Music folder, and in the media folders there? Do you see your media files?
    If your media are gone it is a lot easier to restore from a proper computer backup.  Your i-device was not designed for unique storage of your media. It is not a backup device and media transfer was planned with you maintaining a master copy of your media on a computer which is itself properly backed up against loss. Syncing is one way, computer to device, updating the device content to the content on the computer, not updating or restoring content on a computer. The exception is iTunes Store purchases which can be transferred to a computer.
    iTunes Store: Transferring purchases from your iOS device or iPod to a computer - http://support.apple.com/kb/HT1848 - only purchases from iTunes Store
    For transferring other items from an i-device to a computer you will have to use third party commercial software.  See this document by turingtest2: Recovering your iTunes library from your iPod or iOS device - https://discussions.apple.com/docs/DOC-3991

  • How do I get a user to update to the Flash Player Version to 10.1

    I would like to find out if there is a way for a message to pop up on my website if the user has Flash Player version lower than 10.1. If the version 10.1 or higher (in the future) no message should come up. The message should prompt a user to update to the Flash Player version 10.1.
    My entire site is in Flash and I am using AS3. So I am guessing I should implement an AS3 code on the first frame of the script layer. Does anyone know what would be this code?

    O.K. I see,
    HTML code is automatically generated by Flash program.
    I am unable to give you a short answer on this and thus attaching the code I
    see in DreamWeaver:
    0) {
    versionRevision = versionRevision.substring(0,
    versionRevision.indexOf("d"));
    var flashVer = versionMajor + "." + versionMinor + "." + versionRevision;
    // MSN/WebTV 2.6 supports Flash 4
    else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.6") != -1)
    flashVer = 4;
    // WebTV 2.5 supports Flash 3
    else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.5") != -1)
    flashVer = 3;
    // older WebTV supports Flash 2
    else if (navigator.userAgent.toLowerCase().indexOf("webtv") != -1) flashVer
    = 2;
    else if ( isIE && isWin && !isOpera ) {
    flashVer = ControlVersion();
    return flashVer;
    // When called with reqMajorVer, reqMinorVer, reqRevision returns true if
    that version or greater is available
    function DetectFlashVer(reqMajorVer, reqMinorVer, reqRevision)
    versionStr = GetSwfVer();
    if (versionStr == -1 ) {
    return false;
    } else if (versionStr != 0) {
    if(isIE && isWin && !isOpera) {
    // Given "WIN 2,0,0,11"
    tempArray         = versionStr.split(" "); // ["WIN", "2,0,0,11"]
    tempString        = tempArray[1]; // "2,0,0,11"
    versionArray      = tempString.split(","); //
    } else {
    versionArray      = versionStr.split(".");
    var versionMajor      = versionArray[0];
    var versionMinor      = versionArray[1];
    var versionRevision   = versionArray[2];
             // is the major.revision >= requested major.revision AND the minor
    version >= requested minor
    if (versionMajor > parseFloat(reqMajorVer)) {
    return true;
    } else if (versionMajor == parseFloat(reqMajorVer)) {
    if (versionMinor > parseFloat(reqMinorVer))
    return true;
    else if (versionMinor == parseFloat(reqMinorVer)) {
    if (versionRevision >= parseFloat(reqRevision))
    return true;
    return false;
    function AC_AddExtension(src, ext)
      if (src.indexOf('?') != -1)
        return src.replace(/\?/, ext+'?');
      else
        return src + ext;
    function AC_Generateobj(objAttrs, params, embedAttrs)
      var str = '';
      if (isIE && isWin && !isOpera)
        str += '';
      document.write(str);
    function AC_FL_RunContent(){
      var ret =
        AC_GetArgs
        (  arguments, ".swf", "movie",
    "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
         , "application/x-shockwave-flash"
      AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);
    function AC_SW_RunContent(){
      var ret =
        AC_GetArgs
        (  arguments, ".dcr", "src",
    "clsid:166B1BCA-3F9C-11CF-8075-444553540000"
         , null
      AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);
    function AC_GetArgs(args, ext, srcParamName, classid, mimeType){
      var ret = new Object();
      ret.embedAttrs = new Object();
      ret.params = new Object();
      ret.objAttrs = new Object();
      for (var i=0; i < args.length; i=i+2){
        var currArg = args[i].toLowerCase();
        switch (currArg){
          case "classid":
            break;
          case "pluginspage":
            ret.embedAttrs[args[i]] = args[i+1];
            break;
          case "src":
          case "movie":
            args[i1] = AC_AddExtension(args[i1], ext);
            ret.embedAttrs["src"] = args[i+1];
            ret.params[srcParamName] = args[i+1];
            break;
          case "onafterupdate":
          case "onbeforeupdate":
          case "onblur":
          case "oncellchange":
          case "onclick":
          case "ondblclick":
          case "ondrag":
          case "ondragend":
          case "ondragenter":
          case "ondragleave":
          case "ondragover":
          case "ondrop":
          case "onfinish":
          case "onfocus":
          case "onhelp":
          case "onmousedown":
          case "onmouseup":
          case "onmouseover":
          case "onmousemove":
          case "onmouseout":
          case "onkeypress":
          case "onkeydown":
          case "onkeyup":
          case "onload":
          case "onlosecapture":
          case "onpropertychange":
          case "onreadystatechange":
          case "onrowsdelete":
          case "onrowenter":
          case "onrowexit":
          case "onrowsinserted":
          case "onstart":
          case "onscroll":
          case "onbeforeeditfocus":
          case "onactivate":
          case "onbeforedeactivate":
          case "ondeactivate":
          case "type":
          case "codebase":
          case "id":
            ret.objAttrs[args[i]] = args[i+1];
            break;
          case "width":
          case "height":
          case "align":
          case "vspace":
          case "hspace":
          case "class":
          case "title":
          case "accesskey":
          case "name":
          case "tabindex":
            ret.embedAttrs[args[i]] = ret.objAttrs[args[i]] = args[i+1];
            break;
          default:
            ret.embedAttrs[args[i]] = ret.params[args[i]] = args[i+1];
      ret.objAttrs["classid"] = classid;
      if (mimeType) ret.embedAttrs["type"] = mimeType;
      return ret;
    // -->
    <!url's used in the movie>
    <!text used in the movie>
    </html

Maybe you are looking for