<?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: itab spaces in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/itab-spaces/m-p/1240696#M141987</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;create template and assing the variables ...&lt;/P&gt;&lt;P&gt;I think this may work?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Mar 2006 08:34:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-03-21T08:34:33Z</dc:date>
    <item>
      <title>itab spaces</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/itab-spaces/m-p/1240695#M141986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;Iam working on smartforms and i have to display 6 field values.One of the fields having long text with 40 charecters.If longtext is not having any value,my data is getting misalligned.&lt;/P&gt;&lt;P&gt;So i want to pass some space into that field to avoid misalignment for the next few fields.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: G_LENG(50) VALUE '                '.

IF WA_DET-LTEXT = SPACE.
   WA_DET-LTEXT = G_LENG.
ENDIF.   

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Why this code is not working? Means,it is not taking it is as space.Still data is misaligning.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i need to do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;kaki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Mar 2006 08:28:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/itab-spaces/m-p/1240695#M141986</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-21T08:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: itab spaces</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/itab-spaces/m-p/1240696#M141987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;create template and assing the variables ...&lt;/P&gt;&lt;P&gt;I think this may work?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Mar 2006 08:34:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/itab-spaces/m-p/1240696#M141987</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-21T08:34:33Z</dc:date>
    </item>
    <item>
      <title>Re: itab spaces</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/itab-spaces/m-p/1240697#M141988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kaki&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your code'll do nothing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You're saying: if no value is in my variable, so my variable is equal no value... it's strange, isn't it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to be sure of allignement why don't you use a TEMPLATE?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Mar 2006 08:36:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/itab-spaces/m-p/1240697#M141988</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-21T08:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: itab spaces</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/itab-spaces/m-p/1240698#M141989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi kaki,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. for such ALIGNMENT PROBLEMS,&lt;/P&gt;&lt;P&gt;2. the best thing is to &lt;/P&gt;&lt;P&gt;   use TAB Concept (just like sapscript)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. I don't know about smartforms,&lt;/P&gt;&lt;P&gt;   but some concept must be there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. This alignment will also cause problem,&lt;/P&gt;&lt;P&gt;   even when the string is there,&lt;/P&gt;&lt;P&gt;   but IN CAPITAL letter,&lt;/P&gt;&lt;P&gt;  bcos&lt;/P&gt;&lt;P&gt;  CAPITAL character takes more space, &lt;/P&gt;&lt;P&gt;  as compared to lower case,&lt;/P&gt;&lt;P&gt;  and a SPACE takes even less width.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. However, if the font is COURIER,&lt;/P&gt;&lt;P&gt;   then it will have fixed width of ANY CHARACTER,&lt;/P&gt;&lt;P&gt;   whether space, lowercase, or capital !!!&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;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Mar 2006 08:38:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/itab-spaces/m-p/1240698#M141989</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-21T08:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: itab spaces</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/itab-spaces/m-p/1240699#M141990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kaki,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It should work, I think you are missing somthing else. I tried with a sample code:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
REPORT ztest .

DATA: G_LENG(50) VALUE ' '.

write : 'test', g_leng, 'done'.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anjali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Mar 2006 08:44:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/itab-spaces/m-p/1240699#M141990</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-21T08:44:06Z</dc:date>
    </item>
  </channel>
</rss>

