<?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: &amp;quot;IS REQUESTED&amp;quot; IN FUNCTION MODULE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/quot-is-requested-quot-in-function-module/m-p/1403581#M194965</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;IS REQUESTED check can be done on formal parameters of an FM whether this parameter was used when ur function module is called from a program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume that the field on which IS REQUESTED was used is an optional parameter in your function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let that statement be in the function module but use a flag.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if &amp;lt;field&amp;gt; is requested.&lt;/P&gt;&lt;P&gt;l_flag eq 'X'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now inside ur subroutine you can use flag.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if l_flag eq 'X'.&lt;/P&gt;&lt;P&gt;&amp;lt;the logic of the original code&amp;gt;.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Jun 2006 07:19:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-06-14T07:19:31Z</dc:date>
    <item>
      <title>"IS REQUESTED" IN FUNCTION MODULE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/quot-is-requested-quot-in-function-module/m-p/1403579#M194963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello frnds,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to copy a function module into subroutine, but in that function module there is a command "IS REQUESTED" which won't work in subroutine. can you help me by giving some solution by providing some command which we can use instead of "is requested"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Navneet&lt;/P&gt;&lt;P&gt;chaubey_navneet@rediffmail.com&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2006 07:09:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/quot-is-requested-quot-in-function-module/m-p/1403579#M194963</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-14T07:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: "IS REQUESTED" IN FUNCTION MODULE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/quot-is-requested-quot-in-function-module/m-p/1403580#M194964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Guess inside a sub-routine you cannot have the functionality of IS REQUESTED.Because IS REQUESTED is used in case of FM's only.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2006 07:12:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/quot-is-requested-quot-in-function-module/m-p/1403580#M194964</guid>
      <dc:creator>nishanthbhandar</dc:creator>
      <dc:date>2006-06-14T07:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: "IS REQUESTED" IN FUNCTION MODULE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/quot-is-requested-quot-in-function-module/m-p/1403581#M194965</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;IS REQUESTED check can be done on formal parameters of an FM whether this parameter was used when ur function module is called from a program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume that the field on which IS REQUESTED was used is an optional parameter in your function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let that statement be in the function module but use a flag.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if &amp;lt;field&amp;gt; is requested.&lt;/P&gt;&lt;P&gt;l_flag eq 'X'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now inside ur subroutine you can use flag.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if l_flag eq 'X'.&lt;/P&gt;&lt;P&gt;&amp;lt;the logic of the original code&amp;gt;.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2006 07:19:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/quot-is-requested-quot-in-function-module/m-p/1403581#M194965</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-14T07:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: "IS REQUESTED" IN FUNCTION MODULE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/quot-is-requested-quot-in-function-module/m-p/1403582#M194966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Navneet,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The command which can be used instead of "IS REQUESTED" is "IS SUPPLIED" .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"IS SUPPLIED"&lt;/P&gt;&lt;P&gt;This variant checks to see whether or not the parameter f was passed at runtime ( IMPORTING) or is to be passed (EXPORTING) in function modules and methods. The condition is true, if f contains a value, although the system checks only the actual value of the formal parameter, not the default value. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sameena&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2006 07:29:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/quot-is-requested-quot-in-function-module/m-p/1403582#M194966</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-14T07:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: "IS REQUESTED" IN FUNCTION MODULE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/quot-is-requested-quot-in-function-module/m-p/1403583#M194967</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;Please check thsi SAP help Doc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;The expression f IS [NOT] REQUESTED is true if an actual parameter was specified for the formal parameter f when the call was made. &lt;/P&gt;&lt;P&gt;Here, f must be the parameter of a function module, not a pure import parameter ("IMPORTING"). If you are dealing with a structured parameter, it must refer only to the parameter itself, not to a component. Moreover, this is allowed only in the function module itself (not in a subroutine called by the function module).&amp;lt;/i&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;Anirban&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2006 07:30:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/quot-is-requested-quot-in-function-module/m-p/1403583#M194967</guid>
      <dc:creator>former_member480923</dc:creator>
      <dc:date>2006-06-14T07:30:50Z</dc:date>
    </item>
  </channel>
</rss>

