<?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: Performing a form from sapscript in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/performing-a-form-from-sapscript/m-p/4172964#M997607</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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM WHO_CALLED &lt;/P&gt;&lt;P&gt;          TABLES input_table structure itcsy&lt;/P&gt;&lt;P&gt;	        output_table structure itcsy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: x_tipi(100).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;move input_table-value to x_tipi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;x_tipi = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;move x_tipi to output_table-value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear x_tipi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM. "WHO_CALLED&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Jul 2008 07:53:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-18T07:53:21Z</dc:date>
    <item>
      <title>Performing a form from sapscript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performing-a-form-from-sapscript/m-p/4172962#M997605</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 created a sapscript form and now want to control which program has called this form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is the code at sapscript side:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/:   PERFORM WHO_CALLED IN PROGRAM Z_FI_HEF130D&lt;/P&gt;&lt;P&gt;/:   USING &amp;amp;TIPI&amp;amp;&lt;/P&gt;&lt;P&gt;/:   IF &amp;amp;TIPI&amp;amp; = 'X'.&lt;/P&gt;&lt;P&gt;/:   INCLUDE ZPROFORMA_01 OBJECT TEXT ID ST LANGUAGE EN&lt;/P&gt;&lt;P&gt;/:   INCLUDE ZPROFORMA_03 OBJECT TEXT ID ST LANGUAGE EN&lt;/P&gt;&lt;P&gt;/:   ELSE.&lt;/P&gt;&lt;P&gt;/:   INCLUDE ZPROFORMA_01 OBJECT TEXT ID ST LANGUAGE EN&lt;/P&gt;&lt;P&gt;/:   INCLUDE ZPROFORMA_02 OBJECT TEXT ID ST LANGUAGE EN&lt;/P&gt;&lt;P&gt;/:   ENDIF.&lt;/P&gt;&lt;P&gt;/:   ENDPERFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And this is the form at program Z_FI_HEF130D:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM WHO_CALLED USING tipi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  tipi = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM. "WHO_CALLED&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But tipi is never set to 'X' even I have run the program it has been set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What could be the problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Deniz.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2008 07:44:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performing-a-form-from-sapscript/m-p/4172962#M997605</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-17T07:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: Performing a form from sapscript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performing-a-form-from-sapscript/m-p/4172963#M997606</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 changing instead of using. And you have to close the perform with and endperform statement.&lt;/P&gt;&lt;P&gt;Put a break-point into your program Z_FI_HEF130D to see, is it working good or not?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/: PERFORM WHO_CALLED IN PROGRAM Z_FI_HEF130D&lt;/P&gt;&lt;P&gt;/: CHANGING &amp;amp;TIPI&amp;amp;&lt;/P&gt;&lt;P&gt;/: ENDPERFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/: IF &amp;amp;TIPI&amp;amp; = 'X'.&lt;/P&gt;&lt;P&gt;/: INCLUDE ZPROFORMA_01 OBJECT TEXT ID ST LANGUAGE EN&lt;/P&gt;&lt;P&gt;/: INCLUDE ZPROFORMA_03 OBJECT TEXT ID ST LANGUAGE EN&lt;/P&gt;&lt;P&gt;/: ELSE.&lt;/P&gt;&lt;P&gt;/: INCLUDE ZPROFORMA_01 OBJECT TEXT ID ST LANGUAGE EN&lt;/P&gt;&lt;P&gt;/: INCLUDE ZPROFORMA_02 OBJECT TEXT ID ST LANGUAGE EN&lt;/P&gt;&lt;P&gt;/: ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check out this link, if you are still unsure, how it is working.&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/d1/80318f454211d189710000e8322d00/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/d1/80318f454211d189710000e8322d00/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tamás&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Tamás Nyisztor on Jul 17, 2008 9:52 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2008 07:50:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performing-a-form-from-sapscript/m-p/4172963#M997606</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-17T07:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: Performing a form from sapscript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performing-a-form-from-sapscript/m-p/4172964#M997607</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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM WHO_CALLED &lt;/P&gt;&lt;P&gt;          TABLES input_table structure itcsy&lt;/P&gt;&lt;P&gt;	        output_table structure itcsy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: x_tipi(100).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;move input_table-value to x_tipi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;x_tipi = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;move x_tipi to output_table-value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear x_tipi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM. "WHO_CALLED&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jul 2008 07:53:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performing-a-form-from-sapscript/m-p/4172964#M997607</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-18T07:53:21Z</dc:date>
    </item>
  </channel>
</rss>

