<?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: Table Display in SAP Script in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-display-in-sap-script/m-p/5211951#M1205600</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Praksh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you can do, if you are not sure about the lenght of the description field, is to first check it's length.&lt;/P&gt;&lt;P&gt;Then split it into parts (global variables) say v1 v2 v3 etc. (of course you can have a max number of parts here only so select a number beyond which you don't think the length of the field would go)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in the script where you write its value&lt;/P&gt;&lt;P&gt;do&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
PF ,,,,,,&amp;amp;v1&amp;amp;
IF v2 IS NOT INITIAL
PF ,,,,,,&amp;amp;v2&amp;amp;
IF v3 IS NOT INITIAL
PF ,,,,,,&amp;amp;v3&amp;amp;
.
.
.
ENDIF
ENDIF
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pushpraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Feb 2009 14:42:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-02-25T14:42:43Z</dc:date>
    <item>
      <title>Table Display in SAP Script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-display-in-sap-script/m-p/5211949#M1205598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement to display a table data in SAP Script.&lt;/P&gt;&lt;P&gt;The column details are as fiollows:&lt;/P&gt;&lt;P&gt;SlNo.&lt;/P&gt;&lt;P&gt;Desc,&lt;/P&gt;&lt;P&gt;Qty,&lt;/P&gt;&lt;P&gt;Amount.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any specific way to display the table data in Script?&lt;/P&gt;&lt;P&gt;If I use a single window like MAIN window and try to separate the columns by TABS then if my Desc field is long enough then  complete formatting is spoiled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I use a VAR window with a TEXT ELEMENT in that then system Overwrites the same data again and again so only last record in displayed at the display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prakash Pandey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Feb 2009 14:27:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-display-in-sap-script/m-p/5211949#M1205598</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-25T14:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: Table Display in SAP Script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-display-in-sap-script/m-p/5211950#M1205599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should declare the tabulators in the respecting sapscript window, and then use double commas to separate the values. Each double comma ( ,, ) means a tab jump to the nex available tab position.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should iterate the itab in your program and call the same element for writing in your sapscript for each iteration of your loop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Feb 2009 14:40:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-display-in-sap-script/m-p/5211950#M1205599</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-25T14:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: Table Display in SAP Script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-display-in-sap-script/m-p/5211951#M1205600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Praksh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you can do, if you are not sure about the lenght of the description field, is to first check it's length.&lt;/P&gt;&lt;P&gt;Then split it into parts (global variables) say v1 v2 v3 etc. (of course you can have a max number of parts here only so select a number beyond which you don't think the length of the field would go)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in the script where you write its value&lt;/P&gt;&lt;P&gt;do&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
PF ,,,,,,&amp;amp;v1&amp;amp;
IF v2 IS NOT INITIAL
PF ,,,,,,&amp;amp;v2&amp;amp;
IF v3 IS NOT INITIAL
PF ,,,,,,&amp;amp;v3&amp;amp;
.
.
.
ENDIF
ENDIF
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pushpraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Feb 2009 14:42:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-display-in-sap-script/m-p/5211951#M1205600</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-25T14:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: Table Display in SAP Script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-display-in-sap-script/m-p/5211952#M1205601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gustavo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have done the same. But every time the element and the window is called by FM WRITE_FORM the previous value is overwritten and as a result only the last loop value is shown on the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prakash Pandey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2009 04:10:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-display-in-sap-script/m-p/5211952#M1205601</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-26T04:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: Table Display in SAP Script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-display-in-sap-script/m-p/5211953#M1205602</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;try this .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the driver program .....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab into fs.&lt;/P&gt;&lt;P&gt;call function write_from.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the text editor.&lt;/P&gt;&lt;P&gt;&amp;amp;fs-f1&amp;amp;,,&amp;amp;fs-f2&amp;amp;,,&amp;amp;fs-f3&amp;amp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2009 04:29:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-display-in-sap-script/m-p/5211953#M1205602</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-26T04:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: Table Display in SAP Script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-display-in-sap-script/m-p/5211954#M1205603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sudheer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am doing the same. Please note that &lt;STRONG&gt;I can not use a Single window because the length of the first field is more than column width&lt;/STRONG&gt; and it is supposed to do a Word Wrap, so I have different window for every column &lt;STRONG&gt;I am using a VAR WINDOW and NOT A MAIN window&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the main window when I call WRITE_FORM it prints the various loop values one below another. This is OK. But since I am using a VAR window the &lt;STRONG&gt;loop values are overwritten&lt;/STRONG&gt;. And only the last entry of the loop is displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prakash Pandey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2009 04:41:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-display-in-sap-script/m-p/5211954#M1205603</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-26T04:41:27Z</dc:date>
    </item>
    <item>
      <title>Re: Table Display in SAP Script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-display-in-sap-script/m-p/5211955#M1205604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prakash,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try using FM WRITE_FORM_LINES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anurita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2009 07:06:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-display-in-sap-script/m-p/5211955#M1205604</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-26T07:06:35Z</dc:date>
    </item>
  </channel>
</rss>

