<?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: Call an executable program inside function module and pass the table values in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-an-executable-program-inside-function-module-and-pass-the-table-values/m-p/7607672#M1569018</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;Assuming that your EMPCODE is an internal table or a select option or a range,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use 'IN' operator instead of 'EQ' operator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SUBMIT ZHR_RFC_PAYSLIP   WITH  PERNR-PERNR IN EMPCODE
                                      WITH PYBEGDA IN FDATE
                                      WITH PYENDDA IN LDATE
                                      AND RETURN.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jovito.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Dec 2010 06:01:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-12-29T06:01:09Z</dc:date>
    <item>
      <title>Call an executable program inside function module and pass the table values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-an-executable-program-inside-function-module-and-pass-the-table-values/m-p/7607660#M1569006</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'm pretty new to HR Abap programming. I have a requirement like "calling an executable program within a function module and the output of the program data(Stored in internal tables) should be passed to the function module tables".&lt;/P&gt;&lt;P&gt;I've some idea about SUBMIT keyword and i used it in the function module..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please do the needful to solve this.&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;Selvi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Dec 2010 12:01:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-an-executable-program-inside-function-module-and-pass-the-table-values/m-p/7607660#M1569006</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-27T12:01:46Z</dc:date>
    </item>
    <item>
      <title>Re: Call an executable program inside function module and pass the table values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-an-executable-program-inside-function-module-and-pass-the-table-values/m-p/7607661#M1569007</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;You can use IMPORT/EXPORT - but this is a litle dangerous&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BEst Regards&lt;/P&gt;&lt;P&gt;Yossi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Dec 2010 13:52:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-an-executable-program-inside-function-module-and-pass-the-table-values/m-p/7607661#M1569007</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-27T13:52:29Z</dc:date>
    </item>
    <item>
      <title>Re: Call an executable program inside function module and pass the table values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-an-executable-program-inside-function-module-and-pass-the-table-values/m-p/7607662#M1569008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What you need is a subroutine inside the executable program with internal tables as parameters.The subroutine fills the internal tables and the Function Module calls this subroutine with the PERFORM xxx IN PROGRAM xxx keyword.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Dec 2010 13:59:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-an-executable-program-inside-function-module-and-pass-the-table-values/m-p/7607662#M1569008</guid>
      <dc:creator>adrian_dorn</dc:creator>
      <dc:date>2010-12-27T13:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: Call an executable program inside function module and pass the table values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-an-executable-program-inside-function-module-and-pass-the-table-values/m-p/7607663#M1569009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Selvi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SUBMIT... AND RETURN
           EXPORTING LIST TO MEMORY.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This statement stores the list in ABAP memory, allowing the calling program to access it once the called program has finished. You must use the AND RETURN addition in this case. You cannot use the additions EXPORTING LIST TO MEMORYand TO SAP-SPOOL together.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function group SLST provides function modules for accessing the saved list, including for example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;·        LIST_FROM_MEMORY

·        WRITE_LIST

·        DISPLAY_LIST&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Quoted from &lt;A href="http://help.sap.com/erp2005_ehp_04/helpdata/EN/9f/dba50035c111d1829f0000e829fbfe/frameset.htm"&gt;Affecting Lists in Called Programs&lt;/A&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;Clemens&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Dec 2010 14:27:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-an-executable-program-inside-function-module-and-pass-the-table-values/m-p/7607663#M1569009</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2010-12-27T14:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: Call an executable program inside function module and pass the table values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-an-executable-program-inside-function-module-and-pass-the-table-values/m-p/7607664#M1569010</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;         Thanks for your reply.Actually the executable program output will be displayed in smartforms. While using Submit keyword, as per Clemens advice, I'm getting exact output in smartforms thru the function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i don't want to display the output in smartforms, I want to fetch the internal table data of executable program and pass it to the function module tables. I need to display the data using function module tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Waiting for your reply.&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;Selvi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Dec 2010 04:35:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-an-executable-program-inside-function-module-and-pass-the-table-values/m-p/7607664#M1569010</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-28T04:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: Call an executable program inside function module and pass the table values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-an-executable-program-inside-function-module-and-pass-the-table-values/m-p/7607665#M1569011</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;As said by Adrian, try using &lt;STRONG&gt;PERFORM&lt;/STRONG&gt; fill_table &lt;STRONG&gt;IN PROGRAM&lt;/STRONG&gt; ztest777 TABLES itab  statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inside your FM, call a subroutine in the executable program like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
FUNCTION ztest7.
*"----------------------------------------------------------------------
*"*"Local Interface:
*"  TABLES
*"      ITAB STRUCTURE  MARA
*"----------------------------------------------------------------------
  
  PERFORM fill_table IN PROGRAM ztest TABLES itab.    " Decalre itab in TABLES parameter and pass to program for filling it

ENDFUNCTION.

" Double click above include and create it and add code like below.
REPORT ztest.
FORM fill_table  TABLES   itab STRUCTURE mara.
  DATA: wa TYPE mara.
  SELECT SINGLE * FROM mara INTO wa WHERE matnr LIKE '%TEST%'.
  APPEND wa TO itab.
