<?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: Execute function from custom table value ? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/execute-function-from-custom-table-value/m-p/2152887#M454647</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;&lt;/P&gt;&lt;P&gt;Check the syntax&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. GENERATE REPORT prog. &lt;/P&gt;&lt;P&gt;2. GENERATE SUBROUTINE POOL itab NAME name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Generate a subroutine in the run time with the code..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then execute that routine..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Apr 2007 23:51:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-04T23:51:51Z</dc:date>
    <item>
      <title>Execute function from custom table value ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/execute-function-from-custom-table-value/m-p/2152886#M454646</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 have custom table with following field&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
FUNNAME        CHAR    1000
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That contains records like the following &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CALL FUNCTION 'ZMATF' EXPORTING MATNR = P_MATNR IMPORTING MATDESCRIPTION = V_MATERIALDESC.
CALL FUNCTION 'Y_CHECK_EXIT' EXPORTING USEREXIT = 'EFNDTAXWAR' IMPORTING EXECUTE  =  EXECUTE TABLES I_ZA01   =  I_ZA01.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT' EXPORTING WAIT = 'X'.
CALL FUNCTION 'RS_TABLE_LIST_CREATE' EXPORTING TABLE_NAME = TABNAME.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;My requirement is according some of the user conditions i need to select entry from this table and execute the corresponding function module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any info highly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aRs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2007 23:42:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/execute-function-from-custom-table-value/m-p/2152886#M454646</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2007-04-04T23:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: Execute function from custom table value ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/execute-function-from-custom-table-value/m-p/2152887#M454647</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;&lt;/P&gt;&lt;P&gt;Check the syntax&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. GENERATE REPORT prog. &lt;/P&gt;&lt;P&gt;2. GENERATE SUBROUTINE POOL itab NAME name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Generate a subroutine in the run time with the code..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then execute that routine..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2007 23:51:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/execute-function-from-custom-table-value/m-p/2152887#M454647</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-04T23:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: Execute function from custom table value ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/execute-function-from-custom-table-value/m-p/2152888#M454648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply Naren,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a question regarding GENERATE SUBROUTINE as you mentioned, If two users run this are same time same record then any chance of sharing violation.?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aRs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2007 00:04:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/execute-function-from-custom-table-value/m-p/2152888#M454648</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2007-04-05T00:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: Execute function from custom table value ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/execute-function-from-custom-table-value/m-p/2152889#M454649</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 believe it should not be a problem...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As the subroutine is not physically created in the program..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also check this link for a sample program..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_46c/helpdata/EN/9f/db999535c111d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_46c/helpdata/EN/9f/db999535c111d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2007 00:15:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/execute-function-from-custom-table-value/m-p/2152889#M454649</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-05T00:15:25Z</dc:date>
    </item>
  </channel>
</rss>

