<?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: control commands in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/control-commands/m-p/2530679#M573789</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;No need to pay that much attention to this CONTROL_FORM fun module in Scripts&lt;/P&gt;&lt;P&gt;better pay attention to other fun modules like OPEN_FORM,WRITE_FORM, CLOSE_FORM&lt;/P&gt;&lt;P&gt;if needed look at START_FORM, END_FORM also&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;they are useful very much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points for useful Answers&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 08 Jul 2007 11:28:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-08T11:28:31Z</dc:date>
    <item>
      <title>control commands</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/control-commands/m-p/2530677#M573787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how to use control command( if and endif) with function module CONTROL_FORM?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Jul 2007 04:24:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/control-commands/m-p/2530677#M573787</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-08T04:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: control commands</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/control-commands/m-p/2530678#M573788</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;am not sure this code working properly, but it will give some idea....&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;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Function call:&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CONTROL_FORM'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;               EXPORTING  &lt;/P&gt;&lt;P&gt;                                      COMMAND = 'if &amp;lt;condition&amp;gt;'&lt;/P&gt;&lt;P&gt; &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 =  '   ' "here pass element name, which &lt;/P&gt;&lt;P&gt;                                                       you want to print based on condtion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                             WINDOW = '   '   " specifies the window.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                              TYPE = '   '             " specifie the location&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CONTROL_FORM'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;               EXPORTING  &lt;/P&gt;&lt;P&gt;                                      COMMAND = 'endif '.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in element you write the logic as per your needs.&lt;/P&gt;&lt;P&gt;if you want print more than one element data based on condition, for that one you call more than WRITE_FORM function modules.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Ashk Reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Jul 2007 06:03:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/control-commands/m-p/2530678#M573788</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-08T06:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: control commands</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/control-commands/m-p/2530679#M573789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;No need to pay that much attention to this CONTROL_FORM fun module in Scripts&lt;/P&gt;&lt;P&gt;better pay attention to other fun modules like OPEN_FORM,WRITE_FORM, CLOSE_FORM&lt;/P&gt;&lt;P&gt;if needed look at START_FORM, END_FORM also&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;they are useful very much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points for useful Answers&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Jul 2007 11:28:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/control-commands/m-p/2530679#M573789</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-08T11:28:31Z</dc:date>
    </item>
  </channel>
</rss>

