<?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: form entry using return_code us_screenj in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/form-entry-using-return-code-us-screenj/m-p/5283090#M1219216</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey buddy, just analyse how the code is run..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM entry USING return_code us_screen.&lt;/P&gt;&lt;P&gt;CLEAR retcode.&lt;/P&gt;&lt;P&gt;xscreen = us_screen.&lt;/P&gt;&lt;P&gt;PERFORM processing USING us_screen.&lt;/P&gt;&lt;P&gt;CASE retcode.&lt;/P&gt;&lt;P&gt;WHEN 0.&lt;/P&gt;&lt;P&gt;return_code = 0.&lt;/P&gt;&lt;P&gt;WHEN 3.&lt;/P&gt;&lt;P&gt;return_code = 3.&lt;/P&gt;&lt;P&gt;WHEN OTHERS.&lt;/P&gt;&lt;P&gt;return_code = 1.&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;ENDFORM. "entry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there is a form which uses the parameter value 'return_code us_screen'.&lt;/P&gt;&lt;P&gt;so whenever this perform is executed, the form 'ENTRY'  is called the values in return_code and us_screen are passes to it.... then therz another form being called within this 'entry' form which passes the value of us_screen to it.. back in the 'ENTRY' form, you have the case statement.&lt;/P&gt;&lt;P&gt;The 'RETCODE' is either a global variable or it has not been declared. But since you get an error, it has NOT been declared.  Check out ur 'USING' and 'CHANGIN' in form...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Mar 2009 03:23:06 GMT</pubDate>
    <dc:creator>madan_ullasa</dc:creator>
    <dc:date>2009-03-02T03:23:06Z</dc:date>
    <item>
      <title>form entry using return_code us_screenj</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/form-entry-using-return-code-us-screenj/m-p/5283088#M1219214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;id like to ask on how these codes work,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM entry USING return_code us_screen.&lt;/P&gt;&lt;P&gt;  CLEAR retcode.&lt;/P&gt;&lt;P&gt;  xscreen = us_screen.&lt;/P&gt;&lt;P&gt;  PERFORM processing USING us_screen.&lt;/P&gt;&lt;P&gt;  CASE retcode.&lt;/P&gt;&lt;P&gt;    WHEN 0.&lt;/P&gt;&lt;P&gt;      return_code = 0.&lt;/P&gt;&lt;P&gt;    WHEN 3.&lt;/P&gt;&lt;P&gt;      return_code = 3.&lt;/P&gt;&lt;P&gt;    WHEN OTHERS.&lt;/P&gt;&lt;P&gt;      return_code = 1.&lt;/P&gt;&lt;P&gt;  ENDCASE.&lt;/P&gt;&lt;P&gt;ENDFORM.                    "entry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;im having hard time to understand it, since its my first time encountering this codes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also when i check the syntax an error prompt, that retcode is unknown,&lt;/P&gt;&lt;P&gt;do i have to declare it in data section?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2009 03:03:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/form-entry-using-return-code-us-screenj/m-p/5283088#M1219214</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-02T03:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: form entry using return_code us_screenj</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/form-entry-using-return-code-us-screenj/m-p/5283089#M1219215</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;That is a part of your print program...form ENTRY is commonly the 1st group of codes that was executed when your output type is used. You can view the settings of your output type in tcode NACE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if retcode was not declared and if that program is a Z program, yes you must declare it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leonard Chomi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2009 03:19:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/form-entry-using-return-code-us-screenj/m-p/5283089#M1219215</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-02T03:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: form entry using return_code us_screenj</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/form-entry-using-return-code-us-screenj/m-p/5283090#M1219216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey buddy, just analyse how the code is run..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM entry USING return_code us_screen.&lt;/P&gt;&lt;P&gt;CLEAR retcode.&lt;/P&gt;&lt;P&gt;xscreen = us_screen.&lt;/P&gt;&lt;P&gt;PERFORM processing USING us_screen.&lt;/P&gt;&lt;P&gt;CASE retcode.&lt;/P&gt;&lt;P&gt;WHEN 0.&lt;/P&gt;&lt;P&gt;return_code = 0.&lt;/P&gt;&lt;P&gt;WHEN 3.&lt;/P&gt;&lt;P&gt;return_code = 3.&lt;/P&gt;&lt;P&gt;WHEN OTHERS.&lt;/P&gt;&lt;P&gt;return_code = 1.&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;ENDFORM. "entry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there is a form which uses the parameter value 'return_code us_screen'.&lt;/P&gt;&lt;P&gt;so whenever this perform is executed, the form 'ENTRY'  is called the values in return_code and us_screen are passes to it.... then therz another form being called within this 'entry' form which passes the value of us_screen to it.. back in the 'ENTRY' form, you have the case statement.&lt;/P&gt;&lt;P&gt;The 'RETCODE' is either a global variable or it has not been declared. But since you get an error, it has NOT been declared.  Check out ur 'USING' and 'CHANGIN' in form...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2009 03:23:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/form-entry-using-return-code-us-screenj/m-p/5283090#M1219216</guid>
      <dc:creator>madan_ullasa</dc:creator>
      <dc:date>2009-03-02T03:23:06Z</dc:date>
    </item>
    <item>
      <title>Re: form entry using return_code us_screenj</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/form-entry-using-return-code-us-screenj/m-p/5283091#M1219217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;to where should i type this? thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2009 03:28:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/form-entry-using-return-code-us-screenj/m-p/5283091#M1219217</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-02T03:28:31Z</dc:date>
    </item>
    <item>
      <title>Re: form entry using return_code us_screenj</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/form-entry-using-return-code-us-screenj/m-p/5283092#M1219218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you have to write this in your print program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sravan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2009 04:16:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/form-entry-using-return-code-us-screenj/m-p/5283092#M1219218</guid>
      <dc:creator>former_member242255</dc:creator>
      <dc:date>2009-03-02T04:16:30Z</dc:date>
    </item>
    <item>
      <title>Re: form entry using return_code us_screenj</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/form-entry-using-return-code-us-screenj/m-p/5283093#M1219219</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;The variables must have been defined in another include of the main program. &lt;/P&gt;&lt;P&gt;Try activating your codes first since if the declaration is in another include , it will give you an error but the code will be activated correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2009 05:29:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/form-entry-using-return-code-us-screenj/m-p/5283093#M1219219</guid>
      <dc:creator>dev_parbutteea</dc:creator>
      <dc:date>2009-03-02T05:29:43Z</dc:date>
    </item>
  </channel>
</rss>

