<?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: Receving by Value in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/receving-by-value/m-p/4141858#M990286</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yeah exactly like that.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;call method gr_aggre-&amp;gt;is_aggregation_allowed exporting columnname = 'PAYMENTSUM'
                                               receiving value = flag .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Jul 2008 09:02:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-14T09:02:28Z</dc:date>
    <item>
      <title>Receving by Value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/receving-by-value/m-p/4141855#M990283</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;I am developing an ALV grid and developed a sort functionality something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: gr_aggre   type ref to cl_salv_aggregations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gr_aggre-&amp;gt;IS_NUMERICAL_AGGREGATION_ON( ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now IS_NUMERICAL_AGGREGATION_ON has returning by value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I need to modify the below statement such that it collects the boolean value VALUE returned by the method&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gr_aggre-&amp;gt;IS_NUMERICAL_AGGREGATION_ON( ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;straight to the point I need the syntax to collect the returning value from the method...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2008 08:38:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/receving-by-value/m-p/4141855#M990283</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-14T08:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: Receving by Value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/receving-by-value/m-p/4141856#M990284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Grame,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like this:?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA:
  zlv_aggr_on TYPE abap_bool.


zlv_aggr_on = gr_aggre-&amp;gt;IS_NUMERICAL_AGGREGATION_ON( ).
&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;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2008 08:48:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/receving-by-value/m-p/4141856#M990284</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-14T08:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: Receving by Value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/receving-by-value/m-p/4141857#M990285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you mean a functional method with only one RETURNING parameter? If so just declare a variable of the same type to hold the value being returned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: l_var type boolean.

l_var = gr_aggre-&amp;gt;IS_NUMERICAL_AGGREGATION_ON( ).&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise you can use it in an IF statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;IF gr_aggre-&amp;gt;IS_NUMERICAL_AGGREGATION_ON( ) = '[whatever]'.

  ...

ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2008 08:51:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/receving-by-value/m-p/4141857#M990285</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-14T08:51:42Z</dc:date>
    </item>
    <item>
      <title>Re: Receving by Value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/receving-by-value/m-p/4141858#M990286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yeah exactly like that.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;call method gr_aggre-&amp;gt;is_aggregation_allowed exporting columnname = 'PAYMENTSUM'
                                               receiving value = flag .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2008 09:02:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/receving-by-value/m-p/4141858#M990286</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-14T09:02:28Z</dc:date>
    </item>
  </channel>
</rss>

