<?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: Need to start a program in Oracle System (External) from sap program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-to-start-a-program-in-oracle-system-external-from-sap-program/m-p/1153264#M118086</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;    Call to oracle in SAP can be done using&lt;/P&gt;&lt;P&gt;    EXEC QQL &lt;/P&gt;&lt;P&gt;    ENDEXEC &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Try below link.&lt;/P&gt;&lt;P&gt;  mk:@SAPHTML://Gz1efb3J0Wi20000dYCIRG/HTML000001.htm&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;Amole&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Jan 2006 10:27:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-01-20T10:27:35Z</dc:date>
    <item>
      <title>Need to start a program in Oracle System (External) from sap program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-to-start-a-program-in-oracle-system-external-from-sap-program/m-p/1153263#M118085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     I need to start a program in another oracle based system from sap program by writing native sql statements.&lt;/P&gt;&lt;P&gt;Does anyone have idea how to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2006 09:49:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-to-start-a-program-in-oracle-system-external-from-sap-program/m-p/1153263#M118085</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-20T09:49:05Z</dc:date>
    </item>
    <item>
      <title>Re: Need to start a program in Oracle System (External) from sap program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-to-start-a-program-in-oracle-system-external-from-sap-program/m-p/1153264#M118086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;    Call to oracle in SAP can be done using&lt;/P&gt;&lt;P&gt;    EXEC QQL &lt;/P&gt;&lt;P&gt;    ENDEXEC &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Try below link.&lt;/P&gt;&lt;P&gt;  mk:@SAPHTML://Gz1efb3J0Wi20000dYCIRG/HTML000001.htm&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;Amole&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2006 10:27:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-to-start-a-program-in-oracle-system-external-from-sap-program/m-p/1153264#M118086</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-20T10:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: Need to start a program in Oracle System (External) from sap program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-to-start-a-program-in-oracle-system-external-from-sap-program/m-p/1153265#M118087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;   Please try this link&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt; &lt;A href="http://www.sapdb.org/7.4/htmhelp/7b/0bdea252d746429420007a69bd06c7/content.htm" target="test_blank"&gt;http://www.sapdb.org/7.4/htmhelp/7b/0bdea252d746429420007a69bd06c7/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Amole&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2006 10:31:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-to-start-a-program-in-oracle-system-external-from-sap-program/m-p/1153265#M118087</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-20T10:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: Need to start a program in Oracle System (External) from sap program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-to-start-a-program-in-oracle-system-external-from-sap-program/m-p/1153266#M118088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi amol,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. The link cannot be opened??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mk:@SAPHTML://Gz1efb3J0Wi20000dYCIRG/HTML000001.htm&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2006 10:36:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-to-start-a-program-in-oracle-system-external-from-sap-program/m-p/1153266#M118088</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-20T10:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: Need to start a program in Oracle System (External) from sap program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-to-start-a-program-in-oracle-system-external-from-sap-program/m-p/1153267#M118089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. DB Link&lt;/P&gt;&lt;P&gt;with the help of basis team,&lt;/P&gt;&lt;P&gt;if some db link is created in R/3 database,&lt;/P&gt;&lt;P&gt;then something can be done.&lt;/P&gt;&lt;P&gt;using @dblinkname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. eg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report abc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;exec sql.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BEGIN&lt;/P&gt;&lt;P&gt;MYPROC@mydblink('2102');&lt;/P&gt;&lt;P&gt;COMMIT;&lt;/P&gt;&lt;P&gt;END;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endexec.&lt;/P&gt;&lt;P&gt;&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;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2006 10:40:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-to-start-a-program-in-oracle-system-external-from-sap-program/m-p/1153267#M118089</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-20T10:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: Need to start a program in Oracle System (External) from sap program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-to-start-a-program-in-oracle-system-external-from-sap-program/m-p/1153268#M118090</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;Kindly reward points by clicking the star on the left of reply,if it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code Sample for creating table and inserting values&lt;/P&gt;&lt;P&gt;REPORT zzz_jaytest.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Creating a table. No need of giving semicolon or colon for each statement.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;exec sql.&lt;/P&gt;&lt;P&gt;create table stu_det ( regno char(10) primary key,&lt;/P&gt;&lt;P&gt;                       name char(20) not null,&lt;/P&gt;&lt;P&gt;                       total number(3) )&lt;/P&gt;&lt;P&gt;endexec.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Inserting first record&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;exec sql.&lt;/P&gt;&lt;P&gt;insert into stu_det values ('R1000', 'Ganesh', 500)&lt;/P&gt;&lt;P&gt;endexec.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Inserting Second record&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;exec sql.&lt;/P&gt;&lt;P&gt;insert into stu_det values ('R1001', 'Murugan', 480)&lt;/P&gt;&lt;P&gt;endexec.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2006 10:44:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-to-start-a-program-in-oracle-system-external-from-sap-program/m-p/1153268#M118090</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2006-01-20T10:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: Need to start a program in Oracle System (External) from sap program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-to-start-a-program-in-oracle-system-external-from-sap-program/m-p/1153269#M118091</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;Here is another sample for procedures.Kindly reward points by clicking the star on the left of reply,if it is useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Code Sample for writing a procedure with input and output parameters
