<?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: EXEC SQL - GET DATABASE STRUCTURE - RECREATE IN SAP in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/exec-sql-get-database-structure-recreate-in-sap/m-p/1707158#M309635</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You will have to write a stored procedure in Oracle or SQL-Server  in which you will fetch the structure .Now using native SQL commands (EXEC SQL) you can call the stored procedure in ABAP by passing the parameters if only.Refer the help on EXEC SQL for calling stored procedures.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Nov 2006 12:02:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-24T12:02:53Z</dc:date>
    <item>
      <title>EXEC SQL - GET DATABASE STRUCTURE - RECREATE IN SAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exec-sql-get-database-structure-recreate-in-sap/m-p/1707157#M309634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Our system is connected to PS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;II'd like to write a program that does the following&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;get the structure of the database&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;create the structure in SAP&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;SELECT THE DATA OF THE TABLE&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This would be done in order to maintain the structure manually&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is to get the structure from external database (exec sql)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2006 10:58:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exec-sql-get-database-structure-recreate-in-sap/m-p/1707157#M309634</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-24T10:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: EXEC SQL - GET DATABASE STRUCTURE - RECREATE IN SAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exec-sql-get-database-structure-recreate-in-sap/m-p/1707158#M309635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You will have to write a stored procedure in Oracle or SQL-Server  in which you will fetch the structure .Now using native SQL commands (EXEC SQL) you can call the stored procedure in ABAP by passing the parameters if only.Refer the help on EXEC SQL for calling stored procedures.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2006 12:02:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exec-sql-get-database-structure-recreate-in-sap/m-p/1707158#M309635</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-24T12:02:53Z</dc:date>
    </item>
    <item>
      <title>Re: EXEC SQL - GET DATABASE STRUCTURE - RECREATE IN SAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exec-sql-get-database-structure-recreate-in-sap/m-p/1707159#M309636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi stephan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. In oracle , there is one standard view&lt;/P&gt;&lt;P&gt;   eg. V_ALL_TAB_FIELDS&lt;/P&gt;&lt;P&gt;   in which we pass the table name,&lt;/P&gt;&lt;P&gt;  and it returns, the records,&lt;/P&gt;&lt;P&gt;  for the fieldnames, field type, its length, its sequence number etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Similarly u may discover for PS also.&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, 24 Nov 2006 12:34:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exec-sql-get-database-structure-recreate-in-sap/m-p/1707159#M309636</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-24T12:34:19Z</dc:date>
    </item>
  </channel>
</rss>

