How to read line by line in GUI_UPLOAD for long line?

Hi,
when i read a file use GUI_UPLOAD line by line, i can't get a whole line maybe for the restrained line size in the function. can i set the max line size by myself ? so i can read a whole line.
if not, i just image maybe i can set the read mode to a ' stream file', and then i read N(line size ) characters each time, but how shoulld i do ?
thanks!

Hi,
In abap output length is 255 charcters only 
so you can see  255 char only in your internal table but internal table contains all the data.
so if you want to see or print remaining data  better to use wa_itab+255(255) to print other data .
i hope this is helpful to u..
reward if needful

Similar Messages

  • How to read line number text from PDF using plugin?

    Hi, I would like to know how to read line number text from PDF using plugin?
    Thanks in advance.

    Ok, some background reading of the PDF Reference will help you understand why this is so difficult. PDF files are not organised into lines. It is best to think of each word or character on the page as being a graphic with its own position. The human eye sees lines where a series of graphics (words) are roughly in the same horizontal region.
    In the general case it is difficult or even impossible to answer this. You may have columns with different spacing (but the PDF stores no information on what is a column). You may have subscripts and superscripts. You may have text in graphics coinciding with other text. Commonly, there may be titles, headings or page numbers which are just ordinary text and might count as lines.
    That said, what you need to do is extract the text on the page and its positions. The WordFinder APIs are the way to do that. Now, sort all the words out, using the Y coordinates and size to try and guess what makes a "line". Now you are in a position to find the text (divided into words, not strings) and report the "line number" you have estimated.

  • Hi how to read lines in a text file???

    Hi experts
    please help me out
    i wanna read a file which contaning students id and name.
    such as
    211 john
    122 david
    111 Chris
    and so on.
    i know how to read using bufferedreder but the problem is
    my teacher is gonna change the number of students in the file
    when she marks my code....
    so i don't know how many lines(students) will it be.in the file.....
    in this case, how to read a file?? i don't know how many lines will it be..
    but i know the maximum students in the file is 20.
    how to do it with this..........................
    experts~ please help me~~~

    try this
    try {
                FileReader reader = new FileReader(f);
                BufferedReader bufferedReader = new BufferedReader(reader);
                line = bufferedReader.readLine();
                while (line !=null) {
                    line = bufferedReader.readLine();
                bufferedReader.close();
                reader.close();
            catch(IOException e) {
                String msg = new String("Error Reading " + f + " data file");
                throw new OpenFileException(msg);
            }

  • How to read line by line in a file

    i have a text file which contents is as below:
    =======================
    [ID1]
    Name=Me
    Age=22
    username=admin
    Password=password
    [ID2]
    Name=You
    Age=23
    username=admin
    Password=password
    ========================
    i need to read this file line by line to store them in Map which the key of Map is "ID". anybody knows how to read it line by line? pls?

    How about something like this: (not tested)
    import java.io.IOException;
    import java.util.HashMap;
    import java.util.Map;
    public final class ConfigReader {
      // map< String, Map > of sections
      private final Map _sectionMap = new HashMap();
        * Create a new config reader using the given configuration file.
      public ConfigReader( final String configFile ) throws IOException {
        // current section and line
        String section = null;
        String readLine = "";
        // read line by line
        final BufferedReader bufferedReader = new BufferedReader( new InputStreamReader( new FileInputStream( configFile ) ) );
        while ( ( readLine = bufferedReader.readLine() ) != null ) {
          // check the line
          if ( readLine.startsWith( "[" ) && readLine.endsWith( "]" ) ) {
            // get the section name
            section = readLine.substring( 1, readLine.length() - 2 );
          } else if ( readLine.indexOf( "=" ) != -1 ) {
            // get the id and value
            final String id = readLine.substring( 0, readLine.indexOf( "=" ) );
            final String value = readLine.substring( readLine.indexOf( "=" ) + 1 );
            getSectionMap( section ).put( id, value );
        * Get the section map for the given section name.
      private Map getSectionMap( final String section ) {
        // look for the map
        Map sectionMap = ( Map ) _sectionMap.get( section );
        if ( sectionMap == null ) {
           sectionMap = new HashMap();
           _sectionMap.put( section, sectionMap );
        return sectionMap;
        * Get the given property from the given section.
      public final String getProperty( final String section, final String propertyName ) {
        return ( String ) getSectionMap( section ).get( propertyName );

  • How to Read/Write to PS registry, tools for making GUI

    Hi Folks,
    We have several plugins that we would like to make available to our users by the Photoshop panel (made with Adobe Configurator).
    Plugins are scripting aware, and also use reading and writing to Photoshop registry.
    We also want that user can define settings for the plugin and to be able to call it by clicking on a button.
    Only way that I could  find is as follows:
    User click on a settings button, and that calls java script that display dialog with settings.
    There user can make choices and save them.
    When user click on a run button script read settings from registry and calls plugin
    or just call plugin (plugin can read from registry himself).
    Now the questions:
    What are the tools that are using to make dialogs in JS when you make java scripts to automate Photoshop?
    How to read and write Photoshop registry with java script?
    I am experienced plugin developer but until now all work was in PS SDK and C++.
    I have no experience in scripting Photoshop trough java script.
    Plugins are Win 32/64 platform that are supported is Windows XP or later.
    Thank you in advance.
    Regards,
    Momir Zecevic

    Well, as someone has said, pefs should work, but if not, it is quite easy to figure out the syntax of the .reg files, so why wouldn't you create the one you need and than import it? I think you can add reg keys with
    REG ADD [ROOT\]RegKey /v ValueName [/t DataType] [/S Separator] [/d Data] [/f]or
    REGEDIT /S pathnamecommands, so call that in an external process (see ProcessBuilder class).

  • How to read data from Logical Database ADA for more than one financia year

    Hi,
    I need to read data from ADA logical database and ANLCV node for current financial year 2007 and for the next 3 years – 2008, 2009, 2010. When I do this using program attached below, I receive only data for one year, which is entered at the selection screen in the field BERDATUM. How should I modify my program to read ANLCV node for more then one year ? Could anybody help me ?
    Kind regards,
    Zbigniew Debowski
    REPORT  ZWRZD075.
    NODES: anlav, anlcv.
    START-OF-SELECTION.
    GET anlav.
    WRITE:/ anlav-anln1, ' ', anlav-anln2.
    GET anlcv.
    WRITE:/ anlcv-kansw, ' ', anlcv-knafa, ' ', anlcv-gjahr.

    Hi!
    Have you already tried your luck in Java Programming forum?
    Regards,
    Thomas

  • How to read chinese and keep azerty keyboard (for ...

    I m bored to be not abble to read all the messages that i received in chinese. I canot change for the chinese soft coz i won t have azerty keyboard (i need it) How to be CONNECTED with others PEOPLE ???????

    LDAP_PARAM_ERROR
    https://msdn.microsoft.com/en-us/library/aa367026(v=vs.85).aspx

  • How to read inline feed using android api for odata

    Hi,
    Need help on reading inline feed using android api. BB and iOS supports inline but for android there is no api.
    Please suggest the workaround
    Regards,
    Satish

    This link is very useful:
    Knowledge Management and Collaboration (KMC)
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/kmc/Knowledge%20Management%20and%20Collaboration%20Developers%20Guide.html
    Patricio.

  • How to Check LT check box in IA02 - for Long text for Equipment Task list operations

    Hi Experts,
    I am trying to upload text for Equipment task list,i am able to upload texts at header,but not for operations.
    At operations level - we have a check box LT which is grayed out - when am manually making an entry ( LT Check box -  is getting checked when am creating entry manually ) - after manual entry - when i tried uploading text is working fine.
    Can someone please tell me how to get the check box - checked - while saving text - using FM : SAVE_TEXT .
    Cheers,
    Rali K

    Try this:
    function findNodes(vNode){
         if (vNode.className === "field"){
              if (vNode.isPropertySpecified("name")===true){
                   var myStateName=new RegExp(vNode.name);
                   var returnValue = GFL.search(myStateName);
                   if (returnValue!=-1){
                        this.ui.oneOfChild.border.fill.color.value="192,192,192";
                        this.access="readOnly";
                   else{  
                        this.ui.oneOfChild.border.fill.color.value="255,255,255";//whatever colour is open access
                        this.access="open";
         for (var a=0;a<vNode.nodes.length;a++){
              findNodes(vNode.nodes.item(a));
    findNodes(xfa.form);
    Kyle

  • How to run ABAP Function Module in Background FOR LONG TIME?

    I am not that experienced with ABAP. I am on SAP BI 7.0. I WANT TO RUN A FUNCTION MODULE
    RSDRT_INFOCUBE_DATA_COPY.
    I used SE37 and then executed the module, I supplied  the parameters on the form which opped-up and then  program started running. . Program was however interrupted after 10 minutes by ABAP. How can I run  it in background without interruption?
    THANKS A LOT.

    Change parameter rdisp/max_wprun_time.
    Default value for this is 600 seconds (10minutes).Change it to a time which you think you need for copying infocube data.
    May be 5 hours.
    PS:You can not run Function Module in background directly,but you can create a Z* program and call that FM from within that program and then run the program in background.
    Hope this answers your query. Best of Luck!
    Thanks and Regards
    Anindya
    Edited by: Anindya Bose on Jun 30, 2009 1:24 PM

  • How to preserve calendar on calDAV in iCal for long term storage?

    Is there a way one can transfer/preserve calDAV/GoogleCalendar entries to iCal so that all the entries are preserved even when iCal no longer subscribes to those feeds?
    Message was edited by: SoGood

    Hi John and Austin,
    I think both of you are correct (when looking at iCal "Version 6.0 (1639)" with 10.8.1/ML).
    Thanks!
    The "very subtle grey in Month view" is visible on my iMac as well, but ONLY in Month view.
    This (almost invisible) highlighting is not shown in Week view. In my initial question, I was addressing Week view (without mentioning).
    This is inconsistent - one may hope that Apple will fix this (and also the "invisibility").
    Maybe, some extension programmer has already generated a tool to modify these settings of iCal?
    (And at the same time removes the terrible "leather look" of iCal? Yes, I know there are descriptions how to change the resources. But I would prefer a tool that allows to modify the "skin" of iCal and Contacts via a GUI.)
    Bests, BW
    Added: check here: http://tweaksapp.com/app/mountain-tweaks/
    The tools allows to remove the "leather skin", but does nothing to highlight sundays or weekends in iCal's Week view.
    Message was edited by: bwadma

  • How to enable a printer which was offline for long time?

    Hi,
    One of our printers has not been used for a long time and was set to be permanently offline. Due to the need of printing, the printer was enabled. It is powered on (and can also be disabled and enabled) but is unable to print.
    Is there anything in SAP to check to see why it is failing to print?
    I have tried to check the status of this printer with other printer which is working fine. There is no difference in between their settings.
    The spool requests are waiting to be printed. I would like to check the ip addresses of the printers. Is it possible to find them through SAP. My O/S is Unix.
    Please help me to find the IP addresses of printers attached through SAP and I will try to check them first.
    Thanks
    Vijay

    Hi Vijay,
    Check SPAD -> output devices
    Check thats the printer is properly setup and it been handled by and active spool server, check that the printer ip-address is correct and the right method is in place.
    You can find the ip address of the printer by doing a ping <name of the printer> in a command prompt.
    Regards
    Juan
    Please reward with points if helpful

  • How to stop process chain if it yellow for long time

    hello all,
    I see that my process chain is running for long time and is yellow for more than last 24 hours now. I can see where the chain is stuck(not going ahead).
    What do we normally do in such scenarios?
    Also one more question I have is about delete PSA request process variant. Can i use the same variant in two different process chains, is yes than do I have to include the name of the PSA tables that are in both the process chains. When the variant runs in 1st chain does it delete the PSA tables from the second chain as well..(i hope i made this clear)
    Thanks in advance

    Once you have done with your init load manually. Then in case it was just the start of the process in ur Process Chain then first remove the chain from schedule and then go to the start process of the process chain and save the setting for immediate, uncheck the periodic box and save and then come out of the screen and then execute and activate the chain.
    Note:
    1. Before changing the setting in the start process make a note of the start time and also its periodic value.
    2. Once the chain is completed then change the setting in the start process back to previous start time and periodic value.
    3. Don’t forget to save and activate the chain.
    Regards,
    Rohini

  • How can I Read lines of data from a file starting at the end of the file??

    Can anyone help me with how to read lines of data starting from the end of a file instead of the beginning?? I do not want to load the entire file into memory as the files are very rather large. Instead I want to start at the end of the file and read lines backward , until I find the particular data item i am searching for, then stop.
    Can this be done in Java ? I know it can be done in Perl.
    Thanks.

    Thanks for your suggestion about the RandomAccessFile, I did actually thought about that approach , but wasn't sure it would work.
    I do not want to read the file in a sequential forward manner because the files contain large number of lines of data that have already been processed and therefore there is no need to reprocess these lines of data.
    The Unprocessed lines are always at the the end of the file and these are the data lines I am interesting in getting at without having to read the entire file. Therefore, i figure that if I can read the data from the end of the file then this would be much more efficient.

  • How to read from properties file

    Hi,
    I am using JSR 168.
    while creating a new portlet, a folder gets created with the name as "portlet". Under which is resource package and <PortletName>Bundle.java.
    pls tell me how to read from .properties file.
    waiting eagerly for some reply
    Thanks & Regards,
    HP
    Edited by: user9003827 on Apr 13, 2010 3:42 AM

    I think i have mixed it up :)
    I have looked at it again and believe you are using regular JSP portlets.
    Can you tell what you want to achieve by reading .properties file. Are you meaning the preferences of the portlet or what exactly are you trying to do?
    Reading propertie files is easy:
    // Read properties file.
    Properties properties = new Properties();
    try {
        properties.load(new FileInputStream("filename.properties"));
        String myKey = properties.getProperty("yourKey");
    } catch (IOException e) {
    }Edited by: Yannick.O on 13-Apr-2010 05:52

Maybe you are looking for

  • How to display an "All Day Event" date correctly in an integrated SSRS Report?

    I have two event items in a calendar list in SharePoint 2010. Both items have the same start time and end time. One of them, however, has the "All Day Event" checkbox checked. If I access them through a REST service, this is how the data is returned:

  • Letter of Credit in FICO configuration

    HI, Plz guide me Letter of Crediti inFICO part configuration steps how to do sned me mail. Mail Id:[email protected] Advance Thanks, abhijeet Edited by: Abhijeet Walke on Feb 26, 2008 12:24 PM

  • MacMini white Pixels

    Hallo everyone, I am having a problem with my Mac Mini. When I start it up normally I have a lot of white pixels on my display. When I start it up in Safe Boot everything is normal. I already changed the RAM, installed OS Tiger new, reseted the smc.

  • Create Migration - error in INS_WWV_MIG_ACC_FORMS - p_views_allowed ?

    Hi there, I'm trying to create a migration project. After clicking "confirm project details" I get this message: ORA-20001: GET_BLOCK Error. ORA-20001: Execution of the statement was unsuccessful. ORA-01438: value larger than specified precision allo

  • Converting Formats to Playlists or Folders

    I talked to an Apple Support tech about converting files directly to a playlist or folder without going into the Ipod Library. They said I could. Unfortunely my 90 day complimentary Support had run out. So I'm summitting my question to the forum. I w