PI removing blank spaces at the end of the lines in a plain text file

Hi -
I have an interface that transfers a file via FTP. I defined both the sender and receiver to transfer either Text or Binary but the interface removes every blank space I have after the last character. The file is a fixed lenght file.
Example:
Original file:
Hello world(space)(space)(space)(space)(space)(space)(space)(space)(eol)
where (space) is the space character and (eol) is the end of line char.
File after it is received.
Hello world(eol)
I already defined the parameter Row.fieldFixedLenghts with 10164 which is the lenght of the lines of the file.
Any ideas why it may be happening?
Thanks,
Carlos.

Hi -
I tried both the parameters:
xml.fieldContentFormatting
structure.fieldContentFormatting
The received file still has the problem. All the blank spaces are cleared out.
The file is a plain text file not an XML file. May this be the issue?
Thanks,
Carlos.

Similar Messages

  • How to Remove Blank spaces in the text elements for a smartform

    Hi All,
    Can any one please help me out to remove the blank spaces in the text elements.
    We are printing Labels using the Zebra Printer and we have rotated the windows to 90 degrees.
    We are able to see out text and barcodes. But the issues is when we are printing the label. We are getting spaces in the Text and in the Text elements fields. I have tried to give &g_name(C)&. But it is not working even i worked with style sheet spaces no luck.
    Currently out text and fields are printing like this
    s h r i y a n
    material number
    1111  -001  -000
    They should print like
    shriyan
    1111-001-000
    According to the ZEBRA suggestions we are using the font helve.
    Plase help us it is very urgent.
    Reward point will be given.
    Thanks

    Hi,
    Just use Condense g_name inside the program lines.
    Just to see how it behaves put a hard breakpoint.
    Break Username. and check the condense statement.
    condense <your field> no-gaps.
    Create program lines ahead of printing. give the field you want to condense in the input and output parameters of the program lines.
    Use condense inside the program lines.
    Thanks,
    Vamshi.

  • How to remove blank spaces in the source code of my page?

    I created a page with the following code for testing:
    <dsp:page>
    <dsp:importbean bean="/atg/commerce/catalog/ProductLookup"/>
         <dsp:droplet name="ProductLookup">
              <dsp:param name="id" value="xprod2046" />
              <dsp:param name="elementName" value="product" />
              <dsp:oparam name="output">
                   <dsp:valueof param="product.DisplayName"/>
              </dsp:oparam>
         </dsp:droplet>
    </dsp:page>
    It only shows the product name in the browser. But if I look at the source code of my page he created 61 lines in response to this code, where a line is the product name and the other 60 have nothing.
    I know how to remove these lines that the ATG creates no content because my project is full of these empty lines.
    Anyone ever had this problem and could help me?
    Thanks

    Hi ,
    Yup this is a problem ,
    you can use following ways :
    1- use jsp comments eg :
    <dsp:page>
    <dsp:importbean bean="/atg/commerce/catalog/ProductLookup"/><%--
         ----%><dsp:droplet name="ProductLookup"><%--
              ----%><dsp:param name="id" value="xprod2046" /><%--
              ----%><dsp:param name="elementName" value="product" /><%--
              ----%><dsp:oparam name="output"><%--
                   ----%><dsp:valueof param="product.DisplayName"/><%--
              ----%></dsp:oparam><%--
         ----%></dsp:droplet><%--
    ----%></dsp:page>
    2- End tags at next line :
    e g :
    * <dsp:page
    * ><dsp:droplet name=”xyz”
    * ><dsp:oparam name=”output”
    * >Name: <dsp:valueof param=”abc”
    * /></dsp:oparam
    * ></dsp:droplet
    * ></dsp:page>
    3- Always use TAB instead of using SPACEBAR whie writing source code.
    4 - From JSP 2.1 onwards we have a page directive trimwhitespaces ( see if that works , i was not able to ), google for it for more info
    5 - You can modify your build scripts to remove white spaces from jsps while building EAR.(complex though, as you may not want to trim all white space.)
    6 - modifying the deployment descriptor.
    <init-param>
    <param-name>trimSpaces</param-name>
    <param-value>true</param-value>
    </init-param>

  • How do I delete the blank space at the beginning or end of a project?

    I constantly end up with blank space at the beginning or end of a project - how do I remove it?  I get this ALL the time and I jsut can't get rid of it.  Obviously I want my project to start at 0.00 not at 1.xx.
    Thanks.

    That's not a project. You're inside an multicam angle editor. You need to edit the multicam clip into a project. That's where you edit it.

  • Needs to remove Balnk spaces in the report next to data

    Dear SDN's,
    Report is displaying as below,my end user wants to remove blank spaces which has no data.
    Ex: In C1 sales is 10,but profit is blank.so profit wont be display for C1.Similar for C2 sales wont be displayed & profit shoud display.
    Customer      Sales      Profit
    C1     10      
    C2          15
    C3     20     
    We can do zero supression when we have '0' in the blank space.but we have 'Blank' not '0'.
    We can remove the whole column when the whole column is 'Blank'.But is there a way if we want to not see the blank spaces.
    Thanks and Kind Regards,
    Lakshman Kumar G

    Hi Lakshman,
    To display Blank as Zeros,
    The Fourth Value which u hve given i.e Zero as default text ,select this and in the below Field .e Show Zero ,type there as 0(ZERO).
    Also alternate could be ,try this
    Create a CKF for each KF with formula KF Not Equal to*0
    OR
    KF EQ 0*KF.
    I am not suire on the Hiding of KF individually with Zeros Values.
    Rgds
    SVU

  • Removing Blank Spaces caused by Supressed data

    Hi All,
    How we can remove the balank spaces caused by supressed data in crystal reports.for eg
    Item Code:I0002
                   Timer
                   For Time Info
                   100
    ItemCode:I00003
                   Pen
                   20
    if there is txt added against pen as for Timer(For Time Info)
    it will leave blank space.How to remove blank space.
    Thanks,
    Neetu

    Hi Neetu
    I have tried replicating your requirement at my end using Xtreme Sample database below are the steps which I have followed.
    1)I have customer Id field,Customer name field field placed in details section.
    2)Click on Section Expert
    3)Click on Details.
    4)Check the second option as "Suppress(No Drill Down)".In front of that there is one icon as "X-2".Double click on that icon.
    5) Type the below formula
         if {Customer.Customer ID}=157 and {Customer.Customer Name} ="Aruba    
         Sport" then true
        else if {Customer.Customer ID}=148 and {Customer.Customer Name}
         ="Koala Road Bikes" then true
         else false
    6)Save and close.
    With this formula where condition matches the specific criteria it will suppress the section and there will be no blank spaces.The rest of the data will be shown.
    Hope it will help you.
    Regards
    Asha

  • Blank space in the report detail section

    Hi ,
    I have data for ten columns and after that i am getting a blank space, so my report is scrolling to right side without any data.How shall i remove the blank space.Any suggestions.For one more i am getting this only at the second page (Detail section)
    Regards,
    Rajasekar

    Thanks James for the reply,but i am not getting it correctly.
    I have a year column which is the last column in my detail section.If i don't get any value for that year column then i am not getting these blank space at the right side of my report.If i have value for the year column then i am getting blank space double the times to my report detail section.
    Any suggestions
    Regards,
    Rajasekar

  • Remove blank spaces in excel output file

    it is a BOM report and the output is into a excel file.
    problem with the excel file output is : i gives blank spaces sometimes after the number and sometimes before the number...
    so, how can i remove those blank spaces for the values.
    ive nearly 15 columns having values in each column.
    so, how to get rid of blank spaces for these values in the columns in the xls file. is there any fn..module or a command that i can put in the code.

    Hi,
        above mentioned FM canbe used to eliminate extra zeros   in char field. eg. material number.
      MATNR will contain 18 char.-000000000045678925.
      toget only 45678925 F.M -conversion exit can be used.
      for ur reuirement use SHIFT statement only.
    regards,
    Prashanth Maturu.

  • Remove blank spaces in a text field?

    How can I remove blank spaces in a text field? Some text fields have a lot of blank fields that need to be removed so that I can report only on the text.
    CRXI
    Edited by: Burton Roger on Feb 10, 2009 5:48 PM

    Ex:
    "Hi,
    I have a need for monthly service desk reporting.
    Please provide data on single sheet.
    Thank you"
    I would like to shrink it down to -
    Hi, I have a need for monthly service desk reporting. Please provide data on single sheet. Thank you"

  • How do I get rid of the blank space at the bottom of the new Firefox menu?

    The new firefox 4 has a different menu system. IT has blank space at the bottom wiht just a plus sign that opens new tabs. I can get that from the + sign by the tabs and don't want it or the rest of the blank space on the bar. I need all the space in the main window I can get. How do I get rid of this?
    Found my own answer, disable Conduit Engine toolbar, whatever the heck that is. Why it's enabled to start with is beyond me.

    Hi stephanie,
    These are unrelated questions/statements.
    Space before and space after a paragraph are controled in the Text Inspector, as you've found out.
    Pages will create a page break whenever there is no room for another line on the page. That break can come anywhere in a paragraph.
    You may be thinking of Widow and Orphan prevention, and the other Pagination controls, found under the More button in the Text Inspector. (If that's what you found, then thanks for the refresher! I hadn't been to that pane for awhile, and had forgotten the variety of pagination controls available.
    Regards,
    Barry

  • When I print a Word document to a shared printer, print preview looks fine but the printed page has too much blank space at the top and doesn't print the bottom few lines.

    When I print a Word for Mac document to a shared printer (that is connected to my iMac) from my Macbook Pro, print preview looks fine but the printed page has too much blank space at the top and doesn't print the bottom few lines.  I have tried to adjust the margins and the page setup settings but to no avail.  It used to print fine until recently.  Is there a way to fix it so that the printer prints what print preview shows?

    I should add that when I e-mail this document to myself and print it directky from the iMac, it prints fine.

  • How to remove space between the lines

    Hi,
    In my repoprt output I am getting space between the lines. I have changed
    the repeating frame and field -> vertical elasticity and horizontal elasticity to fallowing combinations.
    fixed, fixed.
    variable, fixed,
    expand, variable,
    variable, expand
    Then also I am getting space between the lines of my output.
    Could you help me in this?
    Thanks

    Change the Vertical Elasticity of fields and frames to Variable. If for some fields or frames you don't want to change the vertical elasticity, then remove extra space by adjusting the height of fields/frames.
    Also check repeating frames property 'Vert. Space Between Frames'. Default is 0.
    Hope this helps.

  • Blank Spaces in the report

    <p>Hi </p><p>My Report has some columns which has the option as "Can Grow" so that when the returned value from the database is more that one line it can accomdate the data in the field.</p><p>The problem i am facing is that when the records are printed in the pages and when the next record is unable to fit in the remaning section of the report it automatically pushes to the next page.<br />In this scenario the previous page has blank space after the next record is printed.</p><p>Is there way that i can suppress this balnk space and force teh record to be printed in the same page and when the page is over it follows in the next page.</p><p>Thanks in Advance<br />Moa</p>

    <p>My problem was that I wanted to display several lines in a total field: order amount, minimum charge, delivery charge and tax. When any of them was zero, I needed to hide it without leaving a big gap. </p><p>Here was the solution: </p><p>Create a textbox. Set the textbox&#39;s "Suppress blank lines in embeded fields" property. <br />Instead of using database field (for example, table.fieldValue) and a label, create a formula that says:  </p><blockquote><p>If isNull{table.fieldValue} then </p><p>    "" </p><p>else </p><p>"Value:" + Chr(9) + ToText({table.fieldValue})   </p></blockquote><p>I placed a tab in this formula to space it out. Add tab stops (one left-aligned, one decimal) to your textbox, and drag the formula into it (embed) instead of the database field. Add the other fields to the textbox as well, separating fields by adding carriage returns. Bingo. The field and the line will disappear when there is no data.</p><p> I hope this helps.</p>

  • How can I fill the blank space in the example below?

    I have to fill using sql statement the blank space with the same description that appears below that belong to the same STTCKT. I
    am using a temporary table.

    There is no need in ROW_NUMBER. You can use simple query like below sample which cost 6% relative to the use of ROW_NUMBER which cost 94% (sort is havy operation with no index).
    DDL+DML:
    CREATE TABLE test( [STBK#] varchar(50), STTCKT int)
    truncate table test
    Insert into test values
    (null, 48035)
    ,('First Two Truck', 48035)
    ,(null, 48039)
    ,('First Two Truck', 48039)
    ,(null, 48046)
    ,('First Two Truck', 48046)
    ,(null, 48054)
    ,('KLS LOGISTIC, INC.', 48054)
    GO
    select * from test
    GO
    If all you need is SELECT with FILL then check this:
    select
    --[STBK#] ,
    STTCKT, [Fixed_STBK#]
    from test T1
    Cross APPLY (SELECT TOP 1 T.[STBK#] FROM test T WHERE T.STTCKT = T1.STTCKT and T.STBK# IS NOT NULL) T2 ([Fixed_STBK#])
    And you can use this query as well without CROSS APPLY
    select
    --T1.[STBK#] ,
    T1.STTCKT, T2.[Fixed_STBK#]
    from test T1
    LEFT JOIN (SELECT T.STTCKT,MAX(T.[STBK#]) [Fixed_STBK#] FROM test T GROUP BY T.STTCKT) T2 ON T1.STTCKT = T2.STTCKT
    If you are looking for update the original table please check this:
    UPDATE test
    SET [STBK#] = T2.[Fixed_STBK#]
    FROM test T1
    Cross APPLY (SELECT TOP 1 T.[STBK#] FROM test T WHERE T.STTCKT = T1.STTCKT and T.[STBK#] IS NOT NULL) T2 ([Fixed_STBK#])
    WHERE T1.[STBK#] IS NULL
    GO
    I hope this is helpful and answer your need, If not please try to clrify your needs and post your DDL+DML
    [Personal Site] [Blog] [Facebook]

  • How can I remove blank space after month value while selecting to_char(sysdate)

    select to_char(sysdate,'dd-month-yyyy') from dual;
    when I give this query, I'm getting a blank space after the month value. How can I trim that?

    Or else try this one
    select to_char(sysdate,'dd-fmmonth-yyyy') from dual;
    Best of luck.

Maybe you are looking for

  • How to delete the empty orders in v.06 tcode

    Hi, i am trying to delete the empty orders in V.06 transaction code, but it is not allowing to delete. the same order is able to delete from the VA02 Transaction. so could you please advice me to delete from V.06 transaction.

  • New tab will not open web page

    *error message when opening firefox= "Could not initialize the application's security component. The most likely cause is problems with files in your application's profile directory. Please check that this directory has no read/write restrictions and

  • Late response from a sap web service or timeout

    Hi, I have developed a function module an exposed it as web service. The consumer developed by the partner is a java client. Every request for the ws lasts 18 seconds. The response time is unacceptable. I have developed a .net client and called the w

  • Time Management without Payroll?

    Has anyone implemented Time Management without Payroll?  I am in the process of coming up with a design on retrieving payable hours from the B2 cluster and send them to an external payroll system.  The problem I am running into is knowing what has ch

  • Hi! OSX Lion10.7.5

    Hi. I've got Mac book Pro Mac OS X Lion 10.7.5. Should I update to Snow Leopard or OSX Mavericks? Or its good enought? Im new in it.