<?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 Connect PostgreSql in ABAP Program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/connect-postgresql-in-abap-program/m-p/7911443#M1597747</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement, there is an external software with postgresql DB. I want to fetch some data from this postgre DB to in ABAP program. How can i connect this DB in my ABAP program. Please help .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jitendra Singh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Jun 2011 06:09:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-06-09T06:09:58Z</dc:date>
    <item>
      <title>Connect PostgreSql in ABAP Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/connect-postgresql-in-abap-program/m-p/7911443#M1597747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement, there is an external software with postgresql DB. I want to fetch some data from this postgre DB to in ABAP program. How can i connect this DB in my ABAP program. Please help .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jitendra Singh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2011 06:09:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/connect-postgresql-in-abap-program/m-p/7911443#M1597747</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-09T06:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: Connect PostgreSql in ABAP Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/connect-postgresql-in-abap-program/m-p/7911444#M1597748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jitendra;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know 2 way connect to nonSAP DB.&lt;/P&gt;&lt;P&gt;First : You prepare program at VS .net and use NCO 3.0 (last version)&lt;/P&gt;&lt;P&gt;Please read below link: &lt;/P&gt;&lt;P&gt;/people/thomas.weiss/blog/2011/01/14/a-spotlight-on-the-new-net-connector-30&lt;/P&gt;&lt;P&gt;Second : Native sql method. Other DB admin give you access permision to DB. And You or other expert prepare view or select or stored procedure at other DB. You call "view or select or stored procedure" from SAP with ABAP native SQL commands.&lt;/P&gt;&lt;P&gt;I used 2 years Native SQL method between SAP and 3.Party Programs DB(Oracle).&lt;/P&gt;&lt;P&gt;It's very healthy method.&lt;/P&gt;&lt;P&gt;Please read below link: &lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/EN/fc/eb3b8b358411d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/EN/fc/eb3b8b358411d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Melih MUTLU on Jun 9, 2011 9:43 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Melih MUTLU on Jun 9, 2011 9:51 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2011 06:42:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/connect-postgresql-in-abap-program/m-p/7911444#M1597748</guid>
      <dc:creator>former_member212713</dc:creator>
      <dc:date>2011-06-09T06:42:42Z</dc:date>
    </item>
    <item>
      <title>Re: Connect PostgreSql in ABAP Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/connect-postgresql-in-abap-program/m-p/7911445#M1597749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mutlu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks to reply.&lt;/P&gt;&lt;P&gt;Actualy I have a database connection in DBCON&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Connc Name                 String&lt;/P&gt;&lt;P&gt;POSTGRE   =  MSSQL_SERVER=172.16.0.30,5432 MSSQL_DBNAME=sms_5.0 OBJECT_SOURCE=sms_5.0&lt;/P&gt;&lt;P&gt;with userid &amp;amp; passard .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my ABAP program I am using this code .&lt;/P&gt;&lt;P&gt;exec sql.&lt;/P&gt;&lt;P&gt;    connect to 'POSTGRE'&lt;/P&gt;&lt;P&gt;  endexec.&lt;/P&gt;&lt;P&gt;  if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    message 'unable to connect' type 'E' .&lt;/P&gt;&lt;P&gt;    return.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this PostgreSql DB not connecting . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have another extenal DB in MSSQL this is connecting by using same way.&lt;/P&gt;&lt;P&gt;Please help me out. What I need to do to connect Postgre DB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jitendra Singh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2011 07:30:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/connect-postgresql-in-abap-program/m-p/7911445#M1597749</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-09T07:30:53Z</dc:date>
    </item>
  </channel>
</rss>

