<?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 Diff. between function module and objects . in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-function-module-and-objects/m-p/2942614#M693695</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sapians ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What my question is when we call a function module twice with in my program&lt;/P&gt;&lt;P&gt;It will work on only one instance of function group ?&lt;/P&gt;&lt;P&gt;can u tell me clearly ,What are the scenario so we need two instance of a same function group in my program ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards &lt;/P&gt;&lt;P&gt;Tarun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Oct 2007 11:19:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-09T11:19:52Z</dc:date>
    <item>
      <title>Diff. between function module and objects .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-function-module-and-objects/m-p/2942614#M693695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sapians ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What my question is when we call a function module twice with in my program&lt;/P&gt;&lt;P&gt;It will work on only one instance of function group ?&lt;/P&gt;&lt;P&gt;can u tell me clearly ,What are the scenario so we need two instance of a same function group in my program ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards &lt;/P&gt;&lt;P&gt;Tarun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2007 11:19:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-function-module-and-objects/m-p/2942614#M693695</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-09T11:19:52Z</dc:date>
    </item>
    <item>
      <title>Re: Diff. between function module and objects .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-function-module-and-objects/m-p/2942615#M693696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;/P&gt;&lt;P&gt; no prob on that . &lt;/P&gt;&lt;P&gt;i use same fm  2 time in 1  prog its working .&lt;/P&gt;&lt;P&gt;how to use the fm.&lt;/P&gt;&lt;P&gt;see my code &lt;/P&gt;&lt;P&gt; IF NOT i_salesdoc IS INITIAL.&lt;/P&gt;&lt;P&gt;*Download the sales document file&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'WS_DOWNLOAD'&lt;/P&gt;&lt;P&gt;         EXPORTING&lt;/P&gt;&lt;P&gt;              filename   = p_file1&lt;/P&gt;&lt;P&gt;              filetype   = 'DAT'&lt;/P&gt;&lt;P&gt;         TABLES&lt;/P&gt;&lt;P&gt;              data_tab   = i_salesdoc&lt;/P&gt;&lt;P&gt;              fieldnames = i_header&lt;/P&gt;&lt;P&gt;         EXCEPTIONS&lt;/P&gt;&lt;P&gt;              OTHERS     = 1.&lt;/P&gt;&lt;P&gt;    IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;      IF NOT i_component IS INITIAL.&lt;/P&gt;&lt;P&gt;        PERFORM create_headers_comm.&lt;/P&gt;&lt;P&gt;*Download the component file header&lt;/P&gt;&lt;P&gt;        CALL FUNCTION 'WS_DOWNLOAD'&lt;/P&gt;&lt;P&gt;             EXPORTING&lt;/P&gt;&lt;P&gt;                  filename   = p_file2&lt;/P&gt;&lt;P&gt;                  filetype   = 'DAT'&lt;/P&gt;&lt;P&gt;             TABLES&lt;/P&gt;&lt;P&gt;                  data_tab   = i_head&lt;/P&gt;&lt;P&gt;                  fieldnames = i_header&lt;/P&gt;&lt;P&gt;             EXCEPTIONS&lt;/P&gt;&lt;P&gt;                  OTHERS     = 1.&lt;/P&gt;&lt;P&gt;        IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;*Download the component file data&lt;/P&gt;&lt;P&gt;          CALL FUNCTION 'WS_DOWNLOAD'&lt;/P&gt;&lt;P&gt;               EXPORTING&lt;/P&gt;&lt;P&gt;                    filename = p_file2&lt;/P&gt;&lt;P&gt;                    filetype = 'DAT'&lt;/P&gt;&lt;P&gt;                    mode     = 'A'&lt;/P&gt;&lt;P&gt;               TABLES&lt;/P&gt;&lt;P&gt;                    data_tab = i_component&lt;/P&gt;&lt;P&gt;               EXCEPTIONS&lt;/P&gt;&lt;P&gt;                    OTHERS   = 1.&lt;/P&gt;&lt;P&gt;          IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;            MESSAGE s001(00) WITH text-019.&lt;/P&gt;&lt;P&gt;          ELSE.&lt;/P&gt;&lt;P&gt;            MESSAGE e001(00) WITH text-027.&lt;/P&gt;&lt;P&gt;          ENDIF.&lt;/P&gt;&lt;P&gt;        ELSE.&lt;/P&gt;&lt;P&gt;          MESSAGE e001(00) WITH text-027.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;      ELSE.&lt;/P&gt;&lt;P&gt;        MESSAGE e001(00) WITH text-029.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;    ELSE.&lt;/P&gt;&lt;P&gt;      MESSAGE e001(00) WITH text-027.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;    MESSAGE e001(00)  WITH text-028.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it's will help u.&lt;/P&gt;&lt;P&gt;kk.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2007 11:25:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-function-module-and-objects/m-p/2942615#M693696</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-09T11:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: Diff. between function module and objects .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-function-module-and-objects/m-p/2942616#M693697</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;Function modules means it is unique.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whenever u call the function module the parameter go to the function module&lt;/P&gt;&lt;P&gt;after processing it comes back with result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if u call 100 times also it will go to the same function module.&lt;/P&gt;&lt;P&gt;u can check with debugging.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assign points if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2007 11:26:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-function-module-and-objects/m-p/2942616#M693697</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-09T11:26:54Z</dc:date>
    </item>
  </channel>
</rss>

