<?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 IS REQUESTED statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-requested-statement/m-p/5944916#M1335264</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;I would like to know, how is "IS REQUESTED" statement working&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The ABAP documentation says:&lt;/P&gt;&lt;P&gt;"The logical expression checks whether an output parameter para of a procedure is requested. The expression is true if at the call an actual parameter was assigned to the formal parameter. &lt;/P&gt;&lt;P&gt;This logical expression is possible only in function modules and methods. "&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it mean, that If I look at on the function call, then it is determined or not as an export, import parameter?? Maybe I'm wrong, so that's why I'm asking.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Jul 2009 07:20:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-07-23T07:20:13Z</dc:date>
    <item>
      <title>IS REQUESTED statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-requested-statement/m-p/5944916#M1335264</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;I would like to know, how is "IS REQUESTED" statement working&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The ABAP documentation says:&lt;/P&gt;&lt;P&gt;"The logical expression checks whether an output parameter para of a procedure is requested. The expression is true if at the call an actual parameter was assigned to the formal parameter. &lt;/P&gt;&lt;P&gt;This logical expression is possible only in function modules and methods. "&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it mean, that If I look at on the function call, then it is determined or not as an export, import parameter?? Maybe I'm wrong, so that's why I'm asking.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2009 07:20:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-requested-statement/m-p/5944916#M1335264</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-23T07:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: IS REQUESTED statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-requested-statement/m-p/5944917#M1335265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in the function modules you have import/export/tables etc to be passed or to fetched.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the parameter here has two options : option or not . (u can find that as a check bod in the import/export... tabs in FMs)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if its a optional export parameter,then it may be asked while calling the SF or might not be. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so when a option parameter value is needed that mean FM call has passed some field to it to get the data, then this IS REQUESTED option comes to action. hope you get my point,.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lets say FM XYZ has following things in definition.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;import (this u pass from program)
abcd type c optional
defg type  c 

export(this you request from program)
lmn type string 
opqr type string optional.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and your program FM call is:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;call function 'XYZ'
exporting
*abcd =     --&amp;gt; no need to pass as its optional
defg = '123' 
importing
lmn = lv_lmn
opqr = lv_pqr ---&amp;gt; this is optional . u may or may not pass.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so from in the FM source code this can be written.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;if opqr IS REQUESTED.
    opqr = 'hi there'.
endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and you get the value in lv_pqr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope you understand my point,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;P&gt;Somu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2009 07:29:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-requested-statement/m-p/5944917#M1335265</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-23T07:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: IS REQUESTED statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-requested-statement/m-p/5944918#M1335266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;and one more thing is IS REQUESTED is now obsolete and IS SUPPLIED is now used in place of IS REQUESTED&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2009 07:36:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-requested-statement/m-p/5944918#M1335266</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-23T07:36:05Z</dc:date>
    </item>
    <item>
      <title>Re: IS REQUESTED statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-requested-statement/m-p/5944919#M1335267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I work in 6.0.&lt;/P&gt;&lt;P&gt;In my case I have this fm: FKK_LINE_ITEMS_WITH_SELECTIONS ( it called in fm: FKK_SAMPLE_0785)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--&lt;DEL&gt;&lt;/DEL&gt;&lt;/P&gt;&lt;HR originaltext="-------" /&gt;get items according to selection criteria--&lt;P&gt;&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt;  CALL FUNCTION 'FKK_LINE_ITEMS_WITH_SELECTIONS'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      i_fkkeposc         = i_fkkeposc&lt;/P&gt;&lt;P&gt;      i_call_transaction = 'X'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      t_selhead          = t_selhead&lt;/P&gt;&lt;P&gt;      t_postab           = t_postab_local&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      no_items_found     = 1&lt;/P&gt;&lt;P&gt;      OTHERS             = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In FM: FKK_LINE_ITEMS_WITH_SELECTIONS I have a check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF T_KPLTAB IS REQUESTED.&lt;/P&gt;&lt;P&gt;    GLOBALDATA-KPLTAB = 'X'.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T_KPLTAB is optional parameter.&lt;/P&gt;&lt;P&gt;I have a check for field T_KPLTAB. If I'm right, it should not set the GLOBALDATA-KPLTAB to 'X'?&lt;/P&gt;&lt;P&gt;In 4.6 it did not set this parameter to X, but in 6.0 It is set to 'X' and I don't know why.&lt;/P&gt;&lt;P&gt;Am I right that the program execution should not set GLOBALDATA-KPLTAB to 'X' according to the function call?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: mrwhite on Jul 23, 2009 9:43 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2009 07:40:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-requested-statement/m-p/5944919#M1335267</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-23T07:40:04Z</dc:date>
    </item>
    <item>
      <title>Re: IS REQUESTED statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-requested-statement/m-p/5944920#M1335268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello MrWhite,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IS_SUPPLIED or IS_REQUESTED are used just to check if calling program is expecting value back in that particular variable which is pass using optional parameter of some function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, for any optional variable if that variable is provided by calling program as argument then you can check that in &lt;/P&gt;&lt;P&gt;called program by checking if that parameter is supplied or not? and accordingly you can return value for that parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Augustin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2009 08:38:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-requested-statement/m-p/5944920#M1335268</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-23T08:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: IS REQUESTED statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-requested-statement/m-p/5944921#M1335269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the replies.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jul 2009 06:57:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-requested-statement/m-p/5944921#M1335269</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-24T06:57:37Z</dc:date>
    </item>
  </channel>
</rss>

