<?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: Transfer values of ABAP Variable to PL/SQL code block in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/transfer-values-of-abap-variable-to-pl-sql-code-block/m-p/476864#M15511</link>
    <description>&lt;P&gt;I propose to use ADBC instead of EXEC SQL, &lt;A href="https://help.sap.com/http.svc/rc/abapdocu_751_index_htm/7.51/en-US/index.htm?file=abenadbc_procedure_abexa.htm"&gt;see example&lt;/A&gt;.&lt;/P&gt;
  &lt;P&gt;(same &lt;A href="https://help.sap.com/http.svc/rc/abapdocu_751_index_htm/7.51/en-US/index.htm?file=abapexec_procedure.htm"&gt;example&lt;/A&gt; for EXEC SQL)&lt;/P&gt;</description>
    <pubDate>Fri, 28 Jul 2017 11:30:09 GMT</pubDate>
    <dc:creator>retired_member</dc:creator>
    <dc:date>2017-07-28T11:30:09Z</dc:date>
    <item>
      <title>Transfer values of ABAP Variable to PL/SQL code block</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/transfer-values-of-abap-variable-to-pl-sql-code-block/m-p/476863#M15510</link>
      <description>&lt;P&gt;Dears,&lt;/P&gt;
  &lt;P&gt;I am going to call a stored function in Oracle DB from SAP R/3 using ABAP, I want to use the below PL/SQL statement, what I need is to assign a value to TicketInfo from ABAP global variable, and to transfer the result apex_reply to ABAP global variable, would you please assist me how could I achive this,&lt;/P&gt; 
  &lt;PRE&gt;&lt;CODE&gt;EXEC SQL.
DECLARE
        TicketInfo CLOB;
        deq_key NUMBER(5);
        apex_reply CLOB;
        err_str NUMBER;
        err_msg VARCHAR2(2000);


    BEGIN
    
    TicketInfo := 'request xml  here';
      deq_key :=  APEX_CLI.ENQUEUE_PRORATION_REQUEST (  'APEX_CLI.APEX_CLI_Q', 1, TicketInfo, 1, 86400, 0 );
      
        IF(deq_key &amp;gt; 0 ) THEN
        err_str := APEX_CLI.dequeue_proration_request('APEX_CLI.APEX_CLI_Q', deq_key, apex_reply, err_msg, 240 );
   		END IF;          
   END;
 ENDEXEC.
&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2017 11:09:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/transfer-values-of-abap-variable-to-pl-sql-code-block/m-p/476863#M15510</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-07-28T11:09:46Z</dc:date>
    </item>
    <item>
      <title>Re: Transfer values of ABAP Variable to PL/SQL code block</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/transfer-values-of-abap-variable-to-pl-sql-code-block/m-p/476864#M15511</link>
      <description>&lt;P&gt;I propose to use ADBC instead of EXEC SQL, &lt;A href="https://help.sap.com/http.svc/rc/abapdocu_751_index_htm/7.51/en-US/index.htm?file=abenadbc_procedure_abexa.htm"&gt;see example&lt;/A&gt;.&lt;/P&gt;
  &lt;P&gt;(same &lt;A href="https://help.sap.com/http.svc/rc/abapdocu_751_index_htm/7.51/en-US/index.htm?file=abapexec_procedure.htm"&gt;example&lt;/A&gt; for EXEC SQL)&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2017 11:30:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/transfer-values-of-abap-variable-to-pl-sql-code-block/m-p/476864#M15511</guid>
      <dc:creator>retired_member</dc:creator>
      <dc:date>2017-07-28T11:30:09Z</dc:date>
    </item>
  </channel>
</rss>

