<?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 control form in scripts and long text in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/control-form-in-scripts-and-long-text/m-p/2358517#M521433</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.Can anyone here please let me know how to use control_form so that I can restrict the no.of records per page in a script.&lt;/P&gt;&lt;P&gt;2.dynamically printing the vertical line in a page as per the no.of records.How to achieve this?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;K.Kiran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Jun 2007 06:30:03 GMT</pubDate>
    <dc:creator>kiran_k8</dc:creator>
    <dc:date>2007-06-07T06:30:03Z</dc:date>
    <item>
      <title>control form in scripts and long text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/control-form-in-scripts-and-long-text/m-p/2358517#M521433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.Can anyone here please let me know how to use control_form so that I can restrict the no.of records per page in a script.&lt;/P&gt;&lt;P&gt;2.dynamically printing the vertical line in a page as per the no.of records.How to achieve this?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;K.Kiran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2007 06:30:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/control-form-in-scripts-and-long-text/m-p/2358517#M521433</guid>
      <dc:creator>kiran_k8</dc:creator>
      <dc:date>2007-06-07T06:30:03Z</dc:date>
    </item>
    <item>
      <title>Re: control form in scripts and long text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/control-form-in-scripts-and-long-text/m-p/2358518#M521434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONTROL_FORM  &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Use CONTROL_FORM to pass SAPscript control statements to the form. &lt;/P&gt;&lt;P&gt;Function call: &lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CONTROL_FORM'&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;EXPORTING COMMAND = ?...&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;EXCEPTIONS UNOPENED =&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;UNSTARTED =&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Export parameters:&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;COMMAND&lt;/P&gt;&lt;P&gt; Enter the SAPscript statement you want to execute in ITF format, but without the statement paragraph attribute '/:'.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Exceptions:&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;UNOPENED&lt;/P&gt;&lt;P&gt; The current form function could not be executed, since the form output was no yet initialized using OPEN_FORM. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;UNSTARTED&lt;/P&gt;&lt;P&gt; No form was opened yet.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Possible reasons:&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;The form processing was started using OPEN_FORM without specifying a form name, but no form was opened yet using START_FORM.&lt;/P&gt;&lt;P&gt;The last used form was closed using END_FORM, but no new form was opened using START_FORM.&lt;/P&gt;&lt;P&gt;The last filled page of the current form has no subsequent page. In this case, the system automatically terminates form printing after this page. You need no explicit END_FORM call.&lt;/P&gt;&lt;P&gt;In the current form, no page contains a main window, but a text element shall be output in the main window.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Long Text:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it s Z text, then you can create it in SO10 Transaction code.&lt;/P&gt;&lt;P&gt;If it is related to a Standard transaction text, then you need to create the text in that transaction only. i mean, lets take an Sales Order example, if you want to create the text, then Goto --&amp;gt; Header -&amp;gt; Text or Goto --&amp;gt; Item --&amp;gt; Texts to create the Texts.&lt;/P&gt;&lt;P&gt;so follow one of the above way to create the texts&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;Sree&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        sree ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2007 06:31:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/control-form-in-scripts-and-long-text/m-p/2358518#M521434</guid>
      <dc:creator>sreeramkumar_madisetty</dc:creator>
      <dc:date>2007-06-07T06:31:15Z</dc:date>
    </item>
    <item>
      <title>Re: control form in scripts and long text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/control-form-in-scripts-and-long-text/m-p/2358519#M521435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1-&amp;gt;&lt;/P&gt;&lt;P&gt;The function module CONTROL_FORM can be used to create SapScript control statements from within an ABAP program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function &amp;#145;CONTROL_FORM&amp;#146;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPORTING COMMAND = &amp;#145;PROTECT&amp;#146;. &lt;/P&gt;&lt;P&gt;call function &amp;#145;WRITE_FORM&amp;#146;.....................&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function &amp;#145;CONTROL_FORM&amp;#146;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPORTING COMMAND = &amp;#145;ENDPROTECT&amp;#146;. &lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/d6/0dba68494511d182b70000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/d6/0dba68494511d182b70000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;mrutyun^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2007 06:55:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/control-form-in-scripts-and-long-text/m-p/2358519#M521435</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-07T06:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: control form in scripts and long text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/control-form-in-scripts-and-long-text/m-p/2358520#M521436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Based on the Window size it will print the reocrds, you can resize the main window to fit N number of recrods in it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the BOX command to print the Vertical lines, use a Dynamic variable for the Height and increase it by 1 for every time for a Line item&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2007 06:58:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/control-form-in-scripts-and-long-text/m-p/2358520#M521436</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-07T06:58:51Z</dc:date>
    </item>
  </channel>
</rss>

