<?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: setting tab position for quantity fields in sap script in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/setting-tab-position-for-quantity-fields-in-sap-script/m-p/8348649#M1639870</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naresh,&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure, please try compress format options as below&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;amp;E_OUTPUT-FKIMG(C)&amp;amp;,,&amp;amp;E_OUTPUT-KBETR(C)&amp;amp;,,&amp;amp;E_OUTPUT-NETWR(C)&amp;amp;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Surya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Nov 2011 05:08:47 GMT</pubDate>
    <dc:creator>former_member186055</dc:creator>
    <dc:date>2011-11-25T05:08:47Z</dc:date>
    <item>
      <title>setting tab position for quantity fields in sap script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/setting-tab-position-for-quantity-fields-in-sap-script/m-p/8348639#M1639860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing problem in aligning table data using &lt;STRONG&gt;tabs&lt;/STRONG&gt; in SAP scripts.here i have to display currency fields ,that should be right justified.following is the screen shot of my layout.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[screens shot|http://www.anup080.blogspot.com/]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here my table contains 16 columns.i am populating first 14 columns.For that  i have created 14 tabs.following is the tab position for last three columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;15,20 CM right         "currency field
16,60 CM right         "currency field
17,50 CM right         "currency field&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in my out put, last column value is misaligned.i tried to decrease the last tab size to 17 cm.Even though no change.What  missed  here?how the tab is working here?Please help me out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With regards&lt;/P&gt;&lt;P&gt;Naresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2011 11:48:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/setting-tab-position-for-quantity-fields-in-sap-script/m-p/8348639#M1639860</guid>
      <dc:creator>naresh_bammidi</dc:creator>
      <dc:date>2011-11-23T11:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: setting tab position for quantity fields in sap script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/setting-tab-position-for-quantity-fields-in-sap-script/m-p/8348640#M1639861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  It could be an issue of not having enough space between the last two tabs as in the last but one tab s position is 16.6 cm and the last tab s position is 17.5 cm.&lt;/P&gt;&lt;P&gt;have you explored the (R) formatting option as well? Where you can explicity give alignment of a particular variable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2011 12:12:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/setting-tab-position-for-quantity-fields-in-sap-script/m-p/8348640#M1639861</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-23T12:12:58Z</dc:date>
    </item>
    <item>
      <title>Re: setting tab position for quantity fields in sap script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/setting-tab-position-for-quantity-fields-in-sap-script/m-p/8348641#M1639862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi  thanks for your reply,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you said earlier i am writing &lt;STRONG&gt;&amp;amp;field(8R)&amp;amp;&lt;/STRONG&gt;  this code in script.Here why to give length like &lt;STRONG&gt;(8R)&lt;/STRONG&gt;.what is happening with that notation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards&lt;/P&gt;&lt;P&gt;Naresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2011 05:18:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/setting-tab-position-for-quantity-fields-in-sap-script/m-p/8348641#M1639862</guid>
      <dc:creator>naresh_bammidi</dc:creator>
      <dc:date>2011-11-24T05:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: setting tab position for quantity fields in sap script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/setting-tab-position-for-quantity-fields-in-sap-script/m-p/8348642#M1639863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naresh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This issue is purely depends upon tab settings, delete one tab &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;,,&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; in text editor or add one more tab and decleare that tab also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Surya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2011 06:40:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/setting-tab-position-for-quantity-fields-in-sap-script/m-p/8348642#M1639863</guid>
      <dc:creator>former_member186055</dc:creator>
      <dc:date>2011-11-24T06:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: setting tab position for quantity fields in sap script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/setting-tab-position-for-quantity-fields-in-sap-script/m-p/8348643#M1639864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you tell me how the tab is working ,in case of Right alignment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards&lt;/P&gt;&lt;P&gt;Naresh Bammidi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2011 07:13:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/setting-tab-position-for-quantity-fields-in-sap-script/m-p/8348643#M1639864</guid>
      <dc:creator>naresh_bammidi</dc:creator>
      <dc:date>2011-11-24T07:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: setting tab position for quantity fields in sap script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/setting-tab-position-for-quantity-fields-in-sap-script/m-p/8348644#M1639865</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;If you have already specified right aligned in your tab position, there is no need to go for (R) hard coding in your Script Editor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically (8R) gives the lenght of the variable you want to print and the alignement ie. in this case 8 and Right aligned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check how you have given the tabs in your script editor . As mentioned in above post, you might have missed a single tab somewhere...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have sixteen columns , you should ideally have only 16 tabs...  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So for the last column that is the sixteenth column , 16 tabs would have been encountered.  And say the 16th tab position says 17.5cm Right aligned .. This means that the16th field will start printing from position 17.5 cm towards left side ( because it is right aligned).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it were 17.5 cm left aligned , it would start printing from 17.5 towards right side. &lt;/P&gt;&lt;P&gt;Hope you understand the difference..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I still strongly believe you have an extra tab somewhere .&lt;/P&gt;&lt;P&gt;And like i said before , make sure you have enough width in the main window.&lt;/P&gt;&lt;P&gt; Give a screenshot of the line that you are printing in the script editor and also all the tab positions if issue still unresolved...&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;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2011 07:19:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/setting-tab-position-for-quantity-fields-in-sap-script/m-p/8348644#M1639865</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-24T07:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: setting tab position for quantity fields in sap script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/setting-tab-position-for-quantity-fields-in-sap-script/m-p/8348645#M1639866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arun ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Now i understood what is going on with tabs left and right alignment.I am sure ,giving exactly 16 tabs.Following is the script code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;IM         ,,&amp;amp;W_SNO&amp;amp;,,Empty,,&amp;amp;E_OUTPUT-MAKTX&amp;amp;,,Empty value 

