<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Smartform Table line allignment problem... in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-table-line-allignment-problem/m-p/1405794#M195859</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tushar,&lt;/P&gt;&lt;P&gt;   The problem is with the value of the fields and the allocation. for ex. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the qty field would be decimal of length 10, but the value would be just 100 so the remaining space is getting occupied. so you will have to remove the leading space in that variable. so what you do is use this command&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if the variable ws_qty has the value display the variable as this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&amp;amp;ws_qty(C)&amp;amp;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So what happens is the initial space is condensed by this condition before being displayed so for all the variables which are not allingned use this syntax and it will display according to your allignment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helfpul.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tushar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Jul 2006 06:54:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-07-06T06:54:55Z</dc:date>
    <item>
      <title>Smartform Table line allignment problem...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-table-line-allignment-problem/m-p/1405791#M195856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ABAP Gurus, &lt;/P&gt;&lt;P&gt;I am facing a wierd problem. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a Table in Main window in smartform. After that I created two line type i.e LT1 and LT2 inside that table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in the main area of table I am creating two table lines asociated with these line types. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now , for one table line, I define the line type for it in output table say LT2. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In each cell in this table line I write some code and then populate the value in text, but I am facing following problem. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Item--&lt;DEL&gt;Color&lt;/DEL&gt;&lt;DEL&gt;Nest&lt;/DEL&gt;&lt;DEL&gt;Qty&lt;/DEL&gt;&lt;DEL&gt;UOM&lt;/DEL&gt;&lt;DEL&gt;PKG&lt;/DEL&gt;--TOTAL &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1041--&lt;DEL&gt;BLACK&lt;/DEL&gt;&lt;DEL&gt;1CNU&lt;/DEL&gt;--&lt;/P&gt;&lt;HR originaltext="-------" /&gt;&lt;P&gt;PC   &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------------------" /&gt;&lt;P&gt;300--&lt;DEL&gt;&lt;/DEL&gt;&lt;/P&gt;&lt;HR originaltext="-------" /&gt;2---3,400 &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here you can see that QTy, PKG and Total values are not alligning on line one but are getting pushed to line 2. &lt;/P&gt;&lt;P&gt;I am wondering why is that happening ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone please guide me as whats the problem ?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tushar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jul 2006 16:32:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-table-line-allignment-problem/m-p/1405791#M195856</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-05T16:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: Smartform Table line allignment problem...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-table-line-allignment-problem/m-p/1405792#M195857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its because the line is not big enough to hold all of the data.  The quantity fields are bigger than they need to be, you can probably trim them down a bit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jul 2006 16:35:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-table-line-allignment-problem/m-p/1405792#M195857</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-07-05T16:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: Smartform Table line allignment problem...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-table-line-allignment-problem/m-p/1405793#M195858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. Condense the data and then try to display so that the leading / trailing spaces are not displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Try to display data in the left-justified manner. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One of these steps should help you in the data getting wrapped into the second line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;Note : Please mark all the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jul 2006 16:37:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-table-line-allignment-problem/m-p/1405793#M195858</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-05T16:37:29Z</dc:date>
    </item>
    <item>
      <title>Re: Smartform Table line allignment problem...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-table-line-allignment-problem/m-p/1405794#M195859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tushar,&lt;/P&gt;&lt;P&gt;   The problem is with the value of the fields and the allocation. for ex. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the qty field would be decimal of length 10, but the value would be just 100 so the remaining space is getting occupied. so you will have to remove the leading space in that variable. so what you do is use this command&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if the variable ws_qty has the value display the variable as this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&amp;amp;ws_qty(C)&amp;amp;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So what happens is the initial space is condensed by this condition before being displayed so for all the variables which are not allingned use this syntax and it will display according to your allignment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helfpul.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tushar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jul 2006 06:54:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-table-line-allignment-problem/m-p/1405794#M195859</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-06T06:54:55Z</dc:date>
    </item>
  </channel>
</rss>