ENDFORM.                    " FILL_TABLE

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Dec 2010 05:17:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-an-executable-program-inside-function-module-and-pass-the-table-values/m-p/7607665#M1569011</guid>
      <dc:creator>awin_prabhu</dc:creator>
      <dc:date>2010-12-28T05:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: Call an executable program inside function module and pass the table values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-an-executable-program-inside-function-module-and-pass-the-table-values/m-p/7607666#M1569012</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 this executable program a standard program or a custom (Z) program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If its a standard program could you provide the name of the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If its a Z program, you can code the processing of the table in a separate form and call the form in this function module via perform statement ( make sure you use a table parameter).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jovito.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Dec 2010 05:18:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-an-executable-program-inside-function-module-and-pass-the-table-values/m-p/7607666#M1569012</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-28T05:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: Call an executable program inside function module and pass the table values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-an-executable-program-inside-function-module-and-pass-the-table-values/m-p/7607667#M1569013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello concepts is really nice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but can u tell me why we are calling it in fm can we call it in include programs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Dec 2010 05:21:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-an-executable-program-inside-function-module-and-pass-the-table-values/m-p/7607667#M1569013</guid>
      <dc:creator>bandal_amol</dc:creator>
      <dc:date>2010-12-28T05:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: Call an executable program inside function module and pass the table values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-an-executable-program-inside-function-module-and-pass-the-table-values/m-p/7607668#M1569014</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 use Return command it wont display Smartform output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will suggess you to export table in memory and import table from memory.&lt;/P&gt;&lt;P&gt;you can use set/get parameter as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Dec 2010 05:30:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-an-executable-program-inside-function-module-and-pass-the-table-values/m-p/7607668#M1569014</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-28T05:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: Call an executable program inside function module and pass the table values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-an-executable-program-inside-function-module-and-pass-the-table-values/m-p/7607669#M1569015</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;        Thanks for your nice reply.&lt;/P&gt;&lt;P&gt;This is  a Customized Z program. I think PNP logical database can be used only in executable program. Other wise I would have used include program. More over lots of infotypes are used here in a single sub routine. Since I'm new to HR programming I need your help to solve this issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Dec 2010 05:43:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-an-executable-program-inside-function-module-and-pass-the-table-values/m-p/7607669#M1569015</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-28T05:43:25Z</dc:date>
    </item>
    <item>
      <title>Re: Call an executable program inside function module and pass the table values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-an-executable-program-inside-function-module-and-pass-the-table-values/m-p/7607670#M1569016</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;Since I do not have much of the details of the Z program you are using here is what I can suggest :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Option 1:&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;    Check if the Z program has any forms that you can use. If it does, you can call it using :&lt;/P&gt;&lt;P&gt;          perform &amp;lt;form name&amp;gt;(&amp;lt;program name&amp;gt;) using &amp;lt;parameters&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Option 2:&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;   If you are allowed to change the Z program, move all the processing code into a form .&lt;/P&gt;&lt;P&gt;   You can then use this perform.&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;P&gt;    If the code is complicated, add a &lt;STRONG&gt;hidden parameter or select-option&lt;/STRONG&gt; to the Z program based on which you will either print the smart form or export the table to memory. You can then submit this program from your function module and use the import statement to pull in the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Option 3:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;   If you are not allowed to change the Z program, make a copy of the program.&lt;/P&gt;&lt;P&gt;   Remove the code to display the smart form and replace it with code to export the internal table to memory.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Dec 2010 06:22:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-an-executable-program-inside-function-module-and-pass-the-table-values/m-p/7607670#M1569016</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-28T06:22:10Z</dc:date>
    </item>
    <item>
      <title>Re: Call an executable program inside function module and pass the table values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-an-executable-program-inside-function-module-and-pass-the-table-values/m-p/7607671#M1569017</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; Thanks for all your reply.&lt;/P&gt;&lt;P&gt;  I've used Option 3 as per dsouzajovito suggestion. Now i'm getting data in function module tables using import/ export table to memory concept.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again a small issue arises, while i'm executing function module it fetches all pernr available in the server and displays the details of last pernr. GET pernr statement is used in the Z report and submit statement is used like this as follows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; 
  SUBMIT ZHR_RFC_PAYSLIP   WITH  PERNR-PERNR EQ EMPCODE
                                      WITH PYBEGDA EQ FDATE
                                      WITH PYENDDA EQ LDATE
                                      AND RETURN.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls suggest if there is any corrections in the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i give a pernr as input in the function module, then it should fetch the details related only to that pernr. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FYI, No selection screen is used here as per requirement.&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;Selvi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Dec 2010 05:10:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-an-executable-program-inside-function-module-and-pass-the-table-values/m-p/7607671#M1569017</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-29T05:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: Call an executable program inside function module and pass the table values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-an-executable-program-inside-function-module-and-pass-the-table-values/m-p/7607672#M1569018</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;Assuming that your EMPCODE is an internal table or a select option or a range,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use 'IN' operator instead of 'EQ' operator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SUBMIT ZHR_RFC_PAYSLIP   WITH  PERNR-PERNR IN EMPCODE
                                      WITH PYBEGDA IN FDATE
                                      WITH PYENDDA IN LDATE
                                      AND RETURN.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jovito.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Dec 2010 06:01:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-an-executable-program-inside-function-module-and-pass-the-table-values/m-p/7607672#M1569018</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-29T06:01:09Z</dc:date>
    </item>
    <item>
      <title>Re: Call an executable program inside function module and pass the table values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-an-executable-program-inside-function-module-and-pass-the-table-values/m-p/7607673#M1569019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jovito,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Thanks  for your reply. Problem solved.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
RANGES : PYPERNR FOR PERNR-PERNR.
  PYPERNR-SIGN = 'I'.
  PYPERNR-OPTION = 'EQ'.
  PYPERNR-LOW = EMPCODE.
  APPEND PYPERNR.

  SUBMIT ZHR_RFC_PAYSLIP  WITH PYPERNR IN PYPERNR
                                      WITH PYBEGDA EQ FDATE
                                      WITH PYENDDA EQ LDATE
                                      AND RETURN.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Dec 2010 10:19:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-an-executable-program-inside-function-module-and-pass-the-table-values/m-p/7607673#M1569019</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-29T10:19:03Z</dc:date>
    </item>
  </channel>
</rss>

