<?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: SAPScript(ABAP) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-abap/m-p/1573085#M258753</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am facing the same problem with internal table. All records are not getting printed on sapscript.Last record of internal table is getting printed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using following code in print program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;           loop at t_bset1.&lt;/P&gt;&lt;P&gt;            CALL FUNCTION 'WRITE_FORM'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;               EXPORTING&lt;/P&gt;&lt;P&gt;              ELEMENT = '252'&lt;/P&gt;&lt;P&gt;              FUNCTION = 'SET'&lt;/P&gt;&lt;P&gt;              TYPE = 'BODY'&lt;/P&gt;&lt;P&gt;              WINDOW = 'SUB_TOTL'.&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;W1  &amp;lt;B&amp;gt;VAT &amp;amp;t_bset1-wrbtr_pers(C)&amp;amp;%&amp;lt;/&amp;gt;,,&amp;amp;t_bset1-fwste&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me solve the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Sid Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Nov 2006 09:39:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-16T09:39:19Z</dc:date>
    <item>
      <title>SAPScript(ABAP)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-abap/m-p/1573080#M258748</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;hope u r doing well .i have small doubt i.e i have 3 text messages in a internal table(in print program),i want to show all these messages in my form output ,but it is showing only last message .pls give ur suggestion with an example.i m waiting for ur reply....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thx in adv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds,&lt;/P&gt;&lt;P&gt;Prabhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2006 14:29:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-abap/m-p/1573080#M258748</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-04T14:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: SAPScript(ABAP)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-abap/m-p/1573081#M258749</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;Use the below Function module, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CALL FUNCTION  'WRITE_FORM_LINES'&lt;/P&gt;&lt;P&gt;      EXPORTING  HEADER    = HEADER&lt;/P&gt;&lt;P&gt;      TABLES     LINES     = LINES1&lt;/P&gt;&lt;P&gt;      EXCEPTIONS UNSTARTED = 1&lt;/P&gt;&lt;P&gt;                 UNOPENED  = 1&lt;/P&gt;&lt;P&gt;                 OTHERS    = 9.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope, it will solve your problem. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers. &lt;/P&gt;&lt;P&gt;santosh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2006 14:33:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-abap/m-p/1573081#M258749</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-04T14:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: SAPScript(ABAP)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-abap/m-p/1573082#M258750</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 in write_form function module.. for FUNCTION u have given DELETE.. give as SET...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;CALL FUNCTION 'WRITE_FORM'&lt;/P&gt;&lt;P&gt; EXPORTING&lt;/P&gt;&lt;P&gt;   ELEMENT                        = 'UR TEXT MESSAGE'&lt;/P&gt;&lt;P&gt;   FUNCTION                       = 'SET'&lt;/P&gt;&lt;P&gt;   TYPE                           = 'BODY'&lt;/P&gt;&lt;P&gt;   WINDOW                         = 'MAIN'&lt;/P&gt;&lt;P&gt;          .&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;hope this helps..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not post ur code.. so we can check more&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2006 14:34:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-abap/m-p/1573082#M258750</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-04T14:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: SAPScript(ABAP)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-abap/m-p/1573083#M258751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your sapcript, put the lines of the internal table in the MAIN window and put them under an element.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;/E   TEXT_LINES
PF   &amp;amp;iTextLines&amp;amp;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in your print program, loop the internal table and write each line one by one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;


    loop at itextlines.
      call function 'WRITE_FORM'
           exporting
                element = 'TEXTLINES'
                window  = 'MAIN'.
    endloop.


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&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, 04 Oct 2006 14:34:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-abap/m-p/1573083#M258751</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-10-04T14:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: SAPScript(ABAP)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-abap/m-p/1573084#M258752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your printer program have to look like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
LOOP AT itab INTO wa.
  CALL FUNCTION 'WRITE_FORM'
    ELEMENT 'MESSAGE'
ENDLOOP.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the SAPScript:&lt;/P&gt;&lt;P&gt;/E MESSAGE&lt;/P&gt;&lt;P&gt;ZZ wa-message&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tamá&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2006 14:35:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-abap/m-p/1573084#M258752</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-04T14:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: SAPScript(ABAP)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-abap/m-p/1573085#M258753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am facing the same problem with internal table. All records are not getting printed on sapscript.Last record of internal table is getting printed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using following code in print program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;           loop at t_bset1.&lt;/P&gt;&lt;P&gt;            CALL FUNCTION 'WRITE_FORM'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;               EXPORTING&lt;/P&gt;&lt;P&gt;              ELEMENT = '252'&lt;/P&gt;&lt;P&gt;              FUNCTION = 'SET'&lt;/P&gt;&lt;P&gt;              TYPE = 'BODY'&lt;/P&gt;&lt;P&gt;              WINDOW = 'SUB_TOTL'.&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;W1  &amp;lt;B&amp;gt;VAT &amp;amp;t_bset1-wrbtr_pers(C)&amp;amp;%&amp;lt;/&amp;gt;,,&amp;amp;t_bset1-fwste&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me solve the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Sid Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2006 09:39:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-abap/m-p/1573085#M258753</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-16T09:39:19Z</dc:date>
    </item>
  </channel>
</rss>

