Problem retriving data from TLF

I 'm having problem retrieving the data i need to from TLF, please have a look at the post i made over at stackoverflow that explains the problem i am having: http://stackoverflow.com/questions/6198736/data-from-tlf-textline. Thanks!

rawTextLength : int
[read-only]        The length of the raw text in the text block that became the line,       including the U+FDEF characters representing graphic elements       and any trailing spaces, which are part of the line but not are displayed.
Your code seems good. I did not tried to get the atom of textline ago, so I can only share the experience I had.
1.textline.y give me the bottom of the textline not the top. So you need to differ textline.y from textLine.getAtomBounds(atomIndex).y;
2.When you use TLF, code like "_source.interactionManager.getCommonCharacterFormat"is not recommended.
You need to write the code as follows to skip the call of getter function when you will use _source.interactionManager many times. Because when you run "a.b", you call the "get b()" in class "a". "get b()" may be a large function and cost a lot.
var editManager:SelectionManager  = _source.interactionManager as SelectionManager;
editManager.getCommonCharacterFormat()

Similar Messages

  • Problem retriving data from OSA MS9710 with GPIB interface

    Hi all,
    I'm trying to read data from Anritsu OSA MS9710 using a GPIB interface and a terminal software in computer. However, I am not having sucess with it. Anyone know how can I do this? or another way to read this data without needing a floopy disk? 
    Thank a lot!

    Anritsu has a LabVIEW driver. I don't know what kind of terminal software you are talking about. Most terminal emulators are only useful for RS-232. You can use MAX (Measurement & Automation Explorer) to communicate. Nor do I understand how a floppy disk could help.

  • Problem retrive data from a a class

    Well I again. I got the follow class.
    public class Rhcp
    public int docID;
    public java.lang.String name;
    public java.util.Date initialDate;
    public java.util.Date finalDate;
    public void setRhcp()
    this.name = rs.getString(1);
    this.initialDate = rs.getDate(2);
    When I try to use this class on a JFrame.
    Rhcp rhcp = new Rhcp();
    java.text.DateFormat data = java.text.DateFormat.getDateInstance();
    rhcp.setRhcp();
    jtxtDF.setText(data.format(doc.finalDate));
    //here the doc.finalDateis null
    }

    Sorry
    Let me explain better.
    I got a class
    public class A
    public java.util.Date dt;
    public void doNothing()
    dt = rs.getDate(2) ;
    Then I need to show the value of dt.
    java.text.DateFormat data = java.text.DateFormat.getDateInstance();
    A aa= new A();
    aa.doNothing();
    jtxtText.setText(data.format(aa.dt));
    But here the aa.dt dont has a value.
    why?
    If not understanding I will try to explain more....

  • Problem when simultaneously retriving data from berkeleydb using web applic

    Hi all
    Plz Help
    i am using jboss server .
    my problem is :
    i have 2lacks recodrs in berkeleydatabase
    when i try to retrive data it working properly for one browser
    if i start retrive data simultaneously using two IES it getting this exception
    how to solve this problem,i mean separeate session for separate client
    in java session trking techique i applied ,but here not working retriving data from berkeleydb.collision occur
    11:47:08,468 ERROR [STDERR] Database handles still open at environment close
    11:47:08,468 ERROR [STDERR] Open database handle: smscsucc.db
    11:47:08,468 ERROR [STDERR] java.lang.IllegalArgumentException: Invalid argument
    11:47:08,468 ERROR [STDERR] at com.sleepycat.db.internal.db_javaJNI.DbEnv_cl
    ose0(Native Method)
    11:47:08,468 ERROR [STDERR] at com.sleepycat.db.internal.DbEnv.close0(DbEnv.
    java:208)
    11:47:08,468 ERROR [STDERR] at com.sleepycat.db.internal.DbEnv.close(DbEnv.j
    ava:76)
    11:47:08,468 ERROR [STDERR] at com.sleepycat.db.Environment.close(Environmen
    t.java:39)
    11:47:08,468 ERROR [STDERR] at daos.RetriveDao.getData(RetriveDao.java:131)
    11:47:08,468 ERROR [STDERR] at controllers.MainServlet.getData(MainServlet.j
    ava:47)
    11:47:08,468 ERROR [STDERR] at controllers.MainServlet.serviceHelper(MainSer
    vlet.java:76)
    11:47:08,468 ERROR [STDERR] at controllers.MainServlet.doGet(MainServlet.jav
    a:101)
    11:47:08,468 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpSe
    rvlet.java:697)
    11:47:08,468 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpSe
    rvlet.java:810)
    11:47:08,468 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterCha
    in.internalDoFilter(ApplicationFilterChain.java:252)
    11:47:08,468 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterCha
    in.doFilter(ApplicationFilterChain.java:173)
    11:47:08,468 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilte
    r.doFilter(ReplyHeaderFilter.java:96)
    11:47:08,468 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterCha
    in.internalDoFilter(ApplicationFilterChain.java:202)
    11:47:08,468 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterCha
    in.doFilter(ApplicationFilterChain.java:173)
    11:47:08,468 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve
    .invoke(StandardWrapperValve.java:213)
    11:47:08,468 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve
    .invoke(StandardContextValve.java:178)
    11:47:08,468 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssocia
    tionValve.invoke(SecurityAssociationValve.java:175)
    11:47:08,468 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValv
    e.invoke(JaccContextValve.java:74)
    11:47:08,468 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.in
    voke(StandardHostValve.java:126)
    11:47:08,468 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.i
    nvoke(ErrorReportValve.java:105)
    11:47:08,468 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.
    invoke(StandardEngineValve.java:107)
    11:47:08,468 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.s
    ervice(CoyoteAdapter.java:148)
    11:47:08,468 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.proc
    ess(Http11Processor.java:869)
    11:47:08,468 ERROR [STDERR] at org.apache.coyote.http11.Http11BaseProtocol$H
    ttp11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
    11:47:08,468 ERROR [STDERR] at org.apache.tomcat.util.net.PoolTcpEndpoint.pr
    ocessSocket(PoolTcpEndpoint.java:527)
    11:47:08,468 ERROR [STDERR] at org.apache.tomcat.util.net.MasterSlaveWorkerT
    hread.run(MasterSlaveWorkerThread.java:112)
    11:47:08,468 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)
    # An unexpected error has been detected by HotSpot Virtual Machine:
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x29693a05, pid=832, tid=3776
    # Java VM: Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode)
    # Problematic frame:
    # C [libdb44.dll+0x33a05]
    # An error report file with more information is saved as hs_err_pid832.log
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    Press any key to continue . . .
    Thnking you
    Thanks & Regards
    Venkat Gadarla

    Hello,
    Your question is about Berkeley DB -- this is the Berkeley DB Java Edition forum. Please repost this over at:
    Berkeley DB
    Thanks.
    Charles Lamb

  • "evdre encountered a problem retrieving data from the webserver"

    Hi
    We are using a big report which takes very long time to expand and sometimes we get the error message "evdre encountered a problem retrieving data from the webserver" when expanding the report, but not very often for most of our users. But we have one user who gets this error message almost every second time he expands the report. This user have a computer with same capacity as the rest of us, can there be some setting on the computer or in the client installtion the cause this problem?
    We are using BPC 5.1 SP 5
    /Fredrik

    Hi,
    This error occurs usually if we have huge data in combination of our dimensions.
    Even, if the selection of your memberset is not apt to the combination of the data present in the back end, you may encounter a data retrival error.
    regards
    sashank

  • Retrive data from HR tables

    Hi Experts,
    How to retrive data from HR tables for custom screen & store in custom table? I need Employee number, employee name, department, their location & mail id. When employee number is given, all other details must be fetched. Can you give a solution for this problem?
    Thanks,
    Kavitha

    Hi Kavitha,
    in HR you could get data from different tables based on infotypes. lets say if any data need to get from infotype 0001 (Org assignment), add "PA" before the infotype number so it would be PA0001.
    you could get the Employee no, name, department, location(i guess personal area or personal subarea) from PA0001 table and email id from PA105 infotype.
    Regards
    Raju

  • EVDRE encountered an error retriving data from web server in PROD

    Hi friends,
    We are checking Evdre reports in BPC production system. We checked few application' EVdre input templates & reports and are fine.
    But yesterday evening onwards we are facing below error message.
    EVDRE encountered an error retriving data from web server. This message we are getting  for all BPC applications in BPC production.  There is no short dump in backend.
    But when i checked in BPC developement there is no probelm.
    We are on BPC7.5 NWsp04 and BI7.01.
    In BPC, production,when i try to create evdre template(just after filling
    information in evdre builder), immediately getting same error information.
    I read few notes, did as per that but sill problem exists. In note, mentioned process dim of particular application and process application. Logout from bpc admin & excel. I did this and, that error message not received for upto 20min. After that i'm getting error. We checked communciation between ABAP layer and bpc, reset IIS also. Still same probelm exists.
    Any suggestions pls.
    thanks,
    naresh

    Hi frineds,
    SAP OSS team resolved along with our basis guy.
    Initially SAP supported notes:
    1.1475233 and 1378705 Process all dimensions and applications.
    2.1355954 Drop SAP temp tables.
    3.1428764 confilict only if you use Oracle 10 g, if you don't, then forget it.
    I used 1378705 and problem resolved temporarly, but still exists after 1 day.
    There are different reasons for getting the error message. In our case, problem is at backend BW and, BW system running on HP unix OS.
    Checked librfc32.dll in the
    directory /usr/sap/BP1/DVEBMGS00/exe.
    Executed the following MDX statment in MDXTEST transcaction, and it
    executed in both the available instances.
    SELECT
    {[Measures].MEMBERS} ON COLUMNS,
    [0MATERIAL].[LEVEL00].MEMBERS ON ROWS
    FROM [$ZCO_CDPC].
    Even i also don't have clue how SAP resolved this issue.
    Regards,
    Naresh

  • Database.LoadDataSet() method throwing error while retriving data from IBM DB2 database

    Database.LoadDataSet() method is throwing error during retriving data from empty table of IBM DB2 database. It is giving error code "SQL0100W".
    “Error Message: 0NO_DATA [02000] [IBM] [DB2 / NT] SQL0100W FETCH, whether there is a line to be UPDATE or DELETE, or of the query result is an empty table .
    SQLSTATE = 02000”

    Hello SharayuPandit,
    For issues regarding DB2, i suggest that you could post it to DB2 related forum:
    https://www.ibm.com/developerworks/community/forums/html/forum?id=11111111-0000-0000-0000-000000000842
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Problems transferring data from MacBook Pro to MacBook Pro

    I just bought a new MacBook Pro and I am having problems transferring data from my old MacBook Pro. I am using an Apple Thunderbolt to FW adapter to hook both computers and I am using the Migration Assistant. Everything looked ok until the "Transferring Your Information" screen got stuck. It says that it is "Transferring your Application folder..." And it has been stuck for at least the last two hours giving a message that says "About 3 minutes remaining..." This is starting to get ridiculously annoying. Options?

    I guess I am finding my own way as time progresses and frustration increases but these are two things that I have found so far:
    1. Transfering from one machine to another does not seem to be the most efficient way to do this so using the TimeMachine backup must be the way to go...
    HOWEVER
    2. In this process I also found another "complication" called: Legacy FaultVault - My computer is encripted and I used this now so called "Legacy FaultVault" app to do it (when it was no a Legacy!). The thing is that you can not transfer documents from your TimeMachine backup to your new Mac if the Legacy Fault Valut is active on your old machine so you first need to desactivate the encription. HOWEVER, this brought another issue...when I tried to desactivate the encription using the Legacy FaultVault screen I got a message saying that I did not have enough disk space to allow me to do that....Isn't that great??? This is a problem by itself and it seems to have some sort of solution I was reading about (not straight forward at all). What I am trying to do now is to copy the folder that contains my files and just paste them on my new machine to see if that works....it looks like my apps are on my new machine, unsure if they are working...need to test this next....
    I guess the transfer machine to machine could have sorted out the conflict eventually...after tens of hours or maybe not! Who knows....
    A very frustrated Apple fan...
    I love Apple products but this is an ISSUE...I feel like there is lack of adecuate documentation around to deal with this or the data transfering apps should be able to deal with this on a more efficient way....just saying...

  • Migration Assistant: Problems transferring data from PC (XP SP3) to new Mac Pro 2012 - can not get Migration Assistant to work as PC will not display verfify passcode

    Migration Assistant: Problems transferring data from PC (XP SP3) to new Mac Pro 2012 - can not get Migration Assistant to work as PC will not display verfify passcode
    Hello, I am having problems migrating data from my old PC running XP (SP3) to my new Mac Pro 2012 using the Migration Assistant.
    - I downloaded and installed the Windows Migration Assistant from Apple
    - My Mac recognized PC and displays passcode
    - The sasscode does not show / display on my PC
    - My Mac is then stuck in "authenticating" loop and the PC is stuck "waiting for Mac to connect."
    - Both computers are connected on same network (have connected PC on WIFI and using ethernet to Reuter)
    I have looked on support site and only response I saw says to reinstall Windows Migration Assistant (which I have done)
    Any ideas?  If cant get this to workare there instructions for manually bring across relevant data eg itunes music and apps, photos, picasa data etc?

    Why not turn off the Windows firewall and uninstall any other firewall software you have installed?
    If you are using a Norton product uninstall it and discard it. To fully unistall most Norton products you have to go to the Norton website and download a soecial program to completely get rid of it. The normal uninstall feature built into the program will not remove all of it.

  • Retriving data from database using JDBC and mysql.

    st=con.createStatement();
    st.executeUpdate("INSERT INTO temperature(`temp`) VALUES ('"+name+"')"); ResultSet rs = st.executeQuery("Select * from temperature");
    String s1="";
    while(rs.next())
    s1= rs.getString(1);
    document.write(s1+"-----------------------------");
    }when i am retriving data from data base i am getting data which i inserted before.how to display present inserted data? i heard we should use scrollable.can any one how to do this.
    Date&time: Thu Feb 28 18:41:40 PST 2008 -----------------------------NANDA----------------------------
    [[email protected]----1name=2name=3name=4name=5name=6-----------------------------
    1123456-----------------------------123456-----------------------------1,2,3,4,5,20-----------------------------

    Hi,
    st=con.createStatement();
    st.executeUpdate("INSERT INTO temperature(`temp`) VALUES ('"+name+"')");
    //Changes in the query
    ResultSet rs = st.executeQuery("Select * from temperature where temp ='"+name+"' ");
    String s1="";
    while(rs.next())
    s1= rs.getString(1);
    document.write(s1+"-----------------------------");
    //Select * from temperature where temp ='"+name+"'
    The above query which results the last updated information

  • HOW to retrive data from SAP Tabel

    Hi Friends,
       1)Can you please explain how to retrive data from SAP table(example AFRU).
       2) we had requriment based on the qunatity , Product name and date we need to display KPI's .KPI is based no products manfactured per day with some conditions
    Regards
    Srikanth

    Hi Udayan,
        I want to retrive SAP Table data from xMII.can you please explain elabarately how to call "RFC_READ_TABLE" from xMII.
    please do the needful
    Thanks
    Srikanth

  • After retrive data from KM files in webdynpro , i am getting errro. Plsadvi

    Hi Experts,
    We are doing one application that retrive data from KM files and display into TextEdit fields.
    But we are getting below message :
    SapuserWPUser default_namespace: com.sap.security.core.usermanagement [email protected]1 WPUser: (Guest)[com.sapportals.portal.security.usermanagement.User50_Impl@-1256229727] UME user object Transient data:
    com.sap.security.core.persistence.imp.PrincipalDatabag Mon Dec 14 10:40:39 CET 2009 * UniqueID: USER.PRIVATE_DATASOURCE.un:Guest * Type: USER * Home data source: PRIVATE_DATASOURCE * Private id part: un:Guest * * Existence not checked. * * "com.sap.security.core.usermanagement"|->"j_authscheme" (no time limit)="anonymous" * "com.sap.security.core.usermanagement"|->"km-permissions" (no time limit
    com.sap.security.core.persistence.imp.PrincipalDatabag Mon Dec 14 10:40:39 CET 2009 * UniqueID: USER.PRIVATE_DATASOURCE.un:Guest * Type: USER * Home data source: PRIVATE_DATASOURCE * Private id part: un:Guest * * Principal exists. * * Direct parents: * GRUP: GRUP.SUPER_GROUPS_DATASOURCE.EVERYONE *       GRUP.SUPER_GROUPS_DATASOURCE.Anonymous Users *       GRUP.PRIVATE_DATASOURCE.un:Guests * ROLE: * "com.sap.portal.dsm"|->"DebugControlFlag" (no time limit)= * "com.sap.security.core.usermanagement"|->"locale" (no time limit)= * "com.sap.security.core.usermanagement"|->"uniquename" (no time limit)="Guest" * "$serviceUser$"|->"SERVICEUSER_ATTRIBUTE" (no time limit)= * "com.sapportals.portal.navigation"|->"uipmode" (no time limit)= **
    Pls help me above issue
    Edited by: vidala sekhar on Dec 14, 2009 10:54 AM

    Hi there,
    Did you got a solution to this? I'm facing the same issue.
    Thank you
    BR
    Joã

  • ADS, Problem accessing data from Destination

    Hello All,
    I'm facing an error when executing transaction TRIP.
    If I use the standard Adobe form it's OK no error.
    If I use a Z-form copy of this standard form (after doing customizing in PE03) I have an error message: Error while initiating travel form
    When I was deeper in the debugging I found that there was an exception rose which is:
    ADS: com.adobe.ProcessingException: com.adobe.ProcessingException: Problem accessing data from Destination: ...
    I found some threads talking about ADS and transaction SM59u2026
    When testing the connection in tx SM59 I have an error message 403: forbidden access
    Is it the cause of the error generated in TRIP tx?
    If yes why using the standard form works fine??
    Thank you in advance for your help.
    Regards,
    Moez.

    Hello Otto,
    Yes I'm using the same user for the two forms.
    It works for the standard form and not for the Z-form.
    That's why I'm expecting a customizing issue to resolve this problem.
    All solution that I found are talking about administration and Visual Admin tool.
    Regards,
    Moez.

  • SYSTEM ERROR : com/adobe.processingexception:Problem accessing data from De

    Hi SAP Guru,
    We have configured ADOBE for separate ABAP server and Java Server.
    But when I am execution report FP_TEST_00 getting below error
    ADS: com.adobe.ProcessingException: Problem accessing d(200101) Message no. FPRUNX001
    FP_CHECK_DESTINATION_SERVICE
    FP_CHECK_HTTP_DATA_TRANSFER giving error
    SYSTEM ERROR : com/adobe.processingexception:Problem accessing data from Destination dest :FP_ICF_DATA_IP1//sap/bc/fp/form/layout/FP_FORM_SECURITY_TEST.XDP?fp-language=DE
    But report fp_pdf_test_00 is giving postive response.
    I have troubles hooted according to note 944221 , my configuration is ok but no success.
    Please help to resolve this issue.

    Hi,
    Check your ADS Connection .
    Do one thing
    Go to T-code "SM59"  -  "RFC Destinations (Display/Maintain)"
    select "HTTP Connections to External Server" - > ADS
    Double click there and check the all the settings " Administrations "  ,  Technical setting , Logon and security , Special option .
    Please check the log on and pass word with the help of your SAP BASIS consultant it will work fine .

Maybe you are looking for

  • Spry Accordion and jQuery UI Accordion for Widget Browser

    I have Dreamweaver CS5 and used the spry accordion for a left menu. I then used the widget browser and added jQuery UI accordion. But there appears to be a conflict in that the spry accordion is not displaying the white font on hover, instead using t

  • How do I get Firefox 18.0.1 (Windows XP 32-bit) to complete its update?

    I was having some problems with Firefox and so, a week ago, I chose to "refesh" (the term I believe the Moilla website window used) with a download of Firefox 18.0.1. I followed all instructions and was not aware of any difficulties in the download o

  • Blank not Zero for Display in report

    Hi, For a Particular Calculated Key Figure X, I get a Zero value using a logic such as if Y=0; X=0. For Display in Report, Currently it shos the vakue as Zero. I want to show it as a blank vaklue instead. Could you suggest how to achiev this ? I can

  • Can source and target tables be the same

    Hi there, I need to restate profit center column in the delivery fact table. Historical Profit Centers need to be populated since today is the first time we brought in Profit Center field from LIPS table. The source for the delivery fact table is SAP

  • Using AD Custom Attributes in UME

    Hello all, I want to get employee number and First/Last name which are maintained in AD as Custom Attributes. The question is how to bind UME user attribute to AD Custom Attribute? In MMC AD Custom Attributes are shown as "Custom Attribute 1", ... "C