<?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: How to develop an Remote Enabled Function Module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-develop-an-remote-enabled-function-module/m-p/1107516#M105225</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please assume that the FM need to add records to EKPO(Purchasing Document Item) table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; The input to the FM will be the values to WERKS, MATNR and LEWED fields. If there is any other key fields also need to be inputted, assume that I will input them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will be a gr8 help if u can give the code snippet to the above. That will help me to build other FMs by myself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx for ur responces,&lt;/P&gt;&lt;P&gt;Chandrasekhar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Nov 2005 09:29:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-11-30T09:29:11Z</dc:date>
    <item>
      <title>How to develop an Remote Enabled Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-develop-an-remote-enabled-function-module/m-p/1107505#M105214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;I'm totally new to ABAP. I have a requirement to create a Remote Enabled Function Module, which I can use to call from an external program like Java using JCo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The functionality of the Remote Function is to write some data into certain fields of the tables AFPO and JEST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone please guide me, how to do the above described task. Is there any code snippets available, that would be really gr8.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Best Regards,&lt;/P&gt;&lt;P&gt;Chandrasekhar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2005 13:46:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-develop-an-remote-enabled-function-module/m-p/1107505#M105214</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-29T13:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to develop an Remote Enabled Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-develop-an-remote-enabled-function-module/m-p/1107506#M105215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;While creating the Function Module, in the attributes section, there is a radiobutton called "Remote-enabled module". You need to select that &amp;amp; you are ready to go. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For an example, see attributes for Function Module RFC_ABSENCETYPES_READ / RFC_CALL_TRANSACTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps, do award points if you find this useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2005 13:50:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-develop-an-remote-enabled-function-module/m-p/1107506#M105215</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-29T13:50:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to develop an Remote Enabled Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-develop-an-remote-enabled-function-module/m-p/1107507#M105216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its just like developing a regular function module,  setup your import/export/tables parameters,  I would suggest not having any exceptions.   And make sure that you check the right radio-button in the attributes tab.&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;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2005 13:51:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-develop-an-remote-enabled-function-module/m-p/1107507#M105216</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-11-29T13:51:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to develop an Remote Enabled Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-develop-an-remote-enabled-function-module/m-p/1107508#M105217</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;  Create function module and in the attributes check the &lt;/P&gt;&lt;P&gt;  radio button 'Remote Enable func'.&lt;/P&gt;&lt;P&gt;  and also make sure that when you are passing &lt;/P&gt;&lt;P&gt;  parameters Check pass by value check box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;amp;Regards,&lt;/P&gt;&lt;P&gt;Siri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2005 13:52:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-develop-an-remote-enabled-function-module/m-p/1107508#M105217</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-29T13:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to develop an Remote Enabled Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-develop-an-remote-enabled-function-module/m-p/1107509#M105218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chandrasekhar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can refer this link. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/22/04250b488911d189490000e829fbbd/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/22/04250b488911d189490000e829fbbd/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even this link might proove useful for you...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/66/6f040c5ce8214eaf48c92e691639ed/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/66/6f040c5ce8214eaf48c92e691639ed/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Rajasekhar Dinavahi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2005 13:53:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-develop-an-remote-enabled-function-module/m-p/1107509#M105218</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-29T13:53:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to develop an Remote Enabled Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-develop-an-remote-enabled-function-module/m-p/1107510#M105219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check out this documentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2005/helpdata/en/d1/801ee8454211d189710000e8322d00/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2005/helpdata/en/d1/801ee8454211d189710000e8322d00/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also,  DO NOT update those tables directly.  You must find a function module or BAPI to handle that.&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;Rich HEilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2005 13:55:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-develop-an-remote-enabled-function-module/m-p/1107510#M105219</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-11-29T13:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to develop an Remote Enabled Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-develop-an-remote-enabled-function-module/m-p/1107511#M105220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chandra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write Normal Function module and Go to attributes &lt;/P&gt;&lt;P&gt;in that there is an option to Make it RFC . check the check box. then it will be RFC enabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2005 14:21:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-develop-an-remote-enabled-function-module/m-p/1107511#M105220</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-29T14:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to develop an Remote Enabled Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-develop-an-remote-enabled-function-module/m-p/1107512#M105221</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;All ur replies were very useful. I will certainly reward points immediately after my issue is resolved.  The main problem is I don't have ABAP knowledge, thats why I want to know how to develop a function module which can write data into few fields of AFPO and JEST tables. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I can get any code samples with the similar functionality that would be a gr8 help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Chandrasekhar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2005 05:37:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-develop-an-remote-enabled-function-module/m-p/1107512#M105221</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-30T05:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to develop an Remote Enabled Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-develop-an-remote-enabled-function-module/m-p/1107513#M105222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you Give some idea of FM what it will do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2005 05:56:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-develop-an-remote-enabled-function-module/m-p/1107513#M105222</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-30T05:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to develop an Remote Enabled Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-develop-an-remote-enabled-function-module/m-p/1107514#M105223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The FM is to add values to the following fields in AFPO(Order Table) &lt;/P&gt;&lt;P&gt;  1. AUFNR  - Order Number&lt;/P&gt;&lt;P&gt;  2. MATNR  - Material Number Order&lt;/P&gt;&lt;P&gt;  3. WEMNG  - Quantity of goods received for the order item&lt;/P&gt;&lt;P&gt;  4. LTRMI  - Actual delivery/finish date &lt;/P&gt;&lt;P&gt;  5. MEINS  - Base Unit of Measure&lt;/P&gt;&lt;P&gt;  6. DWERK  - Plant&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and also to the STAT(Object Status) field in JEST(Individual Object Status) table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once this is FM is built and Remote Enabled, I'm going to call this FM from Java program using JCo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope, this gave the understanding of my requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Waiting for ur reply !!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2005 06:10:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-develop-an-remote-enabled-function-module/m-p/1107514#M105223</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-30T06:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to develop an Remote Enabled Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-develop-an-remote-enabled-function-module/m-p/1107515#M105224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chandra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it ok if you Don't maintain in header table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and what about the Item POSNR this is key field. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what exactly you will do, i mean modification, or new entries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2005 06:29:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-develop-an-remote-enabled-function-module/m-p/1107515#M105224</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-30T06:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to develop an Remote Enabled Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-develop-an-remote-enabled-function-module/m-p/1107516#M105225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please assume that the FM need to add records to EKPO(Purchasing Document Item) table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; The input to the FM will be the values to WERKS, MATNR and LEWED fields. If there is any other key fields also need to be inputted, assume that I will input them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will be a gr8 help if u can give the code snippet to the above. That will help me to build other FMs by myself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx for ur responces,&lt;/P&gt;&lt;P&gt;Chandrasekhar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2005 09:29:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-develop-an-remote-enabled-function-module/m-p/1107516#M105225</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-30T09:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to develop an Remote Enabled Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-develop-an-remote-enabled-function-module/m-p/1107517#M105226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chandrasekar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  See the sample code to do this. I am taking one test &lt;/P&gt;&lt;P&gt;  table in the same way you can do according to ur req.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  1) Goto SE37 and give some name and press create.&lt;/P&gt;&lt;P&gt;     It willa sk you to enter function group name if   &lt;/P&gt;&lt;P&gt;     you have already function grioup defined use that &lt;/P&gt;&lt;P&gt;     or lese in the menu Goto -&amp;gt; Function group -&amp;gt;Create &lt;/P&gt;&lt;P&gt;     group. Come back and use the same group here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; 2) In the attributes screen Seelct Radio button Remote &lt;/P&gt;&lt;P&gt;   enable func.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; 3) If you want to update multiple entries in the table&lt;/P&gt;&lt;P&gt;     go to tabe Tables and&lt;/P&gt;&lt;P&gt;    in that Parameter name - i_tab &lt;/P&gt;&lt;P&gt;            Type           - Like&lt;/P&gt;&lt;P&gt;            reference type - Your table name (MARA).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;  4) Now goto Source code tab and do the below.&lt;/P&gt;&lt;P&gt;     if not i_tab[] is initial.&lt;/P&gt;&lt;P&gt;        MODIFY MARA FROM TABLE I_tab.&lt;/P&gt;&lt;P&gt;     endif.&lt;/P&gt;&lt;P&gt;     Then save it and activate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; This is for you undersatnding and if they ask you to do some validations then do tehn befire updating.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Siri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2005 09:46:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-develop-an-remote-enabled-function-module/m-p/1107517#M105226</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-30T09:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to develop an Remote Enabled Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-develop-an-remote-enabled-function-module/m-p/1107518#M105227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;you shuld have import parameters like this
 i_aufnr tpye afpo-aufnr.
 i_posnr tpye afpo-posnr.
 i_matnr tpye afpo-matnr.
 i_wemng tpye afpo-wemng.
 i_ltrmi tpye afpo-ltrmi.
