<?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: to get the values from func. module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-get-the-values-from-func-module/m-p/1831582#M354352</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;its unclear if u want to display the values on a normal list or alv..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;however if its an alv use any of the  following fms&lt;/P&gt;&lt;P&gt;reuse_alv_list_display&lt;/P&gt;&lt;P&gt;REUSE_ALV_FIELDCATALOG_MERGE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;all the best,&lt;/P&gt;&lt;P&gt;sampath&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*mark helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Jan 2007 07:11:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-29T07:11:24Z</dc:date>
    <item>
      <title>to get the values from func. module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-get-the-values-from-func-module/m-p/1831580#M354350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;c i have used a func. module to calculate the values of date , i wrote a subroutine i want the values of this to be dispalyed on the list...&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;now how do i get them to the list output, i mean how do i assign to the fieldcatalog?????&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;CAPC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2007 07:07:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/to-get-the-values-from-func-module/m-p/1831580#M354350</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-29T07:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: to get the values from func. module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-get-the-values-from-func-module/m-p/1831581#M354351</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;chk this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/reporting/alv/alv_variousfcat.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/reporting/alv/alv_variousfcat.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Anver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2007 07:10:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/to-get-the-values-from-func-module/m-p/1831581#M354351</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2007-01-29T07:10:26Z</dc:date>
    </item>
    <item>
      <title>Re: to get the values from func. module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-get-the-values-from-func-module/m-p/1831582#M354352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;its unclear if u want to display the values on a normal list or alv..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;however if its an alv use any of the  following fms&lt;/P&gt;&lt;P&gt;reuse_alv_list_display&lt;/P&gt;&lt;P&gt;REUSE_ALV_FIELDCATALOG_MERGE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;all the best,&lt;/P&gt;&lt;P&gt;sampath&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*mark helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2007 07:11:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/to-get-the-values-from-func-module/m-p/1831582#M354352</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-29T07:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: to get the values from func. module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-get-the-values-from-func-module/m-p/1831583#M354353</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;if you want to display a value calculated for date in every record then add a new field to the internal table which you are tying to give as output. populate this field with your vales and then use it for display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you are trying to get the values from the selection screen then make the parameter GET_SELINFOS in the layot structure as 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2007 07:23:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/to-get-the-values-from-func-module/m-p/1831583#M354353</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-29T07:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: to get the values from func. module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-get-the-values-from-func-module/m-p/1831584#M354354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi CAPC,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plese find below a sample program which will solve u r broblem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report abc.&lt;/P&gt;&lt;P&gt;TYPE-POOLS : slis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="---------" /&gt;&lt;P&gt; Data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF itab OCCURS 0.&lt;/P&gt;&lt;P&gt;INCLUDE STRUCTURE t001.&lt;/P&gt;&lt;P&gt;DATA : flag tyPE c,&lt;/P&gt;&lt;P&gt;END OF itab.&lt;/P&gt;&lt;P&gt;DATA : alvfc TYPE slis_t_fieldcat_alv.&lt;/P&gt;&lt;P&gt;DATA : alvly TYPE slis_layout_alv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt; Select Data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM t001 INTO TABLE itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*------- Field Catalogue&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;i_program_name = sy-repid&lt;/P&gt;&lt;P&gt;i_internal_tabname = 'ITAB'&lt;/P&gt;&lt;P&gt;i_inclname = sy-repid&lt;/P&gt;&lt;P&gt;CHANGING&lt;/P&gt;&lt;P&gt;ct_fieldcat = alvfc&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;inconsistent_interface = 1&lt;/P&gt;&lt;P&gt;program_error = 2&lt;/P&gt;&lt;P&gt;OTHERS = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="----------" /&gt;&lt;P&gt;Display&lt;/P&gt;&lt;P&gt;alvly-box_fieldname = 'FLAG'.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;it_fieldcat = alvfc&lt;/P&gt;&lt;P&gt;i_callback_program = sy-repid "&amp;lt;-------Important&lt;/P&gt;&lt;P&gt;i_callback_user_command = 'ITAB_USER_COMMAND' "&amp;lt;------ Important&lt;/P&gt;&lt;P&gt;is_layout = alvly&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;t_outtab = itab&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;program_error = 1&lt;/P&gt;&lt;P&gt;OTHERS = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="--------------------------------------------" /&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;CALL BACK FORM&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="--------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM itab_user_command USING whatcomm TYPE sy-ucomm whatrow TYPE&lt;/P&gt;&lt;P&gt;slis_selfield.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : msg(100) type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT itab.&lt;/P&gt;&lt;P&gt;if itab-flag = 'X'.&lt;/P&gt;&lt;P&gt;msg = sy-tabix.&lt;/P&gt;&lt;P&gt;condense msg.&lt;/P&gt;&lt;P&gt;concatenate 'Row Number ' msg ' ' into msg&lt;/P&gt;&lt;P&gt;separated by space.&lt;/P&gt;&lt;P&gt;message msg type 'I'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM. "ITAB_user_command&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;Sunil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2007 07:28:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/to-get-the-values-from-func-module/m-p/1831584#M354354</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-29T07:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: to get the values from func. module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-get-the-values-from-func-module/m-p/1831585#M354355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;done&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2007 05:49:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/to-get-the-values-from-func-module/m-p/1831585#M354355</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-22T05:49:11Z</dc:date>
    </item>
  </channel>
</rss>

