To get text lines from text editor

Hi to all,
   I have a  created a layout for Material Purchase Order. In that layout every material have its item text and PO text.I have called a function module READ_TEXT to get that text lines.But in that layout printed only last material item text and PO text for all items.How I can solve this probelm.Please give me any ideas.

Hi
try using   READ_TEXT_INLINE
check this thread its the same issue
problem in read_text   function

Similar Messages

  • [svn] 4694: Don't remove text lines from the container if it isn' t the container the lines were added to.

    Revision: 4694
    Author: [email protected]
    Date: 2009-01-27 14:35:21 -0800 (Tue, 27 Jan 2009)
    Log Message:
    Don't remove text lines from the container if it isn't the container the lines were added to. When there is a state change the displayObject can be switched out from under the TextGraphic and TextBox.
    QE Notes: need to add tests - will attach my test program to bug
    Doc Notes:
    Bugs: SDK-18923
    Reviewers: Gordon
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-18923
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/TextBlockCompose r.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/TextFlowComposer .as

    Yup, you guys pointed me in the right direction.
    I changed my adjustmentListener to the following:
    JScrollBar scrollBar = (JScrollBar) e.getSource();
    int endLoc = document.getLength();
    try {
        Rectangle end = outputArea.modelToView(endLoc);
        if (end != null) {
            int n = scrollBar.getValue() + scrollBar.getVisibleAmount();
            boolean locked = (end.y >= n && n <= (end.y + end.height));
    } catch (BadLocationException ex) {
    }By comparing scrollbar position with the visible rectangle of the end of the document, I can now easily tell if the user has moved the tracker back or not.
    To go to the next step of automatically pausing scrolling whenever the user is moving the slider back, I also had to disable the automatic scrolling performed by DefaultCaret. Because there was no way to tell if the user was scrolling or if the output was adjusting from the adjustmentListener, I also had to flag whenever I was autoscrolling.
    The end result is a JTextPane that can be appended to at all, and locked by the user by using the slider. If new data arrives, the window is not scrolled, and any text selection the user has is not cleared. Perfect!

  • Read lines from text file to java prog

    how can I read lines from input file to java prog ?
    I need to read from input text file, line after line
    10x !

    If you search in THIS forum with e.g. read lines from file, you will find answers like this one:
    Hi ! This is the answer for your query. This program prints as the output itself reading line by line.......
    import java.io.*;
    public class readfromfile
    public static void main(String a[])
    if you search in THIS forum, with e.g. read lines from text file
    try{
    BufferedReader br = new BufferedReader(new FileReader(new File("readfromfile.java")));
    while(br.readLine() != null)
    System.out.println(" line read :"+br.readLine());
    }catch(Exception e)
    e.printStackTrace();
    }

  • Unable to get command line from client!

    Does anyone know what this means? My G5 shuts itself down and I don't know what is causing it.
    Mac OS X Version 10.4.11 (Build 8S165)
    2009-02-12 11:01:19 -0800
    2009-02-12 11:01:21.760 SystemUIServer[199] lang is:en
    Feb 12 11:01:33 mDNSResponder: NAT Port Mapping (LLQ event port.): timeout
    Feb 12 11:01:37 cups-lpd[221]: Unable to get command line from client!
    Feb 12 11:10:48 Zelle-Olson cups-lpd[233]: Unable to get command line from client!
    Feb 12 11:17:37 cups-lpd[235]: Unable to get command line from client!

    Hello golferky,
    CUPS stands for Common Unix Printing System and is just one of the many background processes that is running on your system and is of no harm. What you are seeing in your message console is your Mac attempting to talk to a printer you have may have had or still have it connected to.
    Here is more information if you want to look into it.
    http://www.cups.org/
    B-rock

  • Get the line from my selection screen

    Hii,
    I need help. If I select a value from the value help, I also want to read the line from my itab to make changes in this line and save this line bank to the dtab. I have no idea how to get the the row from my internal table that will appear in my selection selection screen. 
    Could anyone give me some advices how to get the line from my selected value?
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR CREATION.
      SELECT * FROM flight INTO TABLE lt_flight.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          retfield        = 'UPDATE_DATE'
          value_org       = 'S'
        TABLES
          value_tab       =  lt_flight
          return_tab      = return_tab
      IF SY-SUBRC = 0.
      ENDIF.
      ls_dynpro_value-fieldname  = 'CREATION'.
    thanks and regards,
    John

    Hi,
    Try to pass parameter to FM like this:
    call function 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
    retfield = 'SAKNR'
    dynpprog = sy-repid
    dynpnr = sy-dynnr
    dynprofield = 'S_SAKNR' "dynpro field
    window_title = 'AR Account'
    value_org = 'S'
    TABLES
    value_tab = lt_skat_f4 "internal table contain values
    EXCEPTIONS
    parameter_error = 1
    no_values_found = 2
    others = 3.
    Hope this help.
    BR,
    Thien

  • Text line from SO to PO

    Hi,
    I am creating the PO from the SO. The text line that I entered in the SO is not populated into the PO.
    Is there any reason for this?
    Tks
    Adriana

    I am not sure if this is a problem or it is by design.  Since I don't have exact environment to test, I would assume this is probably by design.  You know, the text messages may not necessarily be the same between PO and SO even though the items are the same.  That might be deliberately omitted during application development.

  • How to strip text formatting from text field value ??

    Hi everyone,
    Have tried to get some info on this but no luck.... I've
    created a simple contact form in Flash, but the URL which it's
    generating contains the text formatting from the text input fields.
    As a result the script that processes the mail send doesn't work.
    How do I strip the text formatting out of text1, text2 and text3
    before I use getURL() ??
    on (release) {
    url_var =
    "your_name="+text1+"&your_e-mail="+text2+"&message="+text3;
    getURL("contact.php?"+url_var, "_blank", "GET");
    text1 = "";
    text2 = "";
    text3 = "";
    }

    text1.text = "";
    text2.text = "";
    text3.text = "";
    …that should strip the textfields. You probably also
    want to add this property (text) in the getURL()

  • How to fetch the text dynamically from text modules

    Hello All,
    I have a requirement where the I need to print the Form in multiple languages. For this I have created textmodules and maintianed translations as well. But for Spanish and Portugese there are two version languages. For example Spain has Spain english and South American english, similarly Portugal Portugese and Brazilian portugese.
    In se63 transaction, we dont have two versions.Only one of them is available.
    Therefore I've created a custom table where in which I will mainted country.langauge and textmodule name as 3 coloumns. I have cretaed a FM
    where in I pass the country and language as import params to get all the respective text modules.
    Now I tried to move the textmodules to some some structure which I finally moved it to Context part in Adobe form.
    Now I tried to create text module, by giving variable name in the text field. For example i have passed &st_dun_texts-email&.
    It says text module does not exist.
    I have also created using dynamic text.There field name would be passed.But In the output I am getting the Text module name but not the content inside the text module.
    The actual content which is there in the text module should be printed
    Can anyone please help me out on the above problem. ?  It is urgent....!!!!!

    you could use SET LOCALE LANGUAGE myLanguage - so you can switch to the desired language and all texts will selected from that language.

  • PO header text, line item text in smartform

    HI,
    In my smartform I am fetching the 'PO header text', 'item text', and 'material text' for PO with "Include text"( by passing text name, object id etc..) with "no error if no text is maintained" checkbox checked
    This is working fine In the development servers....
    but when I moved these requests to quality servers...the above mentioned texts are not getting displayed in the smartform...while Texts are maintained in PO.
    What can be the problem??

    Hi,
    Thanx for ur reply...
    But will you pls tell me how to achieve the same??
    Thanx.

  • JTextArea How do I add text on a new line from Text field

    I want to put each new input from the text field at the start of a new line and keep the previous entries at the start of their
    own line.
    I'm doing this but need help with the new line.
    jTextArea1.setLineWrap(true);
    jTextArea1.setWrapStyleWord(true);
    jTextArea1.setEditable(false);
    public void textProcess()
    System.out.println(sourceref1.getSourceText());
    jTextArea1.setText(jTextArea1.getText()+" "+source.getSourceText());
    The above just keeps adding on the new text until I reach the word wrap limit.
    Thanks

    Maybe you should use the escape character. Anyway, you can consider use append(text:String) instead of getText() everytime.
    Eg:
    jTextArea1.append("\n"+source.getSourceText());

  • Help:  Not getting all data from text data type

    Hi there
    I have a stored procedure that returns a couple of fields and one of the fields is of datatype TEXT. In my ResultSet, I do not get all the data back that is stored in the TEXT datatype. I have say about 600 charactors in this field, but only 30 charactors are returned. Is there a reason why this is happening and how can I fix it?
    Please help?
    Thanks

    I set that field to have a normal string of about 50 charactors. Namely: "this is a note that is about 49 charactosrs long." (exclude the quotes). And I still got 30 charactors back only.
    I set a shorter text value of 21 charactors and that returned all 21 charactors.
    The text that is usually in this field is:
    "URL=SubsidiaryNarrative.html�BABY_CARE_PRODUCTS=false�AIDS_FOR_PHYSICALLY_DISABLED=false�SPORT_SUPPLEMENTS=true�NATURAL_REMEDIES=false�COSMETICS_FRAGRANCE=false�WOMANS_HEALTH=false�ADDITIONAL_CARDS=No�EXERCISE_ROUTINE=Yes�NUMBER_OF_CHILDREN=0"
    And I got out "URL=SubsidiaryNarrative.html�B"

  • How to read long line from text file

    Hi,
    I just faced problem when reading a big text file.
    BufferedReader br = new BufferedReader(new FileReader("D:\\afile.txt"));
    String str;
    int i;
    while ((str = br.readLine())!=null)
    i++;
    //do some work here...
    ...This code throws exception:
    Exception in thread "main" java.lang.OutOfMemoryError: Java heap spaceSo I thought file line is very long. When I opened it in FAR it only displays no more than 4096 characters as a line.
    Help me to read a text file that's line is very long?

    try,
    $ java -X
    -Xmixed mixed mode execution (default)
    -Xint interpreted mode execution only
    -Xbootclasspath:<directories and zip/jar files separated by ;>
    set search path for bootstrap classes and resources
    -Xbootclasspath/a:<directories and zip/jar files separated by ;>
    append to end of bootstrap class path
    -Xbootclasspath/p:<directories and zip/jar files separated by ;>
    prepend in front of bootstrap class path
    -Xnoclassgc disable class garbage collection
    -Xincgc enable incremental garbage collection
    -Xloggc:<file> log GC status to a file with time stamps
    -Xbatch disable background compilation
    -Xms<size> set initial Java heap size
    -Xmx<size> set maximum Java heap size
    -Xss<size> set java thread stack size
    -Xprof output cpu profiling data
    -Xrunhprof[:help]|[:<option>=<value>, ...]
    perform JVMPI heap, cpu, or monitor profiling
    -Xdebug enable remote debugging
    -Xfuture enable strictest checks, anticipating future default
    -Xrs reduce use of OS signals by Java/VM (see documentation)
    -Xcheck:jni perform additional checks for JNI functions
    The -X options are non-standard and subject to change without notice.

  • Read lines from text-file in specified [ITEM]

    Hello,
    are there any functions integrated in Labview to read a text-file which looks like this:
    [ITEM-NAME_01]
    parameter1 = here
    parameter2 = 1123
    parameter3 = a453
    [ITEM-NAME_02]
    parameter4 = here
    parameter5 = 1123
    parameter6 = a453
    Can this be done easy, or do i have to manually search the file for the "["-character ?
    At the end i want a VI where i pass the file-name and the item-name as input, and as output i want one array with the parameter-names and the other array with the values.
    How can this be done?
    Thanks for your help

    Hi OnlyOne,
    you are talking about Configuration files?
    Look in the file palette, sub-palette "configuration files". It's all in there!
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • How to open text app from text alert in iOS 8?

    I have an issue. When I'm in another app and I get a text alert, I have the option to reply or to close. It I click "reply" it does a quick reply box, but you don't have the choice to go directly to the text app. If someone sends you two msgs back to back, you only see the last one, so if you missed #1, you can't see it unless you close the quick reply and manually go to the text app. Is there a way around this? Can you swipe or hold or anything to go from the alert to the text app itself? I'm tearing my hair out here. I like the new iOS 8 aside from this. What if you're browsing Facebook or Twitter while waiting on a text, someone sends two in a row, you only get an alert for the second one, and you can't see the first one unless you close out and go back to the text app. Any help would be appreciated!

    Chris: Thanks for the response. Is there any way you can set up to keep banners up until you dismiss them or will they always disappear? I love my alerts, I just don't like it that I can't go directly to the app anymore..

  • Change url text dynamically from text file

    I need to use a text file created from a form to rewrite the
    links on my main page. Can I put some kind of javascript in the
    href so when the page loads it'll rewrite the link to point to
    "newpic1.jpg" where newpic1.jpg is one of the items from the text
    file created by my form?
    Please help, this has got me really stuck. All help greatly
    appreciated!!!
    ff

    flashfloozie wrote:
    > how would I identify what line of the text file each
    link will use?
    >
    > btw I really appreciate you taking time to help me with
    this!!!
    >
    > ff
    that is the difficulty with a text file...
    if the links are to remain only for a session, you can set a
    session var
    a simplified method - using PHP - would be:
    1. form
    <form id="form1" name="form1" method="post"
    action="process_form.php">
    <label for="selectimg">Select Image:</label>
    <select name="selectimg1" id="selectimg">
    <option value="img_blue.gif">Image blue</option>
    <option value="img_red.gif">image red</option>
    </select>
    </form>
    2. process_form.php
    <?php
    $_SESSION['img_array']['img1']=$_POST['selectimg1'];
    ?>
    3. wherever the image needs to be displayed:
    <img src="/images/<?php echo
    $_SESSION['img_array']['img1']; ?>" />
    Please be advised that this is a very simplified version and
    that if you
    do use something like this you have to first clean up
    whatever the form
    submits. NEVER trust user input - it could be malicious
    code...
    Anurag