REPORT zzz_jaytest.

* Getting the regno and total as input parameters
PARAMETERS : p_regno(10) TYPE c DEFAULT 'R1000',
                           p_total     TYPE i.

data : v_total type i.

* In this procedure, we are updating the total of a regno given as input.
* Here two parameters used in the procedure are input parameters.
* We are updating the record of regno entered in selection screen and
* adding the total entered to the already existing total. We have to give semicolon 
* for the statement inside procedure.


exec sql.
CREATE or replace PROCEDURE PROC1 ( p_regno in char, p_total in number )
IS
    BEGIN
      UPDATE stu_det SET total = total + p_total where regno = p_regno;
    END;
endexec.

* This is the code to execute the procedure for update.
* While executing the procedure, the parameter variable should be
* preceded with colon  :

EXEC SQL.
  EXECUTE PROCEDURE PROC1 ( in :p_regno, in :p_total )
ENDEXEC.

* In this procedure, we are selecting the details for the regno entered
* as input. Here p_regno is input parameter and v_total is used as output
* parameter. So that we can use the retrieved value of v_total in our
* ABAP program

exec sql.
CREATE or replace PROCEDURE PROC2 (p_regno in char, v_total out char)
IS
    BEGIN
      select total into v_total from stu_det
                         where regno = p_regno;
    END;
endexec.

* This is the code to execute second procedure.
EXEC SQL.
  EXECUTE PROCEDURE PROC2 ( in :p_regno, out :v_total )
ENDEXEC.

write : / 'Total of ', p_regno, ' is ', v_total.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2006 10:46:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-to-start-a-program-in-oracle-system-external-from-sap-program/m-p/1153269#M118091</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2006-01-20T10:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: Need to start a program in Oracle System (External) from sap program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-to-start-a-program-in-oracle-system-external-from-sap-program/m-p/1153270#M118092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for all your replies. I will definitely reward the points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you pls help me out to get from SAP to external oracle system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have followed the following steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. In DBCO transaction i have entered the logical name of db, userid and password on oracle system and connect info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this enough to get connected to external Oracle system??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have port number and host name of external Oracle system. Where should i give these values to get connection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2006 11:56:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-to-start-a-program-in-oracle-system-external-from-sap-program/m-p/1153270#M118092</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-20T11:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: Need to start a program in Oracle System (External) from sap program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-to-start-a-program-in-oracle-system-external-from-sap-program/m-p/1153271#M118093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Basis Team&lt;/P&gt;&lt;P&gt;   Their help is a must.&lt;/P&gt;&lt;P&gt;    They will do something on the server&lt;/P&gt;&lt;P&gt;  (for this extra connection)&lt;/P&gt;&lt;P&gt;  (apart from table entry)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. They will make the connection string&lt;/P&gt;&lt;P&gt;   on the server so that &lt;/P&gt;&lt;P&gt;  the SERVER can connect to the external oracle system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  (in that they will specify the port number and host name)&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;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2006 12:43:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-to-start-a-program-in-oracle-system-external-from-sap-program/m-p/1153271#M118093</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-20T12:43:36Z</dc:date>
    </item>
  </channel>
</rss>