i_meins tpye afpo-meins.
i_dwerk tpye afpo-dwerk.
i_objnp tpye afpo-objnp.
i_stat type jest-stat.
in exceptions 
enter_key_data.

assume all the fields are mandatory.
types: begin of t_ekpo,
      aufnr like ekpo-aufnr,
      posnr like ekpo-posnr,
      matnr like ekpo-matnr,
      wemng like ekpo-wemng,
      ltrmi like ekpo-ltrmi,
      meins like ekpo-meins,
      dwerk like ekpo-dwerk,
      objnp like ekpo-objnp, "for Status update
      end of t_ekpo.
types: begin of t_jest,
       objnr like jest-objnr,
       stat  like jest-stat,
       end of t_jest
data: x_ekpo type t_ekpo,
      x_jest type t_jest.
**need to validate before sending it to EKPO.
if not i_aufnr is initial
     and not i_posnr is initial
     and not i_objnp is initial
     and not i_stat is initial.
   
X_ekpo-aufnr = i_aufnr.
X_ekpo-posnr = i_posnr.
X_ekpo-matnr = i_matnr.
X_ekpo-wemng = i_wemng.
X_ekpo-ltrmi = i_ltrmi.
X_ekpo-meins = i_meins.
X_ekpo-dwerk = i_dwerk.
x_ekpo-objnp = i_objnp.
modify EKPO from X_ekpo .
if sy-subrc = 0.
commit work.
endif.
x_jest-objnr = i_objnp.
x_jest-stat = i_stat.
modify JEst from X_jest .
if sy-subrc = 0.
commit work.
endif.
else.
raise exception enter_key_data.
endif.

please let me know if you need any validation on those.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Vijay Babu Dudla&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2005 10:10:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-develop-an-remote-enabled-function-module/m-p/1107518#M105227</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-30T10:10:21Z</dc:date>
    </item>
  </channel>
</rss>

