<?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: Function Module to Insert Source Code through RFC in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-insert-source-code-through-rfc/m-p/8243570#M1630374</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 Manu for the response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well 'RFC_ABAP_INSTALL_AND_RUN' function module is not working. The Program Name is Hard code named 'Z$$$XRFC' . Even if we pass the 'PROGRAMNAME' parameter it takes the hard code value. Is there any other RFC Function module to insert the source code ?&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;Sachin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Sep 2011 09:06:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-09-26T09:06:11Z</dc:date>
    <item>
      <title>Function Module to Insert Source Code through RFC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-insert-source-code-through-rfc/m-p/8243566#M1630370</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 a Requirement to Insert the Source code to Remote System. I know it is possible in local system with syntax &lt;STRONG&gt;'INSERT REPORT&lt;/STRONG&gt;' . But I want to insert source to Remote system . Is there any Function Module through which I can Insert Source through RFC ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sachin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Sep 2011 12:00:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-insert-source-code-through-rfc/m-p/8243566#M1630370</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-23T12:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module to Insert Source Code through RFC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-insert-source-code-through-rfc/m-p/8243567#M1630371</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 doubt it but you can create your own RFC...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oh..In fact perhaps the function RFC_ABAP_INSTALL_AND_RUN would do the trick... Found this a bit dangerous altough...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kr,&lt;/P&gt;&lt;P&gt;m.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Manu D'Haeyer on Sep 23, 2011 2:44 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Sep 2011 12:37:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-insert-source-code-through-rfc/m-p/8243567#M1630371</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-23T12:37:31Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module to Insert Source Code through RFC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-insert-source-code-through-rfc/m-p/8243568#M1630372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2011 05:30:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-insert-source-code-through-rfc/m-p/8243568#M1630372</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-26T05:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module to Insert Source Code through RFC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-insert-source-code-through-rfc/m-p/8243569#M1630373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What are you &lt;EM&gt;actually&lt;/EM&gt; trying to achieve? What is the business problem you are solving? Because what you are proposing is incredibly dangerous. Knowledge of the RFC user used in the connection would allow &lt;STRONG&gt;anyone&lt;/STRONG&gt; to run &lt;STRONG&gt;anything&lt;/STRONG&gt; on your system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While I'm at it, anyone reading this message, check if you have a function group ZAW0 installed. If you do, raise a message with SAP asking how this should be secured...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(It's supplied with SAP BO Data services, in the Z space, and, if not carefully handled is very insecure).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Matt on Sep 26, 2011 9:22 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2011 07:22:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-insert-source-code-through-rfc/m-p/8243569#M1630373</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2011-09-26T07:22:11Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module to Insert Source Code through RFC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-insert-source-code-through-rfc/m-p/8243570#M1630374</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 Manu for the response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well 'RFC_ABAP_INSTALL_AND_RUN' function module is not working. The Program Name is Hard code named 'Z$$$XRFC' . Even if we pass the 'PROGRAMNAME' parameter it takes the hard code value. Is there any other RFC Function module to insert the source code ?&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;Sachin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2011 09:06:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-insert-source-code-through-rfc/m-p/8243570#M1630374</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-26T09:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module to Insert Source Code through RFC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-insert-source-code-through-rfc/m-p/8243571#M1630375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Despite Mat's warning you still want to proceed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you had a look at the BAPI you would have noticed that the program to be inserted only lasts until it has been executed (and then it's deleted). With that in mind: who cares of the program name is hardcoded Z$$$XRFC, ZRUINYOURSYS or ZLOOSEYOURJOB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since you insist on having a fixed name, i can only imagine the program you wish to inject is not a temporary one. In which case i wonder why creating and transporting a program the normal way is not sufficient.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;...function module is not working.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; Trust me it works. It only doesn't work like you want it to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Maen Anachronos on Sep 26, 2011 11:17 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2011 09:16:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-insert-source-code-through-rfc/m-p/8243571#M1630375</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-26T09:16:41Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module to Insert Source Code through RFC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-insert-source-code-through-rfc/m-p/8243572#M1630376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Despite Mat's warning you still want to proceed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;There's no teaching some people. If the client wants there system wide open to abuse, that's up to them. What will they do if someone uses the function module to send a program that does something like this?&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DELETE t000 WHERE mandt NE space&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, here's some more rope, and further demonstration of the huge risk.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You want to create a program dynamically, with a name of your choosing. Simple, send the FM the source code of a program that generates the program you want, with the fixed name. I suggest SAPMSYST as a really good one to play with.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2011 10:31:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-insert-source-code-through-rfc/m-p/8243572#M1630376</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2011-09-26T10:31:41Z</dc:date>
    </item>
  </channel>
</rss>