=           ,,&amp;amp;E_OUTPUT-CHAPID&amp;amp;,,&amp;amp;E_OUTPUT-D_EDCES&amp;amp;,,&amp;amp;E_OUTPUT-MENGE&amp;amp;,,&amp;amp;E_OUTPUT-MATNR&amp;amp;,,&amp;amp;E_OUTPUT-EXBAS&amp;amp;  

=           ,,&amp;amp;E_OUTPUT-AMOUNT&amp;amp;,,&amp;amp;E_OUTPUT-PALLET_QTY&amp;amp;,,&amp;amp;E_OUTPUT-NUM_PALLETS&amp;amp;,,&amp;amp;E_OUTPUT-C_EDCESS&amp;amp;,,

=           &amp;amp;E_OUTPUT-FKIMG(8)&amp;amp;,,&amp;amp;E_OUTPUT-KBETR&amp;amp;,,&amp;amp;E_OUTPUT-NETWR&amp;amp;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from the above code  you can notice some values are hard coded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tab positions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;1         0,10 CM    LEFT 

 2         0,40 CM    LEFT 

 3         1,50 CM    LEFT 

4          3,80 CM    LEFT

5          6,20 CM    LEFT

6          8,50 CM    RIGHT

7          9,90 CM    RIGHT

8          9,95 CM    RIGHT

9        12,20 CM    RIGHT

10      13,50 CM    RIGHT

11      14,40 CM    RIGHT

12      15,20 CM    RIGHT

13       16,60 CM    RIGHT

14       17,40 CM    RIGHT

15       18,10 CM    RIGHT

16       19,10 CM    RIGHT&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; My script output become like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[screen shot 2|http://www.scrnshots.com/users/anuups/screenshots/296027]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;up to 13th column alignment is good.but from the 14th column onwards missing alignment.Even i tried to decrement tab size to 17.9 CM,even though no change in the print preview. what i missed here?please help me out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Naresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2011 09:43:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/setting-tab-position-for-quantity-fields-in-sap-script/m-p/8348645#M1639866</guid>
      <dc:creator>naresh_bammidi</dc:creator>
      <dc:date>2011-11-24T09:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: setting tab position for quantity fields in sap script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/setting-tab-position-for-quantity-fields-in-sap-script/m-p/8348646#M1639867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi naresh,&lt;/P&gt;&lt;P&gt;               Unfortuantely i am not able to view the screenshot as i cannot access site from office. I will check them  later on&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One thing i noticed here is your tab position no. 8. If i am not mistaken , that is for your MATNR field..  This should be left aligned and not right aligned ie change alignment of tab no. 8 from Right to Left. This could be causing problems later on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the 14th column  , i dont think you should restrict the no. of characters to 8 .  Try removing and doing some adjustment there too.. Will get back to you after seeing the screenshot as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2011 10:09:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/setting-tab-position-for-quantity-fields-in-sap-script/m-p/8348646#M1639867</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-24T10:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: setting tab position for quantity fields in sap script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/setting-tab-position-for-quantity-fields-in-sap-script/m-p/8348647#M1639868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry Arun ,this is my Typo mistake.i gave alignment as left only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With regards&lt;/P&gt;&lt;P&gt;Naresh Bammidi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2011 10:59:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/setting-tab-position-for-quantity-fields-in-sap-script/m-p/8348647#M1639868</guid>
      <dc:creator>naresh_bammidi</dc:creator>
      <dc:date>2011-11-24T10:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: setting tab position for quantity fields in sap script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/setting-tab-position-for-quantity-fields-in-sap-script/m-p/8348648#M1639869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naresh,&lt;/P&gt;&lt;P&gt;            Go step by step..  Remove 15th and 16th value columns.... And try with 1 through 14 columns only.... Remove the (8) addition for 14th column... See if it works fine....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If not , play around with tab position of 14th Tab..    And then after the alignment for the 14 th column is alright, put back the 15 th and 16th column..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think with a few iterations, your script should come out fine...&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;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2011 11:41:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/setting-tab-position-for-quantity-fields-in-sap-script/m-p/8348648#M1639869</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-24T11:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: setting tab position for quantity fields in sap script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/setting-tab-position-for-quantity-fields-in-sap-script/m-p/8348649#M1639870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naresh,&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure, please try compress format options as below&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;amp;E_OUTPUT-FKIMG(C)&amp;amp;,,&amp;amp;E_OUTPUT-KBETR(C)&amp;amp;,,&amp;amp;E_OUTPUT-NETWR(C)&amp;amp;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Surya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Nov 2011 05:08:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/setting-tab-position-for-quantity-fields-in-sap-script/m-p/8348649#M1639870</guid>
      <dc:creator>former_member186055</dc:creator>
      <dc:date>2011-11-25T05:08:47Z</dc:date>
    </item>
    <item>
      <title>Re: setting tab position for quantity fields in sap script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/setting-tab-position-for-quantity-fields-in-sap-script/m-p/8348650#M1639871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank's for your suggestion,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it's working and compressing the space.Let me check with different line items and will come back to you with status.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With regards,&lt;/P&gt;&lt;P&gt;Naresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Nov 2011 06:15:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/setting-tab-position-for-quantity-fields-in-sap-script/m-p/8348650#M1639871</guid>
      <dc:creator>naresh_bammidi</dc:creator>
      <dc:date>2011-11-25T06:15:32Z</dc:date>
    </item>
  </channel>
</rss>

