<?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: JOIN clause in RFC_READ_TABLE? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/join-clause-in-rfc-read-table/m-p/866761#M49134</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My SAP admin guys would have a heart attack if I even suggested touching the database layer under SAP directly, yet we have a 3rd party reporting tool that runs RFC_ABAP_INSTALL_AND_RUN every day. I guess it is a difference in corporate culture.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The FM RFC_ABAP_INSTALL_AND_RUN has a very restrictive series of AUTHORITY-CHECKs built into it. From a security standpoint, anyone who can get far enough to run this FM can do almost anything to your system anyway, so I'm not sure why there is such resistance to it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Apr 2005 00:07:45 GMT</pubDate>
    <dc:creator>juan_suros</dc:creator>
    <dc:date>2005-04-26T00:07:45Z</dc:date>
    <item>
      <title>JOIN clause in RFC_READ_TABLE?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/join-clause-in-rfc-read-table/m-p/866754#M49127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Can I use 'RFC_READ_TABLE' to read the contents of a Database View on a remote system?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  I don't want to have to issue multiple 'RFC_READ_TABLE' commands in my program. If I am able to create a view on the source system then can I query its contents using this FM like I can of a normal database table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Also, does 'RFC_READ_TABLE' support the JOIN clause? If I am unable to access the contents of the view on the remote system, then can I atleast construct a statement with the JOIN clause which I can execute through this FM?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;- Vik.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Apr 2005 15:17:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/join-clause-in-rfc-read-table/m-p/866754#M49127</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-21T15:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: JOIN clause in RFC_READ_TABLE?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/join-clause-in-rfc-read-table/m-p/866755#M49128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use it to access a view (just tested it, no problems).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think that the parameters really support the JOIN clause though.  Think it would be simpler to access a view.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Brad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Apr 2005 15:22:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/join-clause-in-rfc-read-table/m-p/866755#M49128</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-21T15:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: JOIN clause in RFC_READ_TABLE?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/join-clause-in-rfc-read-table/m-p/866756#M49129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you really need to limit yourself to one RFC call to get your data, you might consider an approach built around FM RFC_ABAP_INSTALL_AND_RUN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write a short ABAP program that uses WRITE to export your desired results as a standard list to screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Send the lines of this program to RFC_ABAP_INSTALL_AND_RUN in the PROGRAM table and the code will execute and return screen results as the lines of table WRITES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will allow arbitrary SQL and ABAP manipulation of data before it is returned to your calling process. Many third party data extraction applications are built around this function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Apr 2005 16:54:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/join-clause-in-rfc-read-table/m-p/866756#M49129</guid>
      <dc:creator>juan_suros</dc:creator>
      <dc:date>2005-04-21T16:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: JOIN clause in RFC_READ_TABLE?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/join-clause-in-rfc-read-table/m-p/866757#M49130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, but in my opionion  fm rfc_abap_install_and_run should not be accessible in a productive environment via rfc. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Apr 2005 19:11:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/join-clause-in-rfc-read-table/m-p/866757#M49130</guid>
      <dc:creator>ChristianFi</dc:creator>
      <dc:date>2005-04-21T19:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: JOIN clause in RFC_READ_TABLE?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/join-clause-in-rfc-read-table/m-p/866758#M49131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree with Christian.&lt;/P&gt;&lt;P&gt;The Basis administrator at the customer site that I spoke with feels very uncomfortable with me doing anything with RFC_ABAP_INSTALL_AND_RUN.&lt;/P&gt;&lt;P&gt;He would consider my setting database level triggers and execute program logic at the lowest level but he will not even consider enabling RFC_ABAP_INSTALL_AND_RUN.&lt;/P&gt;&lt;P&gt;In a productive environment, RFC_ABAP_INSTALL_AND_RUN can open a can of worms.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Apr 2005 19:51:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/join-clause-in-rfc-read-table/m-p/866758#M49131</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-21T19:51:04Z</dc:date>
    </item>
    <item>
      <title>Re: JOIN clause in RFC_READ_TABLE?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/join-clause-in-rfc-read-table/m-p/866759#M49132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why do you want to create a view and then use RFC_READ_TABLE?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why can't you create a RFC of your own with all the table accesses and necessary logic to pull them? This way you will have better control over the selection and restrictions over the data. Also, tomorrow if there is a need for more tables to be added, you can easily change your custom RFC, rather than trying to change the view.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another thing to remember is depending on the number of tables and the join conditions, your view definition may become very complex and also may result in a performance issue. Whereas with your custom RFC, you can take control of the performance issues with several options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Apr 2005 20:51:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/join-clause-in-rfc-read-table/m-p/866759#M49132</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-21T20:51:40Z</dc:date>
    </item>
    <item>
      <title>Re: JOIN clause in RFC_READ_TABLE?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/join-clause-in-rfc-read-table/m-p/866760#M49133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Vik,&lt;/P&gt;&lt;P&gt;the Fuba Rfc_Read_Table is intended for demo and not for productive use. If possible stay away from using it and use a aribtrary Fuba which is dedicated for your problem. &lt;/P&gt;&lt;P&gt;If your requirements are satisfied by using some handmade view it doesent really sound like dynamic programming, which is the only reason to use a mechanism like this Fuba.&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Klaus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Apr 2005 04:36:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/join-clause-in-rfc-read-table/m-p/866760#M49133</guid>
      <dc:creator>former_member183804</dc:creator>
      <dc:date>2005-04-22T04:36:26Z</dc:date>
    </item>
    <item>
      <title>Re: JOIN clause in RFC_READ_TABLE?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/join-clause-in-rfc-read-table/m-p/866761#M49134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My SAP admin guys would have a heart attack if I even suggested touching the database layer under SAP directly, yet we have a 3rd party reporting tool that runs RFC_ABAP_INSTALL_AND_RUN every day. I guess it is a difference in corporate culture.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The FM RFC_ABAP_INSTALL_AND_RUN has a very restrictive series of AUTHORITY-CHECKs built into it. From a security standpoint, anyone who can get far enough to run this FM can do almost anything to your system anyway, so I'm not sure why there is such resistance to it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2005 00:07:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/join-clause-in-rfc-read-table/m-p/866761#M49134</guid>
      <dc:creator>juan_suros</dc:creator>
      <dc:date>2005-04-26T00:07:45Z</dc:date>
    </item>
  </channel>
</rss>

