Spaces are not and end of TXT file in 4.6.C

Hi:
I need to create a TXT file with a length of 240 characters, but spaces are not at end of file. I need them to export file to another system.
I have looking for in forum  a solution for this problem, but solutions like using respecting blanks or cl_abap_char_utilities are not available in 4.6.C.
I use GUI_DOWNLOAD function with all options but it does not work.
Do you know a way to solve this problem in this release?
Thanks in advance for you answers.
Regards.

Hello
Please use the below code snippet to get the space in 46c.
DATA: LV_space TYPE X VALUE '20'.
DATA: LV_EXP TYPE C.',
FIELD-SYMBOLS: <f_tab> TYPE ANY.
ASSIGN LV_space TO <F_TAB> CASTING TYPE C.
LV_EXP = <F_TAB>.
Now LV_EXP will hold the ascii equivalent of space.
Other option is to declare a constant and having the defaulting the value by holding the ALT + 0160 keys from your numpad.
Regards
Ranganath

Similar Messages

  • Our Windows PC crashed with all our music on it.  There are copies of both purchased (thru iTunes store) and from our own CDs on another HD in a backup file.  They are not linked to a Media file.  Is there any way I can put this music on my new computer?

    Our Windows PC crashed with all our music on it.  There are copies of both purchased (thru iTunes store) and from our own CDs on an external HD in a backup file.  They are not linked to a Media file.  Is there any way I can put this music on my new computer?

    The syncing of music is one way, computer to phone. See this helpful document from a fellow user. Credit goes to the author.
    https://discussions.apple.com/docs/DOC-3141

  • In Keynote09, if i set custom presenter display settings (large presenter notes), and i save the file, will i see my notes in the same way on another computer? Are the presenter display setting saved in the file?

    In Keynote09, if i set custom presenter display settings (large presenter notes), and i save the file, will i see my notes in the same way on another computer?
    Are the presenter display setting saved in the file?
    Thanks for your help!

    it wont.
    Presenter note display is set per machine.
    Surprising nobody in this community knew this.

  • LR 5.5 upgrade. I only get the the 32 bit set up and an error when the 64 bit set up should be created. It says not enough disk space and no access to write. The disk space is ok and the 32 bit file was indeed created.

    LR 5.5 upgrade. I only get the the 32 bit set up and an error when the 64 bit set up should be created. It says not enough disk space and no access to write. The disk space is okay and the 32 bit file was indeed created. I have Windows 7 Home edition.

    Hi Rob, Thanks for your input. The temp location is on the C drive with 228 GB free space. My other drives have 123 GB and 204 GB of free space. I can see how the 32 bit set up is perfectly extracted when it stops when coming to the 64 bit set up. I have done the exercise several times and also made new downloads. I am using Norton 360 and Malwarebytes anti-malware but the dowload from Adobe should be trusted.

  • Apostroph and euro sign not read corectly from txt file

    apostroph and euro sign not read corectly from txt file.
    my code is like this:
    FileInputStream fis= new FileInputStream(x+".html");
    BufferedReader br=new BufferedReader(new InputStreamReader(fis,"UTF-8"));
    String Line="";
    while ((Line = br.readLine()) != null) result+=Line;
    br.close();
    fis.close();
    I use UTF-8 because the file contains also French characters.
    What's the problem?
    THANK YOU!

    apostroph and euro sign not read corectly from txt
    file.
    my code is like this:
    FileInputStream fis= new FileInputStream(x+".html");
    BufferedReader br=new BufferedReader(new
    InputStreamReader(fis,"UTF-8"));
    String Line="";
    while ((Line = br.readLine()) != null) result+=Line;
    br.close();
    fis.close();
    I use UTF-8 because the file contains also French
    characters.
    What's the problem?
    THANK YOU!
    This is from the FileInputStream API documentation:
    FileInputStream is meant for reading streams of raw bytes such as image data. For reading streams of characters, consider using FileReader.

  • How to get string (specified by line and column) from txt file with labview

    Hi everyone
    How to get string (specified by line and column) from txt file with labview
    thx 
    Solved!
    Go to Solution.

    As far as I know, a text file has no columns.  Please be more specific.  Do you mean something like the 5th word on line 4, where words are separated by a space, and lines are separated by a newline character?  You could the Read from Spreadsheet String function and set the delimiter to a space.  This will produce a 2D array of strings.  Then use index array and give the line number and column number.
    - tbob
    Inventor of the WORM Global

  • Download  resources that are not listed in the JNLP file

    There is some way to download resources that are not listed in the JNLP file, and then
    ask for them with DownloadService ? (isResourceCached)
    thanks.

    currently, the jnlp spec requires DownloadService to access only resources specified in the jnlp file..
    changing this is a proposed RFE for the next spec version:
    4908304: JWS DownloadService should not require mention in JNLP file
    /Dietz

  • Q_1 - Q_2 DataLink. Q_2 columns are not apperaing in Generate to file - XML

    Dear experts i have developed a report in 6i against Oracle Applications 11i, Purchasing Module ...... I have two Queries in DataModel Q_1<->Q_2 with DataLink. The only problem is Q_2 columns are not appearing in Generate to file -> XML.
    I developed similar style report against scott/tiger tables and Q_2 columns are appearing in XML. their are no wrong settings like "Exclude from XML output"
    Generate to file -> delimited, html, pdf etc are working OK for both APPS and Scott RDFs.
    Does this have something to do with what is mentioned here (though for 10g, point 17.1.4) ...
    http://web.deu.edu.tr/oracle/B14099_16/aix.1012/relnotes.1012/relnotes/reports.htm
    QUOTE
    17.1.4 Limitation on Linked Queries for DelimitedData Output
    DelimitedData output does not allow multiple queries to be linked to the main query, because sibling groups are not supported.
    For example:
    Case 1: You have a link between Q1 and Q2, a link between Q2 and Q3, and a standalone Q4
    query.
    Q1<-->Q2<-->Q3 Q4
    In this case, DelimitedData output is generated correctly.
    Case 2: You have a link between Q1 and Q2, a link between Q2 and Q3, and a link between Q4 and Q1.
    Q1<-->Q2<-->Q3 Q1<-->Q4
    In this case, DelimitedData output is not generated correctly. Alternatively, you can use XML output.
    Thank you
    Edited by: user473160 on Jun 3, 2009 12:05 PM

    Hi,
    no, the mentioned delimited text restrictions do not apply to XML-output...
    Hm, try to take your report and use the wizard to generate a paper layout to see if the data is really "appearing" due to your data model.
    Maybe there is some problem in the data link... e.g. number to character conversion in the datatypes that causes the problem...
    Cheers,
    Jens Rettig

  • I am being blocked from my "favorites"on my iPad 2 with the following....... You are not authorized to open this file. What do I need to do

    I'm being blocked from my favorites on my iPad 2 with the following........... You are not authorized to open this file. What do I do?

    I'm not sure whether you have tried the "usual" things:
    When you have a problem with one particular site, a good "first thing to try" is clearing your Firefox cache and deleting your saved cookies for the site.
    (1) Bypass Firefox's Cache
    Use Command+Shift+r to reload the page fresh from the server.
    Alternately, you also can clear Firefox's cache completely using:
    * "3-bar" menu button (or Tools menu) > Options > Advanced
    * Firefox menu > Preferences > Advanced
    On the Network mini-tab > Cached Web Content : "Clear Now"
    If you have a large hard drive, this might take a few minutes.
    (2) Remove the site's cookies (save any pending work first). While viewing a page on the site, try either:
    * right-click and choose View Page Info > Security > "View Cookies"
    * classic Tools menu > Page Info > Security > "View Cookies"
    In the dialog that opens, you can remove the site's cookies individually.
    Then try reloading the page. Does that help?
    In case one of your extensions is involved, could you test the page in Firefox's Safe Mode? That's a standard diagnostic tool to deactivate extensions and some advanced features of Firefox. More info: [[Troubleshoot Firefox issues using Safe Mode]].
    You can restart Firefox in Safe Mode using either:
    * "3-bar" menu button > "?" button > Restart with Add-ons Disabled
    * Help menu > Restart with Add-ons Disabled
    Not all add-ons are disabled: Flash and other plugins still run
    After Firefox shuts down, a small dialog should appear. Click "Start in Safe Mode" (''not'' Reset).
    Any difference?

  • ODI to delete those members which are not present in the source file

    Hi John,
    Using ODI we can delete members by using delete option in the Operation column
    Fine. I would like to delete members from planning which are not there in the source file.
    For e.g if my source file has members A1,A2,A3,and A4 and Planning outline has A1,A2,A3,A4,A5 and A6. I would like to delete only A5 and A6.

    Hi John,
    Its only a one time process. The issue is, we have to concatenate two segments of the COA into one dimension in Planning. But if we concatenate it creates a cartesian product which is not the requirement. Only a particula value of segment 1 are to be joined with segment 2.
    E.g Company 1 is to be joined with Cost center 1.
    Company 2 with Cost center 2
    Company 1 should not get joined with Cost Center 2 and Company 2 with Cost Center1.
    So when we use ERPI and load the first outline it creates all the possibilities of the concatenation. So we would like to delete the unrequired members. If we have the values of the required members in a file, I would like to delete the unrequired members in the planning hierarchy.
    So would like to use the NOT IN function

  • Both my I-Pad and mini I-Pad keep getting dropped off what ever website they are on and end up on the homescreen.  This happens randomly and often.  What is happening?

    Both my I-Pad and mini I-Pad keep getting dropped off what ever website they are on and end up on the homescreen.  This happens randomly and often.  What is happening?

    Both my I-Pad and mini I-Pad keep getting dropped off what ever website they are on and end up on the homescreen.  This happens randomly and often.  What is happening?

  • PI 7.1 Receiver file adapter - Spaces are truncated at end of each line

    In Receiver file adapter, I specified file content conversion parameters. My file structure is as below:
    Header
      Field1  10
      Field2  20
      Field3  8
      Filler   20
    Detail
      Field1  10
      Field2  8
      Filler    8
    In both Header and Details structures I have to fill 20 and 8 spaces at end of each line. In XML (Payload) I can view the spaces. But when the text file is created all the spaces are truncated.
    Could you please solve this issue.
    Regards

    Recordset Structure: ns1:MT_SAP,REC,Header,Detail
    ns1:MT_SAP.fieldSeparator          '0'
    ns1:MT_SAP_PNC_PPAY.fieldContentFormatting     nothing
    REC.fieldContentFormatting          nothing
    REC.fieldSeparator               '0'
    REC.processConfiguration               FromConfiguration
    Header.fieldFixedLengths               10,20,8,20
    Header.endSeparator               'nl'
    Header.fixedLengthTooShortHandling          Ignore
    Header.fieldNames               Field1,Field2,Field3,Filler
    Header.fieldContentFormatting          nothing
    Detail.fieldFixedLengths               10,8,8
    Detail.endSeparator               'nl'
    Detail.fieldNames               Field1,Field2,Filler
    Detail.fieldContentFormatting          nothing
    Detail.fixedLengthTooShortHandling          Ignore

  • Output Not Appearing in Exported .TXT File

    Hi
    I am using Crystal Reports XI R2, using Universe as a Data source, and Business Objects XI Release  2.Oracle 10G as a Datasource with Universe.
    I am getting Correct Data, in Crystal  Report Viewer, But if i am making attempt to Export the Data to a .TXT File, it is not displaying tha Data as in Crystal Report Viewer.
    1) In my Case we are Using Page Number Reset Option, which is working fine in Crystal Reports Viewer, but in .TXT file output, Page Number is not reseted.
    2) We are Using Group Headers which has Text Objects and Formula Field,  the Group Header Displays for Each Group in Viewer, but same is not displayed in .TXT File output.
    3) For Very First Group, In Viewer it Displaying Page No as 1,1,2,3.....(which is not Correct, it should be 1,2,3....), but in .TXT file Output, it Displays right One as 1,2,3......
    But If iam Exporting the Report to an PDF File, it Displays Eactly as what is in viewer.
    So Kindly Help me on this Issue.
    Thanks
    M.Mukesh
    Edited by: m.mukesh on Dec 9, 2010 9:49 PM
    Edited by: m.mukesh on Dec 9, 2010 9:50 PM

    Moved to BOE Admin forum

  • Open write and save a txt file

    i'm trying make a vi to open and write in a txt file
    my level of LabView is very basic and, i'm looking for help for open (or create) a txt file in a specfication folder, write a value and save this file in a another folder

    you are not closing the the file in use, that is why you get the messege and your string format....
    Spoiler (Highlight to read)
    Spoiler (Highlight to read)
    Attachments:
    vti[1].vi ‏11 KB

  • GREP remove white space at start and end of paragraph

    Hi,
    Question for the GREP experts: I'd like to construct a GREP expression
    that will remove all white space at the start AND end of a paragraph in
    one go.
    What I've got so far works, but you have to run it twice to work:
    I'll try and post it at the bottom of this message, but since I'm
    posting via email it probably will come out scrambled, so I'll describe
    what I've got so far:
    Two expressions in parenthesis separated by the OR character (pipe). The
    first expression searches for one or more space, tab or white-space at
    the beginning of a paragraph.
    The second expression searches for the same at the end of the paragraph.
    Each expression is in parenthesis, and the two groups are separated, as
    I say, by an OR sign.
    However, this has to be run twice for it to work. For it removes all the
    spaces at the start of paragraphs, then when run again all the spaces at
    the end.
    Any ideas how to get it to work in one go?
    Thanks,
    Ariel
    The expression is:
    (^[ \ts]+)|([ \ts)+$)

    Arïel, your GREP appears a bit mashed up in the forum -- was it something like this?
    (^[\t\s]+)|([\t\s]+$)
    If so:
    1. "\s" is "any whitespace", so you would not need to include "\t" as well. But I would not recommend this, as a HUGE disadvantage of "\s" is it also includes hard and soft returns: double returns are seen as "any whitespace" (the first return) and then "end of line" (the second return), and the first is removed. ("Disadvantage" is subject to what you want to accomplish, by the way. I usually don't want this so I list each possible whitespace character that may be removed.)
    2. The parentheses around each 'section' of this GREP are not necessary. The OR operator is 'highest level' -- in this case, since you have an entire left part OR an entire right part, you can omit all parentheses.
    3. This works for me ...
    ^[\t ]+|[\t ]+$
    ... and despite Peter's not-too-shabby suggestion, I would still recommend using mine instead. It's easier on ID (since it only has to remove text, not "remove-and-then-insert-again" (which is exactly what using the $.. operators do), and, more importantly, there are limits to what $1 can 'pick up'. I can't recall the special circumstances, but I have had text attributes shift, and footnotes and anchored objects disappear/being mucked up/otherwise mangled.

Maybe you are looking for