<?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: Kindly review the RFC Function Module code....? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/kindly-review-the-rfc-function-module-code/m-p/2724847#M632327</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ho can i do it...i am new to this...can u help me with the code or provide steps to do it...&lt;/P&gt;&lt;P&gt;also can i declare tables in the RFC FM the way i have done....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers:&lt;/P&gt;&lt;P&gt;sam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Aug 2007 00:18:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-23T00:18:55Z</dc:date>
    <item>
      <title>Kindly review the RFC Function Module code....?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/kindly-review-the-rfc-function-module-code/m-p/2724843#M632323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;I have to write a RFC Function Module...I have written the code for that...please review it and tell me if this is fine...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES: ZTFICO_GL_ITY_MP......?can i use it like this...&lt;/P&gt;&lt;P&gt;DATA: B_RESULT TYPE c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT SINGLE * FROM ZTFICO_GL_ITY_MP WHERE ZZITY = BSEG-ZZITY&lt;/P&gt;&lt;P&gt;                                      AND HKONT = BSEG-HKONT&lt;/P&gt;&lt;P&gt;                                      AND END_DT &amp;gt; BKPF-BUDAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;  B_RESULT = B_FALSE.&lt;/P&gt;&lt;P&gt;  MESSAGE E033(ygrfxx) WITH BSEG-ZZITY BSEG-HKONT BKPF-BUDAT.&lt;/P&gt;&lt;P&gt;ENDIF.&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;P&gt;ENDFUNCTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please give suggestions...Points will be rewarded..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers: Sam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2007 00:06:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/kindly-review-the-rfc-function-module-code/m-p/2724843#M632323</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-23T00:06:16Z</dc:date>
    </item>
    <item>
      <title>Re: Kindly review the RFC Function Module code....?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/kindly-review-the-rfc-function-module-code/m-p/2724844#M632324</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;Basic rule donot use Error message inside the RFC&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, 23 Aug 2007 00:10:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/kindly-review-the-rfc-function-module-code/m-p/2724844#M632324</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2007-08-23T00:10:33Z</dc:date>
    </item>
    <item>
      <title>Re: Kindly review the RFC Function Module code....?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/kindly-review-the-rfc-function-module-code/m-p/2724845#M632325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply....then how can i do this....please suggest...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers:Sam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2007 00:12:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/kindly-review-the-rfc-function-module-code/m-p/2724845#M632325</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-23T00:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: Kindly review the RFC Function Module code....?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/kindly-review-the-rfc-function-module-code/m-p/2724846#M632326</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;use "raise exceptions"&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, 23 Aug 2007 00:13:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/kindly-review-the-rfc-function-module-code/m-p/2724846#M632326</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2007-08-23T00:13:45Z</dc:date>
    </item>
    <item>
      <title>Re: Kindly review the RFC Function Module code....?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/kindly-review-the-rfc-function-module-code/m-p/2724847#M632327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ho can i do it...i am new to this...can u help me with the code or provide steps to do it...&lt;/P&gt;&lt;P&gt;also can i declare tables in the RFC FM the way i have done....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers:&lt;/P&gt;&lt;P&gt;sam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2007 00:18:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/kindly-review-the-rfc-function-module-code/m-p/2724847#M632327</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-23T00:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: Kindly review the RFC Function Module code....?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/kindly-review-the-rfc-function-module-code/m-p/2724848#M632328</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;For Exceptions &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SE37--&amp;gt; after giving fm name &lt;DEL&gt;&amp;gt; change&lt;/DEL&gt;&amp;gt; choose exceptions tab--&amp;gt;enter  MATERIAL_NOT_FOUND then in description enter Material not found&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In code&lt;/P&gt;&lt;P&gt;instead of&lt;/P&gt;&lt;P&gt;MESSAGE E033(ygrfxx) WITH BSEG-ZZITY BSEG-HKONT BKPF-BUDAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;raise exception MATERIAL_NOT_FOUND&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to send the your message out then insert a RETURN table in the Tables Tab&lt;/P&gt;&lt;P&gt;and fill it with your message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tables declaration:--&amp;gt;&lt;/P&gt;&lt;P&gt;You can declare but in the TOP include of the main program.&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, 23 Aug 2007 00:27:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/kindly-review-the-rfc-function-module-code/m-p/2724848#M632328</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2007-08-23T00:27:01Z</dc:date>
    </item>
    <item>
      <title>Re: Kindly review the RFC Function Module code....?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/kindly-review-the-rfc-function-module-code/m-p/2724849#M632329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can i insert the return table and send messages out...can u provide some sample code....&lt;/P&gt;&lt;P&gt;Kindly help...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers: Sam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2007 15:58:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/kindly-review-the-rfc-function-module-code/m-p/2724849#M632329</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-23T15:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: Kindly review the RFC Function Module code....?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/kindly-review-the-rfc-function-module-code/m-p/2724850#M632330</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;Insert BAPIRET1 as RETURN table in function module Tables Tab&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  data : begin of bapireturn occurs 0.&lt;/P&gt;&lt;P&gt;         include structure bapiret1.&lt;/P&gt;&lt;P&gt;  data : end of bapireturn.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  clear bapireturn.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;process field return-type.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  bapireturn-type = type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;process field id, number&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  bapireturn-id = cl.&lt;/P&gt;&lt;P&gt;  bapireturn-number = number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;process message variables&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  bapireturn-message_v1 = par1.&lt;/P&gt;&lt;P&gt;  bapireturn-message_v2 = par2.&lt;/P&gt;&lt;P&gt;  bapireturn-message_v3 = par3.&lt;/P&gt;&lt;P&gt;  bapireturn-message_v4 = par4.&lt;/P&gt;&lt;P&gt;  append bapireturn.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please check fm APAR_EBPP_DELETE_BANK&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, 23 Aug 2007 16:10:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/kindly-review-the-rfc-function-module-code/m-p/2724850#M632330</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2007-08-23T16:10:15Z</dc:date>
    </item>
  </channel>
</rss>

