<?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>Question Re: Alignment problem in script in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/alignment-problem-in-script/qaa-p/9068963#M3217982</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try using the Alignment DECIMAL in the paragraph format and check.&lt;/P&gt;&lt;P&gt;Also, you can try giving &amp;amp;REGUP-WNETT(R)&amp;amp;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shambu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Sep 2012 09:02:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-09-25T09:02:24Z</dc:date>
    <item>
      <title>Alignment problem in script</title>
      <link>https://community.sap.com/t5/technology-q-a/alignment-problem-in-script/qaq-p/9068956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: inherit;"&gt;Hi Experts,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: inherit;"&gt;While printing the item level details in the Main window , I am getting incorrect alignment for the last column (Net amount) as shown here.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: inherit;"&gt;I am using same logic for all the remaining columns, I don't know why only this last column is getting incorrect alignment.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: inherit;"&gt;Also I have tried swapping Discount column and Net amount, then also no change in last column alignment (i.e. Discount column in this case) .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit;"&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/140233" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: inherit;"&gt;Code using here is&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit;"&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/140234" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly help me on this. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2012 07:52:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/alignment-problem-in-script/qaq-p/9068956</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-09-25T07:52:31Z</dc:date>
    </item>
    <item>
      <title>Re: Alignment problem in script</title>
      <link>https://community.sap.com/t5/technology-q-a/alignment-problem-in-script/qaa-p/9068957#M3217976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you check the Paragraph format LI and check the Tabs button.&lt;/P&gt;&lt;P&gt;Check if you have any Alignment mentioned for the last entry.&lt;/P&gt;&lt;P&gt;If its blank &lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;may be you can try adding RIGHT alignment&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shambu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2012 08:20:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/alignment-problem-in-script/qaa-p/9068957#M3217976</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-09-25T08:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: Alignment problem in script</title>
      <link>https://community.sap.com/t5/technology-q-a/alignment-problem-in-script/qaa-p/9068958#M3217977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try the following options:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;delete the ,, from th LI line and put it before the = line&lt;/LI&gt;&lt;LI&gt;add ,,before the = line&lt;/LI&gt;&lt;LI&gt;add ,,after the = line &lt;/LI&gt;&lt;LI&gt;change = to LI&lt;/LI&gt;&lt;LI&gt;a mix of all these combinations, for example, add ,,before the = line and add ,,after the = line.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Iftah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2012 08:25:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/alignment-problem-in-script/qaa-p/9068958#M3217977</guid>
      <dc:creator>iftah_peretz</dc:creator>
      <dc:date>2012-09-25T08:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: Alignment problem in script</title>
      <link>https://community.sap.com/t5/technology-q-a/alignment-problem-in-script/qaa-p/9068959#M3217978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Even after making changes ,it is not coming correctly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2012 08:40:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/alignment-problem-in-script/qaa-p/9068959#M3217978</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-09-25T08:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: Alignment problem in script</title>
      <link>https://community.sap.com/t5/technology-q-a/alignment-problem-in-script/qaa-p/9068960#M3217979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tried the above mentioned,but no use.&lt;/P&gt;&lt;P&gt;Can you suggest some more methods .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2012 08:41:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/alignment-problem-in-script/qaa-p/9068960#M3217979</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-09-25T08:41:24Z</dc:date>
    </item>
    <item>
      <title>Re: Alignment problem in script</title>
      <link>https://community.sap.com/t5/technology-q-a/alignment-problem-in-script/qaa-p/9068961#M3217980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Is this SapScript? Or text editor? where are the values of REGUD are coming from?&lt;/P&gt;&lt;P&gt;I need to know so I could guide you accordingly.&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Iftah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2012 08:56:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/alignment-problem-in-script/qaa-p/9068961#M3217980</guid>
      <dc:creator>iftah_peretz</dc:creator>
      <dc:date>2012-09-25T08:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: Alignment problem in script</title>
      <link>https://community.sap.com/t5/technology-q-a/alignment-problem-in-script/qaa-p/9068962#M3217981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried by increasing tab spacing(two commas) for the last column...i mean the tab position in paragraphs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think your alignment is correct..just try increasing the tab positions for last column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Nandha&lt;/P&gt;&lt;P&gt;&lt;IMG id="smallDivTip" style="z-index: 90; border: 0px solid blue; position: absolute; left: 285px; top: 65px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2012 09:01:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/alignment-problem-in-script/qaa-p/9068962#M3217981</guid>
      <dc:creator>former_member576008</dc:creator>
      <dc:date>2012-09-25T09:01:46Z</dc:date>
    </item>
    <item>
      <title>Re: Alignment problem in script</title>
      <link>https://community.sap.com/t5/technology-q-a/alignment-problem-in-script/qaa-p/9068963#M3217982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try using the Alignment DECIMAL in the paragraph format and check.&lt;/P&gt;&lt;P&gt;Also, you can try giving &amp;amp;REGUP-WNETT(R)&amp;amp;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shambu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2012 09:02:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/alignment-problem-in-script/qaa-p/9068963#M3217982</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-09-25T09:02:24Z</dc:date>
    </item>
    <item>
      <title>Re: Alignment problem in script</title>
      <link>https://community.sap.com/t5/technology-q-a/alignment-problem-in-script/qaa-p/9068964#M3217983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think for the paragraph LI the last tab position alignment is set to CENTER.&lt;/P&gt;&lt;P&gt;please change alignment to RIGHT in the Tcode SE71 - Paragraph formats -&amp;gt; Tabs...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the above does not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please define a temp variable char(25) write a perform to pass the value and change it to text &lt;/P&gt;&lt;P&gt;and use the temp variable to be printed on the form in the required last column&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try them may be one of the above should work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Veeru.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2012 09:38:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/alignment-problem-in-script/qaa-p/9068964#M3217983</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-09-25T09:38:11Z</dc:date>
    </item>
    <item>
      <title>Re: Alignment problem in script</title>
      <link>https://community.sap.com/t5/technology-q-a/alignment-problem-in-script/qaa-p/9068965#M3217984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shambu , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tried with DECIMAL in the paragraph format and &amp;amp;REGUP-WNETT(R)&amp;amp;. .. still same problem . &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2012 10:33:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/alignment-problem-in-script/qaa-p/9068965#M3217984</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-09-25T10:33:46Z</dc:date>
    </item>
    <item>
      <title>Re: Alignment problem in script</title>
      <link>https://community.sap.com/t5/technology-q-a/alignment-problem-in-script/qaa-p/9068966#M3217985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peretz , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its SAP script . Please help me on this .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2012 10:35:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/alignment-problem-in-script/qaa-p/9068966#M3217985</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-09-25T10:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: Alignment problem in script</title>
      <link>https://community.sap.com/t5/technology-q-a/alignment-problem-in-script/qaa-p/9068967#M3217986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kishore , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even tried by increasing the tab positions for last column. still same . &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2012 10:36:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/alignment-problem-in-script/qaa-p/9068967#M3217986</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-09-25T10:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: Alignment problem in script</title>
      <link>https://community.sap.com/t5/technology-q-a/alignment-problem-in-script/qaa-p/9068968#M3217987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok this is what I thought, but wanted to ask first.&lt;/P&gt;&lt;P&gt;You can try, for the time being, few options:&lt;/P&gt;&lt;P&gt;The first in the abap program in which the report is called&amp;nbsp; (before the 'open_form', 'write_form' functions)&lt;/P&gt;&lt;P&gt;and insert the line: CONDENSE regud-wnett.&lt;/P&gt;&lt;P&gt;The second option is within the SapScript to use a temporary variable to do that condense to, before the PROTECT part insert a form like so:&lt;/P&gt;&lt;P&gt;/: DEFINE &amp;amp;TMP&amp;amp; = &amp;amp;REGUD-WENTT(15)&amp;amp;&lt;/P&gt;&lt;P&gt;/: PERFORM GET_WNETT IN PROGRAM ZWNETT&lt;/P&gt;&lt;P&gt;/: CHANGING &amp;amp;TMP&amp;amp;&lt;/P&gt;&lt;P&gt;/: ENDPERFORM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then in the PROTECT part replace&amp;nbsp; &amp;amp;REGUD-WENTT&amp;amp; with &amp;amp;TMP&amp;amp;.&lt;/P&gt;&lt;P&gt;Where in SE38 you would have to create the report ZWNETT:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT ZWNETT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM GET_ZWNETT TABLES IN_PAR STUCTURE ITCSY&lt;/P&gt;&lt;P&gt;OUT_PAR STRUCTURE ITCSY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CONDENSE OUT_PAR-VALUE.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MODIFY OUT_PAR INDEX SY-TABIX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A third option is just to use the DEFINE without the PERFORM statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know is that helping you,&lt;/P&gt;&lt;P&gt;Iftah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2012 11:23:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/alignment-problem-in-script/qaa-p/9068968#M3217987</guid>
      <dc:creator>iftah_peretz</dc:creator>
      <dc:date>2012-09-25T11:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: Alignment problem in script</title>
      <link>https://community.sap.com/t5/technology-q-a/alignment-problem-in-script/qaa-p/9068969#M3217988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just give a try like this... &amp;amp;DATA(LC)&amp;amp; &lt;/P&gt;&lt;P&gt;C-compress to get rid of leading spaces.&lt;/P&gt;&lt;P&gt;L-left alignment&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Nandha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2012 06:16:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/alignment-problem-in-script/qaa-p/9068969#M3217988</guid>
      <dc:creator>former_member576008</dc:creator>
      <dc:date>2012-09-26T06:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: Alignment problem in script</title>
      <link>https://community.sap.com/t5/technology-q-a/alignment-problem-in-script/qaa-p/9068970#M3217989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks you very much for your replays . I got the output . This is what i did . &lt;/P&gt;&lt;P&gt;In tabs-tab positions I entered type CH so it was affecting the allignment . now i changed to IN . So now all area alligned perfectly . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx again for your quick responses . &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2012 14:08:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/alignment-problem-in-script/qaa-p/9068970#M3217989</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-09-28T14:08:43Z</dc:date>
    </item>
  </channel>
</rss>