Maybe you are looking for

  • How can I receive the value of a selected item in the backing bean

    I have a table in a jspx file. When I go to the detail page I want to do something with the value of the currentrow. I want do a calculaction of the value of ClbId. How can I receive the value of the selected ClbId in my backing bean <af:table value=

  • I would like to make a employeemis with using java, what the eror?HELP!

    Create a class named Employee. Includes data members for Employee class : Data member     Data type Employee id     String Employee name     String Icno     String Gender     Char Date of birth     String Address     String Commencing Date     String

  • TS1702 I cant download applications from the app store

    when i want to download any application from the app store an error occurs.. after pressing the "install app" button, the icon of the app appears on the springbord with "waiting" written below it (as if its going to start downloading), but suddenly a

  • Which is better to install Oracle 11g database based on ASM or Filesystem

    We will install 2 sets of Oracle 11.2.0.3 on Redhat Linix 5.6 and configure Data Guard for them further -- one will be a primary DB server, the other will be a physical standby DB server. The Oracle DB stoage is based on SAN Array Disk with 6TB size.

  • Automatically tagging arch=(x86_64) to PKGBUILDs in yaourt?

    Every time I get a package from the AUR, I need to manually edit it to add the arch=('x86_64') string so I can get packages to install.  Is there something magical I could to to put that string in the PKGBUILDs, as well as make me a burger?  I am rea