<?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: INTENSION IS TO GIVE SQL QUERY STRING AS INPUT TO THE CUSTOM FUNCTION MODULE AND IT RETURN THE DATA in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/intension-is-to-give-sql-query-string-as-input-to-the-custom-function/m-p/12768356#M2022886</link>
    <description>&lt;P&gt;What you are asking is rather complex because you must consider CL_ABAP_DYN_PRG to detect SQL injection attacks. So, you should parse the SQL query to split it in pieces, but then your code might contain vulnerabilities, and consequently I'd advise to not pass a SQL query directly, but a list of structured tokens which are used to build the SQL query and on which you can easily apply CL_ABAP_DYN_PRG.&lt;/P&gt;</description>
    <pubDate>Sun, 04 Jun 2023 08:09:53 GMT</pubDate>
    <dc:creator>Sandra_Rossi</dc:creator>
    <dc:date>2023-06-04T08:09:53Z</dc:date>
    <item>
      <title>INTENSION IS TO GIVE SQL QUERY STRING AS INPUT TO THE CUSTOM FUNCTION MODULE AND IT RETURN THE DATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/intension-is-to-give-sql-query-string-as-input-to-the-custom-function/m-p/12768353#M2022883</link>
      <description>&lt;P&gt;Hi Expert,&lt;/P&gt;
  &lt;P&gt;I am trying to create a FM like /SAPDC/RFC_READ_TABLE2 In this table tab we put SQL query in option parameter.&lt;/P&gt;
  &lt;P&gt;SQL query is in combination of join two or more tables.&lt;/P&gt;
  &lt;P&gt;Once we pass SQL query which should return data of that tables.&lt;/P&gt;
  &lt;P&gt;Any one have similar code. please share.&lt;/P&gt;
  &lt;P&gt;Thank you,&lt;/P&gt;
  &lt;P&gt;Sumit &lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2023 14:04:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/intension-is-to-give-sql-query-string-as-input-to-the-custom-function/m-p/12768353#M2022883</guid>
      <dc:creator>sumit2929</dc:creator>
      <dc:date>2023-06-02T14:04:59Z</dc:date>
    </item>
    <item>
      <title>Re: INTENSION IS TO GIVE SQL QUERY STRING AS INPUT TO THE CUSTOM FUNCTION MODULE AND IT RETURN THE DATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/intension-is-to-give-sql-query-string-as-input-to-the-custom-function/m-p/12768354#M2022884</link>
      <description>&lt;P&gt;How do you &lt;A href="https://help.sap.com/docs/search?q=Prevention%20of%20SQL%20Injection"&gt;handle security check&lt;/A&gt;?&lt;/P&gt;&lt;P&gt;Once this has been established with the administrator and security manager...&lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;For the dynamic select, look in online help (or your system) for  this sample: &lt;A href="https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/index.htm?file=abendynamic_sql_abexa.htm#@@ITOC@@ABENDYNAMIC_SQL_ABEXA_1"&gt;demo_dynamic_sql&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;For the format of data exchange, consider xml&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Fri, 02 Jun 2023 14:23:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/intension-is-to-give-sql-query-string-as-input-to-the-custom-function/m-p/12768354#M2022884</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2023-06-02T14:23:07Z</dc:date>
    </item>
    <item>
      <title>Re: INTENSION IS TO GIVE SQL QUERY STRING AS INPUT TO THE CUSTOM FUNCTION MODULE AND IT RETURN THE DATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/intension-is-to-give-sql-query-string-as-input-to-the-custom-function/m-p/12768355#M2022885</link>
      <description>&lt;P&gt; &lt;SPAN class="mention-scrubbed"&gt;sumit2929&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Please be sure to use lower case letters in the title.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Moshe&lt;/P&gt;</description>
      <pubDate>Sun, 04 Jun 2023 06:11:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/intension-is-to-give-sql-query-string-as-input-to-the-custom-function/m-p/12768355#M2022885</guid>
      <dc:creator>moshenaveh</dc:creator>
      <dc:date>2023-06-04T06:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: INTENSION IS TO GIVE SQL QUERY STRING AS INPUT TO THE CUSTOM FUNCTION MODULE AND IT RETURN THE DATA</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/intension-is-to-give-sql-query-string-as-input-to-the-custom-function/m-p/12768356#M2022886</link>
      <description>&lt;P&gt;What you are asking is rather complex because you must consider CL_ABAP_DYN_PRG to detect SQL injection attacks. So, you should parse the SQL query to split it in pieces, but then your code might contain vulnerabilities, and consequently I'd advise to not pass a SQL query directly, but a list of structured tokens which are used to build the SQL query and on which you can easily apply CL_ABAP_DYN_PRG.&lt;/P&gt;</description>
      <pubDate>Sun, 04 Jun 2023 08:09:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/intension-is-to-give-sql-query-string-as-input-to-the-custom-function/m-p/12768356#M2022886</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2023-06-04T08:09:53Z</dc:date>
    </item>
  </channel>
</rss>

