Color Management Not Working Correctly with 2 Displays

At work I am using two calibrated monitors connected to a Mac Pro. One of the monitors is a hardware calibrated wide-gamut NEC Spectraview, the other one is a software calibrated Apple Cinema Display.
It seems like Adobe products only ever display correct colors for the one monitor that happens to be the main monitor. When “Displays have separate Spaces” is off in the system preferences, it is the monitor that has the menu bar. When that setting is on, it is the monitor that was active while the application launched.
The main monitor always seems to display proper colors, while the secondary monitor shows exaggerated colors. It seems to me, like the applications only ever read the profile for the main monitor.
I have noticed this behavior with Bridge and After Effects. I am not entirely sure about Photoshop, since I only ever use it on the wide gamut monitor, but it seems like it does NOT have the issue. I do not use any other Adobe applications.
I had noticed this behavior back in Snow Leopard while using CS5 and CS6, but I never said anything, because I was using an outdated system. I was now moved to a new Mac with the most current version of Mavericks and the most current Creative Cloud versions of these apps and it seems like the issue remains.

https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform for bug reports

Similar Messages

  • Is prompted filter not working correctly with calculated items

    Hello,
    I am working on OBIEE 11.1.1.3 and having problem problem linking 2 analisys with action link
    The test case is:
    I have 2 attribute columns on a dimension
    1. Conto 1 Code
    2. Conto 1 Dsc (in RPD i set up the property Descritor ID of -> Conto 1 Code)
    3. Conto 2 Code
    4. Conto 2 Dsc (in RPD i set up the property Descritor ID of -> Conto 2 Code)
    5. Conto Detail
    and 1 measure on the fact table
    1. Revenue (defined on RPD as simple sum)
    On presentation layer i have the analisys:
    1.
    The First one using as Criteria: Conto 1 Dsc | Conto 2 Dsc | Revenue
    The layout is a table with sub-total on Conto 1 Dsc
    On Revenue i created an action link to the second analisys containing
    2.
    Criteria: Conto 1 Dsc | Conto 2 Dsc | Conto Detail | Revenue
    Filters: Conto 1 Code (is prompted) | Conto 2 Code (is prompted)
    This pair of analisys are working fine.
    Then i created a second pair of analisys as:
    1.
    Criteria: Conto 2 Dsc | Revenue
    Using Calculated group \ Items i created a numerous set of sub-totals
    On Revenue i created an action link to the second analisys containing
    2.
    Criteria: Conto 2 Dsc | Conto Detail | Revenue
    Filters: Conto 2 Code (is prompted)
    This pair of analisys are not working correctly. When i drill from first analisys to second one the Conto 2 Code filter is not used.
    Replacing in the second analisys Conto 2 Code (is prompted) with Conto 2 Dsc (is prompted) a filter is being generated on the drill but it's using the Conto 2 Code value and the analisys ends with no results.
    Thanks,
    Jonni

    Try adding Conto 2 code to the first analysis and keep the filter on the second analysis as Conto 2 code is prompted.
    -Amith.

  • Why is my Microsoft Word document not working correctly with Pages

    I have created a new CV (Resume) in Microsoft Word on my work computer, it is using the latest version of Office. When I attempted to open the document in Pages on my home Mac, the formatting was slightly incorrect, but the main issue is it is missing two pages! The exact same document when opened in Word has three pages but in Pages, it only has one! I have had nothing but problems with Pages since I bought it! Can someone please help me get Pages to work correctly with my documents that are created in Word! Than you.

    Pages does not allow a single cell in a table to span more than a page and there may be other problems that you also have not told us about.
    Redo your CV using the excellent Pages templates, Word's templates are Uuuugly!
    Being text based, with good typographical layout, those Pages templates should translate accurately back and forth from Pages to Word.
    Frankly CVs don't require anything fancy. You could do an excellent, well laid out and very attractive CV in TextEdit which is no slouch in the word processing department.
    Peter
    PS Start off by saving your Word CV to .rtf or .txt which will strip off most of the bad formatting. Then reopen it in Pages or drag in the snippets of text into a Pages CV template's placeholders to automatically format the text nicely.

  • CS4 color management not working

    Running under WinXP, 4GB RAM, nVIDIA GeForce 7600 GT with latest drivers:
    The image display in CS4 is acting as if it were not color-aware.
    Example: I open a file in which is in the ProPhoto RGB color space (and has that profile embedded) and the colors are not displayed correctly (muted and low contrast) -- the same appearance as opening such a file in a non-ICC-aware app like a browser.
    Soft-proofing to sRGB does not change the appearance: colors are still wrong.
    Converting to sRGB does not change the appearance while still in the dialog box -- even with Preview toggled on.
    But upon executing the conversion to sRGB, the colors then appear correct -- again, as would be expected from a non-ICC-aware app.
    CS3 running on the same system does not have this problem.

    to Chris Cox:
    >"Tony - then you'll need to contact NVidia and ask them to fix the driver.."
    I'll be happy to do so -- but to be effective in getting nVIDIA to accept responsibility for this problem, may I ask where you believe nVIDIA has done something which needs fixing?
    a) Is there a relevant industry standard to which you believe nVIDIA is failing to comply?
    b) Is there some specification published by nVIDIA to which you believe nVIDIA is failing to comply?
    c) Is there any documentation published by Adobe (e.g., design guidelines for graphics cards manufacturers to assist them in making Photoshop-compatible products) to which you believe nVIDIA is failing to comply?
    d) Are there specific generally-accepted good software engineering practices to which you believe nVIDIA is failing to comply?
    >"As for your display color management: we haven't seen that. That sounds a lot like your display profile is wrong, but I'm not sure why it differs from CS3. Could you check your color settings in Photoshop and for the display again?"
    These look right to me. Are there any specific settings you'd like me to report?

  • Application Manager not working on Retina Display Macbook Pro

    At work, I am using a Retina Display Macbook Pro running Lion and cannot get my application manager to work. I have checked the activity monitor to make sure only one version is running.  I am currently an admin with managed permissions so I am at a loss as to why I cannot update photoshop and illustrator to the latest versions.  I really need help getting this issue taken care of so I can maximize the tools at my disposal.

    Attached are screeshots of the error I keep getting and what my user settings say.
    I am running Lion.

  • System Events not working correctly with Acrobat Professional

    Hey Guys, I have a script that I have written that automatically enables security settings on a PDF through Acrobat Professional. Because of Acrobats poor scriptability I am forced into doing much though System Events.
    This is not a major problem... however when activating some settings in the security settings, often warning Alert dialog boxes appear when you tell System Events to enable particular settings. These Alerts do not have a title... The only way I have been able to get the script to deal with them is with the following code:
    if title of front window is "" then
        tell front window
            click button "OK"
        end tell
    end if
    I guess this is an ok solution... bit hard to identify windows when they don't have titles...
    BUT this is not my main problem. The main problem is that the script gets to one of these alert dialog boxes and just sits there... It sits there for like 10 seconds and then it performs the "click button "OK"" command.
    This is a problem as there are like 3 of these instances and it really adds up. Can anybody help me... I am using Acrobat Professional 8.2.0 and the entire code is:
    tell application "System Events"
        try
            tell process "Acrobat"
                -- Enable security settings
                click menu item "Properties..." of menu "File" of menu bar item "File" of menu bar 1
                tell window "Document Properties"
                    tell tab group 1
                        click radio button "Security"
                        tell group "Document Security"
                            click pop up button 1
                            click menu item 2 of menu 1 of pop up button 1
                        end tell
                    end tell
                end tell
                tell window "Password Security - Settings"
                    click pop up button 1
                    click menu item 4 of menu 1 of pop up button 1
                    tell group "Permissions"
                        click checkbox "Restrict editing and printing of the document. A password will be required in order to change these permission settings."
                        click text field 1
                        keystroke pdfPassword
                        click pop up button 1
                        click menu item 2 of menu 1 of pop up button 1
                        click pop up button 2
                        click menu item 4 of menu 1 of pop up button 2
                    end tell
                    click button "OK"
                end tell
                if title of front window is "" then
                    tell front window
                        click checkbox 1
                        click button "OK"
                    end tell
                end if
                tell window "Adobe Acrobat - Confirm Permissions Password"
                    click text field 1
                    keystroke pdfPassword
                    click button "OK"
                end tell
                if title of front window is "" then
                    tell front window
                        click checkbox 1
                        click button "OK"
                    end tell
                end if
                tell window "Document Properties"
                    click button "OK"
                end tell
    end tell
        on error
            display alert "System Events was unable to Enable Commenting. This may be because Acrobat has modified its menu system. Please contact your system administrator."
        end try
    end tell
    A delay does not work... its like as soon as I click the "OK" button it stalls for 10 seconds or does not know that is meant to continue... because I did this:
    tell window "Password Security - Settings"
        click button "OK"
    end tell
    beep
    In this situation it still takes like 10 seconds for the beep to occur after the click button "OK" command.

    Hey Guys, I have a script that I have written that automatically enables security settings on a PDF through Acrobat Professional. Because of Acrobats poor scriptability I am forced into doing much though System Events.
    This is not a major problem... however when activating some settings in the security settings, often warning Alert dialog boxes appear when you tell System Events to enable particular settings. These Alerts do not have a title... The only way I have been able to get the script to deal with them is with the following code:
    if title of front window is "" then
        tell front window
            click button "OK"
        end tell
    end if
    I guess this is an ok solution... bit hard to identify windows when they don't have titles...
    BUT this is not my main problem. The main problem is that the script gets to one of these alert dialog boxes and just sits there... It sits there for like 10 seconds and then it performs the "click button "OK"" command.
    This is a problem as there are like 3 of these instances and it really adds up. Can anybody help me... I am using Acrobat Professional 8.2.0 and the entire code is:
    tell application "System Events"
        try
            tell process "Acrobat"
                -- Enable security settings
                click menu item "Properties..." of menu "File" of menu bar item "File" of menu bar 1
                tell window "Document Properties"
                    tell tab group 1
                        click radio button "Security"
                        tell group "Document Security"
                            click pop up button 1
                            click menu item 2 of menu 1 of pop up button 1
                        end tell
                    end tell
                end tell
                tell window "Password Security - Settings"
                    click pop up button 1
                    click menu item 4 of menu 1 of pop up button 1
                    tell group "Permissions"
                        click checkbox "Restrict editing and printing of the document. A password will be required in order to change these permission settings."
                        click text field 1
                        keystroke pdfPassword
                        click pop up button 1
                        click menu item 2 of menu 1 of pop up button 1
                        click pop up button 2
                        click menu item 4 of menu 1 of pop up button 2
                    end tell
                    click button "OK"
                end tell
                if title of front window is "" then
                    tell front window
                        click checkbox 1
                        click button "OK"
                    end tell
                end if
                tell window "Adobe Acrobat - Confirm Permissions Password"
                    click text field 1
                    keystroke pdfPassword
                    click button "OK"
                end tell
                if title of front window is "" then
                    tell front window
                        click checkbox 1
                        click button "OK"
                    end tell
                end if
                tell window "Document Properties"
                    click button "OK"
                end tell
    end tell
        on error
            display alert "System Events was unable to Enable Commenting. This may be because Acrobat has modified its menu system. Please contact your system administrator."
        end try
    end tell
    A delay does not work... its like as soon as I click the "OK" button it stalls for 10 seconds or does not know that is meant to continue... because I did this:
    tell window "Password Security - Settings"
        click button "OK"
    end tell
    beep
    In this situation it still takes like 10 seconds for the beep to occur after the click button "OK" command.

  • LR 2.1 & 2.0 ~ DRAG & DROP not working correctly with  photos when moving, applying keywords

    Today this issue started, originally in 2.0, updated to 2.1 and issue continues.
    Issue: DRAG & DROP feature with mouse (or pad on laptop) will select multiple photos, (with CTRL & SHIFT key as typical with Windows machines)but when I try to move them to a different folder, or drop them onto a keyword, it will not work.
    Specifically, I select two photos to move to a different folder, the selection work, but when I try to "grab" the selected photos, Lightroom defaults to One Photo, and it will not grab it to move it. However, I can "right click" on the intended folder and can select "move selected photos to folder" and that works. This issue also applys to assigning keywords, and I would assume other similiar actions. I should note, that I can "rotate", assign "labels", "stars", and Keywords from Keyword sets, it just happens with the "Drag & Drop" feature.
    Help
    The feature works correctly in other Windows programs, so I'm sure it's related to Lightroom and not the mouse.
    I have a Windows Vista machine, 3GB RAM 160GB HD, ~ 75% free space, AMD Turion X2 Dual Core 70 Processor. Everything has worked fine up until this morning.
    Prior to upgrading to 2.1, I optimized my Catalogue. Everything seems to work fine except this feature.
    Help

    Drag by the actual image area of the thumbnail, not the surrounding 'fake slide' cell.
    That's a feature of Lightroom's grid view. Clicking on image area of thumbnail keeps the multiple selection and makes the image clicked the primary select. Clicking on the outer thumbnail area deselects all but the active image.

  • Color controls not working correctly

    Why do swatches suddenly not show in the conrol panel? When the object and document are brand new it works, then randomly goes into the stuck mode where if I click on the fill box I get a choice of only no fill or resgistration. I can work around this using the colors panel or color picker, but often the color picker goes haywire too. At that point the file is corrupted and there's no going back. Restarting the program and computer do not help. What's going on?

    As I recall, I had been working with 3 separate images, 2 originally grayscale and 1 RGB, that I had live traced (as above, without placing the image in a new ai file). One of the grayscale images let me use the color picker to change fill color, bu not consistenly, and the other one would let me type in values and changed colors on the picker, but only showed shades of gray in the fill box and in the image. The RGB file wouldn't let me change the fill color using swatches, but I don't remember what I tried with the picker.
    I think I'm going to chalk it all up to my original mistake of not placing the image in a new file, and subsequently trying everything I could think of to work around the original problem.

  • Java user-defined transaction management not working correctly???

    Hi everyone,
    I have encountered a problem when using Java user-defined transaction management in my session bean. It threw an exception but I could not work out what that means. Could anyone comment on this? Thanks.
    This BrokerBean is a stateless session calling other entities bean to perform some simple operations. There are 2 Cloudscape databases in use. Invoices (EB) use InvoiceDB and all the other EBs use StockDB.
    If I comment out the user-defined transaction management code, then everything works fine. Or if I comment out the Invoices EB code, it is fine as well. It seemed to me that there is something wrong in transaction management when dealing with distributed databases.
    --------------- source code ----------------------
    public void CreateInvoices(int sub_accno) {
    try {
    utx = context.getUserTransaction();
    utx.begin();
    SubAcc subAcc = subAccHome.findByPrimaryKey(new SubAccPK(sub_accno));
    String sub_name = subAcc.getSubName();
    String sub_address = subAcc.getSubAddress();
    Collection c = stockTransHome.findBySubAccno(sub_accno);
    Iterator i = c.iterator();
    ArrayList a = new ArrayList();
    while (i.hasNext()) {
    StockTrans stockTrans = (StockTrans)i.next();
    int trans_id = stockTrans.getTransID();
    String tran_type = stockTrans.getTranType();
    int stock_id = stockTrans.getStockID();
    float price = stockTrans.getPrice();
    Invoices invoices = invoicesHome.create(sub_accno, sub_name, sub_address, trans_id, stock_id, tran_type, price);
    stockTrans = stockTransHome.findByPrimaryKey(new StockTransPK(trans_id));
    stockTrans.remove();
    utx.commit();
    utx = null;
    } catch (Exception e) {
    if (utx != null) {
    try {
    utx.rollback();
    utx = null;
    catch (Exception ex) {}
    // e.printStackTrace();
    throw new EJBException("BrokerBean.CreateInvoices(): " + e.getMessage());
    --------------- exception ----------------------
    Initiating login ...
    Enter Username:
    Enter Password:
    Binding name:`java:comp/env/ejb/BrokerSB`
    EJB test succeed
    Test BuyStock!
    Test BuyStock!
    Test BuyStock!
    Test BuyStock!
    Test SellStock!
    Test SellStock!
    Caught an exception.
    java.rmi.ServerException: RemoteException occurred in server thread; nested exce
    ption is:
    java.rmi.RemoteException: BrokerBean.CreateInvoices(): CORBA TRANSACTION
    _ROLLEDBACK 9998 Maybe; nested exception is:
    org.omg.CORBA.TRANSACTION_ROLLEDBACK: vmcid: 0x2000 minor code: 1806
    completed: Maybe
    at com.sun.corba.ee.internal.iiop.ShutdownUtilDelegate.mapSystemExceptio
    n(ShutdownUtilDelegate.java:64)
    at javax.rmi.CORBA.Util.mapSystemException(Util.java:65)
    at BrokerStub.CreateInvoices(Unknown Source)
    at Client.main(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.sun.enterprise.util.Utility.invokeApplicationMain(Utility.java:22
    9)
    at com.sun.enterprise.appclient.Main.main(Main.java:155)
    Caused by: java.rmi.RemoteException: BrokerBean.CreateInvoices(): CORBA TRANSACT
    ION_ROLLEDBACK 9998 Maybe; nested exception is:
    org.omg.CORBA.TRANSACTION_ROLLEDBACK: vmcid: 0x2000 minor code: 1806
    completed: Maybe
    at com.sun.enterprise.iiop.POAProtocolMgr.mapException(POAProtocolMgr.ja
    va:389)
    at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:43
    1)
    at BrokerBean_EJBObjectImpl.CreateInvoices(BrokerBean_EJBObjectImpl.java
    :265)
    at BrokerBeanEJBObjectImpl_Tie._invoke(Unknown Source)
    at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatchToServant(Ge
    nericPOAServerSC.java:520)
    at com.sun.corba.ee.internal.POA.GenericPOAServerSC.internalDispatch(Gen
    ericPOAServerSC.java:210)
    at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatch(GenericPOAS
    erverSC.java:112)
    at com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:255)
    at com.sun.corba.ee.internal.iiop.RequestProcessor.process(RequestProces
    sor.java:84)
    at com.sun.corba.ee.internal.orbutil.ThreadPool$PooledThread.run(ThreadP
    ool.java:99)

    Three things:
    first, maybe you should think of putting ut.begin() just before the invoicesHome.create() method and ut.commit() just after the stockTrans.remove() method.It wont solve the current problem but will help in performance once the problem is solved.
    second, your utx.commit() is outside the try block. how come the code is compiling then??
    third, try doing a SOP call before and after invoicesHome.create() method and see where the problem actually lies.
    let us know...
    Hi SteveW2,
    Thanks for being so helpful. Here are my replies:
    Can I just ask why you're not using containermanaged
    transactions?The reason why I didn't use container managed
    transactions is because I don't really know how to do
    that. I am more familiar with this user-defined
    transaction handling.
    I have attempted to implement the same method in an
    entity bean and just let the container manage the
    rollback itself. The same exception was thrown when
    running the client.
    Also, the transaction behaviour is likely to relateto
    the app server youre using - which is it?What do you mean by the app server? I am using J2EE
    1.3.1 if that is what you meant.
    Finally, if your code has a problem rolling back,and
    throws an exception, you discard your exception
    thereby losing useful information.I have tried to print the exception stack as well, but
    it is the same as just printing the general
    exception.
    This problem is very strange cause if I comment out
    the transaction management thing, then everything
    works fine. Or if I am only working with 1 single
    database, with this user-defined transaction handling,
    everything works fine as well.
    Here is the error log from J2EE server if you are
    interested.
    ------------ error log ---------------
    javax.ejb.TransactionRolledbackLocalException:
    Exception thrown from bean; nested exception is:
    javax.ejb.EJBException: ejbCreate: Connection
    previously closed, open another Connection
    javax.ejb.EJBException: ejbCreate: Connection
    previously closed, open another Connection
         at InvoicesBean.ejbCreate(Unknown Source)
    at
    InvoicesBean_RemoteHomeImpl.create(InvoicesBean_Remote
    omeImpl.java:31)
         at InvoicesHomeStub.create(Unknown Source)
         at BrokerBean.CreateInvoices(Unknown Source)
    at
    BrokerBean_EJBObjectImpl.CreateInvoices(BrokerBean_EJB
    bjectImpl.java:261)
    at BrokerBeanEJBObjectImpl_Tie._invoke(Unknown
    Source)
    at
    com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispa
    chToServant(GenericPOAServerSC.java:520)
    at
    com.sun.corba.ee.internal.POA.GenericPOAServerSC.inter
    alDispatch(GenericPOAServerSC.java:210)
    at
    com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispa
    ch(GenericPOAServerSC.java:112)
    at
    com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:25
    at
    com.sun.corba.ee.internal.iiop.RequestProcessor.proces
    (RequestProcessor.java:84)
    at
    com.sun.corba.ee.internal.orbutil.ThreadPool$PooledThr
    ad.run(ThreadPool.java:99)
    javax.ejb.TransactionRolledbackLocalException:
    Exception thrown from bean; nested exception is:
    javax.ejb.EJBException: ejbCreate: Connection
    previously closed, open another Connection
    at
    com.sun.ejb.containers.BaseContainer.checkExceptionCli
    ntTx(BaseContainer.java:1434)
    at
    com.sun.ejb.containers.BaseContainer.postInvokeTx(Base
    ontainer.java:1294)
    at
    com.sun.ejb.containers.BaseContainer.postInvoke(BaseCo
    tainer.java:403)
    at
    InvoicesBean_RemoteHomeImpl.create(InvoicesBean_Remote
    omeImpl.java:37)
         at InvoicesHomeStub.create(Unknown Source)
         at BrokerBean.CreateInvoices(Unknown Source)
    at
    BrokerBean_EJBObjectImpl.CreateInvoices(BrokerBean_EJB
    bjectImpl.java:261)
    at BrokerBeanEJBObjectImpl_Tie._invoke(Unknown
    Source)
    at
    com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispa
    chToServant(GenericPOAServerSC.java:520)
    at
    com.sun.corba.ee.internal.POA.GenericPOAServerSC.inter
    alDispatch(GenericPOAServerSC.java:210)
    at
    com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispa
    ch(GenericPOAServerSC.java:112)
    at
    com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:25
    at
    com.sun.corba.ee.internal.iiop.RequestProcessor.proces
    (RequestProcessor.java:84)
    at
    com.sun.corba.ee.internal.orbutil.ThreadPool$PooledThr
    ad.run(ThreadPool.java:99)
    What is "connection previously closed, open another
    connection"? This might be the cause of the
    exception.
    I'll keep trying till I solve the problem.
    Thanks,
    Sasuke

  • Bapi_document_create2 does not work correctly with attached file.

    Hi all.
    I hava a problem with bapi. I programmed below.
            ls_docdata-documenttype = 'BBS'.
            ls_docdata-description  = 'JJW test'.
            ls_file-documenttype = 'BBS'.
            ls_file-ORIGINALTYPE = 1.
            ls_file-storagecategory = 'ZSTW_KPRO'.
            ls_file-wsapplication = 'TXT'.
            ls_file-docfile = entity_filename.
            append ls_file to lt_files.
            CALL FUNCTION 'BAPI_DOCUMENT_CREATE2'
              EXPORTING
                documentdata       = ls_docdata
                PF_FTP_DEST = 'SAPFTP'
                PF_HTTP_DEST = 'SAPHTTP'
              IMPORTING
                documenttype               =      lv_documenttype
                documentnumber           =     lv_documentnumber
                documentpart                =     lv_documentpart
                documentversion           =     lv_documentversion
                return                           =     ls_return
              tables
                documentfiles     = lt_files.
            call function 'BAPI_TRANSACTION_COMMIT'.
    If I don't attach the file, DIR is created but if attach some files, it does not work. What should I do??
    regards.

    Hi,
    You can use the below to attach the file from BSP to SAP. But it doesnt use the BAPI - 'BAPI_DOCUMENT_CREATE2'. It works perfectly for me. Let me know if you have any questions.
    Note: This code put the file into SAP Directory "/userapps/master_data/" as well as it upload the file into Transaction WTY since i am using Business object:BUS2222. You may need to modify the Business object if you ahve the one, otherwise you can just put it into SAP DIR.
    FUNCTION ZATTACH_CREATE.
    *"*"Update function module:
    *"*"Local interface:
    *"  IMPORTING
    *"     VALUE(FILE) TYPE  SAPB-SAPFILES
    *"     VALUE(STR_FILE_CONTENT) TYPE  XSTRING
    *"     VALUE(OBJECT_KEY) TYPE  BAPIBDS01-OBJKEY
      DATA: LOGICAL_SYSTEM TYPE BAPIBDS01-LOG_SYSTEM,
            CLASSNAME TYPE  BAPIBDS01-CLASSNAME,
            CLASSTYPE TYPE  BAPIBDS01-CLASSTYPE.
      DATA:  IT_FILES TYPE TABLE OF  BAPIFILES,
            IT_SIGNATURE TYPE TABLE OF  BAPISIGNAT,
       FILES TYPE  BAPIFILES,
      SIGNATURE TYPE   BAPISIGNAT.
      DATA: I_TOADD TYPE TOADD,
            FILENAME_ALL TYPE SAPB-SAPFILES,
            FILE_PATH TYPE SAPB-SAPFILES,
            FILE_PATH_MEMORY(250) TYPE C,  " path für SAP memory
            FILE_PATH_LENGTH TYPE I,       " length of the file_path
           FILE_CONTENT_LENGTH TYPE I,       " length of the file_CONTENT
           FILE_NAME TYPE SAPB-SAPFILES,
            FILE_EXTENSION TYPE TOADD-DOC_TYPE.     " file-extension.
      DATA: I_FILE_CONTENT TYPE TABLE OF BAPICONTEN.
      DATA: WA_FILE_CONTENT TYPE  BAPICONTEN,
       STRING_CONTENT TYPE STRING,
       STRING_CONTENT1 TYPE STRING.
      DATA:
       I_FILES TYPE TABLE OF BAPIFILES ,
            I_SIGNATURE TYPE TABLE OF BAPISIGNAT ,
            I_COMPONENTS TYPE TABLE OF BAPICOMPON ,
           COMPONENTS TYPE BAPICOMPON ,
            I_PROPERTIES TYPE TABLE OF SDOKPROPTY ,
            I_PROPERTIES2 TYPE TABLE OF BAPIPROPER ,
            I_PROPERTIES_DEL TYPE TABLE OF BAPIDPROPT ,
           MIMETYPE TYPE TOADD-MIMETYPE,
      COMPID TYPE BAPICOMPON-COMP_ID,  " compid for popup
            COMPID_FLAG(1) TYPE C,           " compid can't be changed
            MODIFY_FLAG(1) TYPE C,           " document is modified
            ATTRI_FLAG(1) TYPE C,            " attri can't be changed
            TITLE_FLAG(1) TYPE C,            " titel of the popup
            CANCEL_FLAG(1) TYPE C,           " cancel button Yes/No
            BUTTON_TEXT(10) TYPE C,
            INFO_TEXT(100) TYPE C,
      VERSION_NR TYPE BDN_CON-DOC_VER_NO,     " version_nr for popup
            VERSION_LANGU2 TYPE T002T-SPTXT, " language field in POPUP
            VERSION_LANGU TYPE BDN_CON-LANGU," SPRAS language field
            TITLE_TEXT(100) TYPE C,          " title of the popup
            DESCRIPTION TYPE BDN_CON-DESCRIPT.      " descr. for popup
    *FILENAME_ALL = fileUpload_event->file_name.
    * Transfering into SAP File server.
      FILE_CONTENT_LENGTH = XSTRLEN( STR_FILE_CONTENT ).
      FILENAME_ALL = FILE .
      STRING_CONTENT = STR_FILE_CONTENT.
      DATA: OUT_LINES TYPE TABLE OF XSTRING.
      CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
        EXPORTING
          BUFFER                = STR_FILE_CONTENT
    *   APPEND_TO_TABLE       = ' '
    * IMPORTING
    *   OUTPUT_LENGTH         =
        TABLES
          BINARY_TAB            = I_FILE_CONTENT.
      DELETE DATASET '/userapps/master_data/claim1.txt'.
      OPEN DATASET '/userapps/master_data/claim1.txt' FOR APPENDING
        IN TEXT MODE ENCODING DEFAULT.
    *  LOOP AT I_FILE_CONTENT INTO WA_FILE_CONTENT.
    *    TRANSFER STR_FILE_CONTENT TO '/userapps/master_data/claim1.txt'.
      TRANSFER STRING_CONTENT TO '/userapps/master_data/claim1.txt'.
    *  ENDLOOP.
      CLOSE DATASET '/userapps/master_data/claim1.txt'.
      OPEN DATASET '/userapps/master_data/claim1.txt' FOR INPUT
           IN TEXT MODE ENCODING DEFAULT.
      READ DATASET '/userapps/master_data/claim1.txt'  into STRING_CONTENT1.
    * -- split filename                                                 -- *
        DATA: LENGTH TYPE I.
      DATA: PATH2(1200).  " LIKE sapb-sapfiles.
      DATA: L_FILE(1200),
            L_DIR(1200),
            L_DELIMITER        TYPE C,
            L_OFFSET           TYPE I,
            L_BYTES            TYPE I,
            L_DELIMITER_OFFSET TYPE I,
            L_DELIMITER_BYTES  TYPE I,
            L_CHAR             TYPE C,
            L_PREVIOUS_CHAR    TYPE C,
            L_LAST_CHAR        TYPE C.
      PATH2 = FILENAME_ALL.
      LENGTH = STRLEN( PATH2 ).
      L_OFFSET = 0.
      WHILE L_OFFSET < LENGTH.
        L_LAST_CHAR = L_CHAR. "remember last character
        L_BYTES = CHARLEN( PATH2+L_OFFSET ).
        L_CHAR = PATH2+L_OFFSET(L_BYTES). "get current character
        IF L_CHAR = '/' OR L_CHAR = '' OR L_CHAR = ':'.
          IF L_DELIMITER IS INITIAL OR L_DELIMITER = ':'.
            "Typically we deal with absolute paths, so the first
            "delimiter is best. This allows for UNIX paths with
            "'' in the directory or file name
            L_DELIMITER = L_CHAR.
          ENDIF.
          IF L_CHAR = L_DELIMITER.
            L_DELIMITER_OFFSET = L_OFFSET.
            L_DELIMITER_BYTES = L_BYTES.
            "remember character in front of delimiter:
            L_PREVIOUS_CHAR = L_LAST_CHAR.
          ENDIF.
        ENDIF.
        L_OFFSET = L_OFFSET + L_BYTES.
      ENDWHILE.
      IF NOT L_DELIMITER IS INITIAL.
        L_OFFSET = L_DELIMITER_OFFSET + L_DELIMITER_BYTES.
        L_FILE = PATH2+L_OFFSET.
        IF L_PREVIOUS_CHAR = ':' OR L_DELIMITER = ':'.
          "path ends with or after drive identifer, include the delimiter
          L_DIR = PATH2(L_OFFSET).
        ELSEIF NOT L_DELIMITER_OFFSET IS INITIAL.
          "do not include a trailing delimiter for compatibility reasons
          L_DIR = PATH2(L_DELIMITER_OFFSET).
        ELSE.
          CLEAR L_DIR.
        ENDIF.
      ELSE.
        L_DIR = SPACE.
        L_FILE = PATH2.
      ENDIF.
      FILE_PATH = L_DIR.
      FILE_NAME = L_FILE.
    * -- set new file_path to SAP memory                                -- *
      FILE_PATH_LENGTH = STRLEN( FILE_PATH ).
      IF FILE_PATH <> SPACE AND FILE_PATH_LENGTH < 250.
        FILE_PATH_MEMORY = FILE_PATH.
        SET PARAMETER ID 'OAP' FIELD FILE_PATH_MEMORY.
      ELSE.
        FILE_PATH_MEMORY = SPACE.
        SET PARAMETER ID 'OAP' FIELD FILE_PATH_MEMORY.
      ENDIF.
    * -- data declaration ------------------------------------------------ *
      DATA:
            SINGLE_C TYPE C.
      CLEAR: SINGLE_C.
      LENGTH = STRLEN( FILE_NAME ).
      IF LENGTH > 0.
        WHILE LENGTH > 0.
          SINGLE_C = FILE_NAME+LENGTH(1).
          IF SINGLE_C CO '.'.
            LENGTH = LENGTH + 1.
            EXIT.
          ELSE.
            LENGTH = LENGTH - 1.
          ENDIF.
        ENDWHILE.
        IF LENGTH > 0.
          FILE_EXTENSION = FILE_NAME+LENGTH.
        ELSE.
          FILE_EXTENSION = SPACE.
        ENDIF.
      ELSE.
        FILE_EXTENSION = SPACE.
      ENDIF.
      IF FILE_EXTENSION <> SPACE.
        SET LOCALE LANGUAGE SY-LANGU.
        TRANSLATE FILE_EXTENSION TO UPPER CASE.              "#EC TRANSLANG
        SET LOCALE LANGUAGE SPACE.
      ENDIF.
    * TR001++
      DATA: I_TOADV TYPE TABLE OF TOADV.
      DATA: WA_TOADV TYPE TOADV.
      DATA: OBJECT TYPE SAEOBJART.
      SELECT * FROM TOADV INTO CORRESPONDING FIELDS OF TABLE
              I_TOADV WHERE STANDARD = 'X'.
      DELETE I_TOADV WHERE AR_OBJECT CS 'BDS' OR AR_OBJECT CS 'ZSEST'.
      READ TABLE I_TOADV INTO WA_TOADV WITH KEY DOC_TYPE = FILE_EXTENSION.
    * -- get name and description for the document                      -- *
      CLEAR: COMPID,
             DESCRIPTION,
             VERSION_NR,
             MODIFY_FLAG,
             COMPID_FLAG,
             ATTRI_FLAG,
             TITLE_FLAG.
      COMPID_FLAG    = ' '.              " -> compid can't be changed
      MODIFY_FLAG    = 'S'.              " -> popup in save modus
      ATTRI_FLAG     = 'X'.              " -> attri's can be changed
      COMPID         = FILE_NAME.
      VERSION_NR     = '00000001'.
      VERSION_LANGU2 = SY-LANGU.
      TITLE_FLAG     = '1'.              " -> BDN
    * -- get the mimetype of the docuclass                              -- *
    *PERFORM MIMETYPE_GET(OAALL) USING FILE_EXTENSION
    *                            CHANGING I_TOADD.
      DATA: I_DOCUMENTCLASS TYPE TOADD-DOC_TYPE.
      MOVE FILE_EXTENSION TO I_DOCUMENTCLASS.
      SET LOCALE LANGUAGE SY-LANGU.
      TRANSLATE I_DOCUMENTCLASS TO UPPER CASE.               "#EC TRANSLANG
      SET LOCALE LANGUAGE SPACE.
      SELECT SINGLE * FROM TOADD INTO I_TOADD WHERE
                                 DOC_TYPE EQ I_DOCUMENTCLASS.
      IF SY-SUBRC NE 0.                    " nothing found -> default!
        I_TOADD-DOC_TYPE = I_DOCUMENTCLASS.
        I_TOADD-MIMETYPE = 'application/x-docType'.             "#EC NOTEXT
      ENDIF.
      MOVE I_TOADD-MIMETYPE TO MIMETYPE.
    * -- fill file and signature structure                              -- *
      CLEAR: I_FILES, I_SIGNATURE.
      REFRESH : I_FILES, I_SIGNATURE.
      DESCRIPTION = FILE_NAME.
      FILES-DOC_COUNT = 1.
      FILES-DIRECTORY = FILE_PATH.
      FILES-FILENAME  = FILE_NAME.
      FILES-MIMETYPE  = MIMETYPE.
      APPEND FILES TO I_FILES.
    * -- fill components and signature structure                        -- *
      COMPONENTS-DOC_COUNT  = 1.
      COMPONENTS-COMP_COUNT = 1.
      COMPONENTS-MIMETYPE   = MIMETYPE.
      COMPONENTS-COMP_ID         = FILE_NAME.
      APPEND COMPONENTS TO I_COMPONENTS.
      SIGNATURE-DOC_COUNT  = 1.
      SIGNATURE-PROP_NAME  = 'BDS_DOCUMENTCLASS'.
      SIGNATURE-PROP_VALUE = FILE_EXTENSION.
      APPEND SIGNATURE TO I_SIGNATURE.
      SIGNATURE-PROP_NAME = 'BDS_CONTREP'.
    *IF BDS_DOCTYPE_LIST-CONTREP = SPACE.
      SIGNATURE-PROP_VALUE = ' '.                               "#EC NOTEXT
    *ELSE.
    *  I_SIGNATURE-PROP_VALUE = BDS_DOCTYPE_LIST-CONTREP.
    *ENDIF.
      APPEND SIGNATURE TO I_SIGNATURE.
      SIGNATURE-PROP_NAME  = 'BDS_DOCUMENTTYPE'.
      SIGNATURE-PROP_VALUE = WA_TOADV-AR_OBJECT. "'ZSRVCXLS'."TR001+
      APPEND SIGNATURE TO I_SIGNATURE.
      SIGNATURE-PROP_NAME  = 'DESCRIPTION'.
      SIGNATURE-PROP_VALUE = DESCRIPTION.
      APPEND SIGNATURE TO I_SIGNATURE.
      SIGNATURE-PROP_NAME  = 'LANGUAGE'.
      SIGNATURE-PROP_VALUE = VERSION_LANGU.
      APPEND SIGNATURE TO I_SIGNATURE.
      CALL FUNCTION 'BDS_BUSINESSDOCUMENT_CREA_TAB'
        EXPORTING
    *   LOGICAL_SYSTEM        =
          CLASSNAME             = 'BUS2222' "classname_select
          CLASSTYPE             = 'BO'" classtype_select
        CLIENT                = SY-MANDT
          OBJECT_KEY            = OBJECT_KEY
        BINARY_FLAG           = 'X'
    * IMPORTING
    *   OBJECT_KEY            =
        TABLES
          SIGNATURE             = I_SIGNATURE
          COMPONENTS            = I_COMPONENTS
        CONTENT               = I_FILE_CONTENT
    *   ASCII_CONTENT         =
    * EXCEPTIONS
    *   NOTHING_FOUND         = 1
    *   PARAMETER_ERROR       = 2
    *   NOT_ALLOWED           = 3
    *   ERROR_KPRO            = 4
    *   INTERNAL_ERROR        = 5
    *   NOT_AUTHORIZED        = 6
    *   OTHERS                = 7
      COMMIT WORK AND WAIT.
      IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFUNCTION.
    Message was edited by:
            Raja T

  • Bluetooth does not work correctly with Siemens Tek Connect headphone device

    I hopefully tried the new bluetooth support in OS 3.0, but it does not work with my Siemens Tek Connect headphone device. It syncs as expected, but no sound is heard. I can choose the Tek Connect in the music app and other programs, my headphone (actually my two hearing aids, which are connected wireless with ear to ear communications (e2e) via the Tek Connect necklace device) signals the connection to me (a beep), but nothing is heard. Codec problem?
    Andreas

    I own Phonak hearing aids with their Bluetooth-capable iCom device which allows my aids to be used as a phone headset and also supports the A2DP stereo bluetooth profile. My iPod Touch 2Gen 32GB is able to play to my hearing aids properly.
    One thing I noticed is that the iPod does not allow you to control the volume when using Bluetooth. It expects the headphones to be able to control the volume. Have you used your hearing aids as Bluetooth headphones on any other device? Maybe the device isn't programmed properly to set the volume while in headphones mode. I know my audiologist had to program the volume on each mode separately on my device.
    My MacBook Pro is able to play music over Bluetooth to my hearing aids fine. But I have never gotten Windows to work properly sending audio to my hearing aids. Do you have a Mac with Bluetooth? Try to get that working to see if it's your hearing aid device that's causing the trouble or not.

  • Cintiq tablet will not work correctly with windows

    I am using photoshop CS6 on a 64 bit windows system and my Cintiq 12 will not function with the pressure sensitivity. any suggestions to correct this?

    Hi. You’ve posted your question in a forum that is for beginners trying to learn the basics of Photoshop.  I'm moving your question to the Photoshop General Discussion forum for specialized attention to your situation.

  • Windows Vista not working correctly with Leopard 10.5

    I just updated my MacBook Pro 17" by installing Leopard 10.5xx (erased and installed), then used BootCamp to partition disk and install Windows Vista. In Windows, my volume control is on, but no sound. I just got the error, "This problem was caused by a compatibility issue between Intel 82801GBM (ICH7-M) LPC Interface Controller - 27B9 and Windows Vista. Intel 82801GBM (ICH7-M) LPC Interface Controller - 27B9 was created by Intel Corporation and is distributed by Apple Inc.."
    I am having problems with drivers, and as I'm a new user to Mac/Windows, so I don't even know how to identify which drivers (on Leopard installation disk)I need. In Windows Device Manager I have something called "Human Interface" that needs a driver . . . but my computer can't find it on my Mac or on the disk.
    I purchased extended AppleCare warranty, but don't know how to use it, and my 90 days is up so I can't call. Is this warranty strictly for hardware? I don't understand how to get the support/how to information I need; I'm a Windows user and find Apple's support confusing and indirect.
    HELP!!!

    sorry, can't help, but you're definitely in the wrong forum. this is about mac os SERVER (not client) and your problem is related to either the hwardware you use or bootcamp.
    br,
    günther

  • AEBS Does NOT WORK correctly with non-11n wireless devices

    Well i don't know what they missed in their testing, unless they assumed everyone was going to run out and replace all their macs with 802.11n versions...
    So heres the deal, my wired connection (ethernet to LAN port) is blazing fast, which it should be since I have cable internet access. My Powerbook on the other hand is constantly slowing down and speeding up. One minute it's browsing just fine, and the next minute it slows to such a crawl that the HTTP request times out. I've reset it, changed configs, nada, zip, zilch. There is something wrong with this new base station and it doesn't appear to be playing nice with 802.11g...yeah, I'm frustrated. Waited weeks for this and just spent hours trying to fix it when I should be playing with my new Mac Pro instead of monkeying around with the da@# AEBS.
    Anyone figure this out, or are we going to be awaiting some firmware update?

    I disagree, because basically Apple advertised that you could run both G and N devices at the same time on the new Extreme base station. While they said that running both on the same network would degrade the N performance, they never stated that overall performance would be WORSE than running a pure G network on the old base station.
    All that said, I'm not running a mixed network; all I have are G capable devices, which according to Apple should run just fine, and should experience the same performance as they did on the previous Extreme base station. Well that has not been my experience, nor the experience of many others.
    The most consistent performance I received was B level, and typically it didn't even hit the speeds of B level and could be measured in comparison to dial-up speeds. I have since gone completely ethernet to avoid the problem for now. Really, the whole reason I upgraded was not for the N speed, but for the ability to have both a printer and a network available hard drive attached to the base station.
    I also want to add that I have uncovered another problem with the new Airport software: the Airport Disk extension. I was having another issue that appeared to be bad RAM. After weeks of troubleshooting, I finally determined that Apple's own Airport Disk extension was the source of the numerous kernel panics I had been experiencing on my brand new Mac Pro.
    Long story short: The new Extreme base station was not ready, and they rushed it, I suspect in order to meet some financial deadline (quarter revenue, etc.). There are multiple bugs still yet to be worked out, including this new panic bug I have found.
    Mac Pro Mac OS X (10.4.9)

  • SCXI 1001, SCXI-1102 and SCXI-1303 not working correctly with DAQmx

    I have recently upgraded from Labview 6.5 to Labview 8.2 and now my SCXI 1001 with a SCXI 1102 and SCXI 1303 terminal block no longer reads the correct voltage.  Using the old version of labview thermocouple measurements are correct at 0.5mV; however using the new version of labview and DAQmx the thermocouples are reading 5V.  Everything is installed correctly as it still works with the older version of Labview, is there something that needs to be reset or change so that teh SCXI will function properly with DAQmx?

    Hello ilabtech,
    From my understanding you are using an SCXI 1001 chassis with an SCXI 1102 and 1303 terminal block to perform thermocouple measurements.  You are upgrading to LabVIEW 8.2 and DAQmx.  I am assuming you were using LabVIEW 6.1 since there isn’t a LabVIEW 6.5.  You mentioned that are able to get a correct reading of 0.5 mV with LabVIEW 6.1 but you see a rail of 5V with LabVIEW 8.2 and DAQmx. 
    My first suggestion is that you ensure that the SCXI is set at the appropriate range and for the correct thermocouple type.  You can also configure these settings in MAX as detailed on page 27 of the SCXI 1102 User Manual and Specifications Guide. 
    My second suggestion is for you to start off using an example program to see if you see the same error.  When you are in a LabVIEW 8.2 VI you can go to Help>>Find Examples to open the NI Example Finder.  You then choose Hardware Input and Output>>DAQmx>>Analog Measurements>>Temperature>> Cont. Acq Thermocouple Samples-Int CLK.vi.   This example program is supported by your hardware and is a good resource to use to troubleshoot.
    If these suggestions aren't helpful please answer the following questions in your reply.
    1.        I would like to know what range you have set the SCXI 1102 to read. 
    2.       What version of DAQmx are you using?  You can find the version my opening Measurement and Automation explorer (MAX), expanding the “Software “and clicking on NI-DAQmx.
    3.       What operating system are you using?
    4.  Does your Traditional DAQ program work in LabVIEW 8.2?
    Regards,
    Ima
    Applications Engineer
    National Instruments
    LabVIEW Introduction Course - Six Hours
    Getting Started with NI-DAQmx

Maybe you are looking for

  • I updated my PC running windows XP with itunes 11.4.1 and received numerous errors.

    I updated my PC running windows XP with itunes 11.4.1. Had to install manually. After doing this I received an error message 'mobile me services can't be located'. Went to check icloud and icloud won't open because procedure entry point could not be

  • Buzz when using 1/4 inch cables?

    Hi there, This isn't a question about Logic per se but I figure this would be the best place to get an answer. So I've found using many different setups that I consistently get a low-level buzzing when monitoring or recording from a 1/4 inch cable. I

  • Entering extended characters?

    As a recentish switcher I'm completely stumped by how I can enter extended characters. I need to enter the character code 0239 to get a special character in a font I'm using. On a PC I'd simply type 0239 on the numeric pad while holding down the Alt

  • UsNIC support for UCSM managed C-series server

    According to http://www.cisco.com/en/US/docs/unified_computing/ucs/usnic/c/deployment/1_5_2/b_Cisco_usNIC_Deployment_Guide_For_Standalone_C-SeriesServers.html usNIC is only supported for standalone c-series server, with VIC-1225 and RHEL Any plans to

  • PLSQL: For functions like COALESCE(n,m,o,p..) are all n, m, o, p evaluated?

    Suppose I only want to pull a number from a sequence if a procedure argument is null: SELECT COALESCE(in_arg, seq.NEXTVAL) INTO tmp_number FROM dual Is the nextval always executed, before COALESCE is called? Same question for logical operators; in or