<?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: make select to another mandt in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/make-select-to-another-mandt/m-p/5828799#M1316245</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;&lt;/P&gt;&lt;P&gt;It is not possible in SAP. Because any one can damage the production data.&lt;/P&gt;&lt;P&gt;Still if you want to fetch those data, I guess search for RFC function modules, using which providing all the Production server details etc.. it may fetch the data. I am not sure about which RFC or BAPI is responsible for the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nangunoori.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Jul 2009 14:19:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-07-07T14:19:37Z</dc:date>
    <item>
      <title>make select to another mandt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/make-select-to-another-mandt/m-p/5828798#M1316244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i in dev(DVP) and i want to make select to d.b table in prod(PRD)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i know in oracle i can doit, how i can make select from dev to prod.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from  mrara@PROD.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2009 13:54:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/make-select-to-another-mandt/m-p/5828798#M1316244</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-07T13:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: make select to another mandt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/make-select-to-another-mandt/m-p/5828799#M1316245</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;&lt;/P&gt;&lt;P&gt;It is not possible in SAP. Because any one can damage the production data.&lt;/P&gt;&lt;P&gt;Still if you want to fetch those data, I guess search for RFC function modules, using which providing all the Production server details etc.. it may fetch the data. I am not sure about which RFC or BAPI is responsible for the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nangunoori.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2009 14:19:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/make-select-to-another-mandt/m-p/5828799#M1316245</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-07T14:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: make select to another mandt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/make-select-to-another-mandt/m-p/5828800#M1316246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One option would be to try FM RFC_READ_TABLE using destination PRD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A search of the forum will find some more info re this FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Greg Kern&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2009 14:51:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/make-select-to-another-mandt/m-p/5828800#M1316246</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-07T14:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: make select to another mandt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/make-select-to-another-mandt/m-p/5828801#M1316247</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;&lt;/P&gt;&lt;P&gt;U have to use RFC only.Mention destination of production server.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2009 15:18:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/make-select-to-another-mandt/m-p/5828801#M1316247</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-07T15:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: make select to another mandt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/make-select-to-another-mandt/m-p/5828802#M1316248</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;The only way u could do such thing is if both your dev and prod were in the same &lt;STRONG&gt;system&lt;/STRONG&gt; (u can usually identify the system by those 3 letters - DVP, PRD, etc.) and different clients - then u could write "select * from mara &lt;STRONG&gt;client specified&lt;/STRONG&gt; where mandt = XXX(prod client No.) and.... ", but almost always the prod system is on a different system than the dev system (as in your case also - different systems: DVP and PRD) and usually it is also on a &lt;STRONG&gt;different server&lt;/STRONG&gt;, so this is not an option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now u have some options: u can write native sql and mention the destination db server - that would be more like Oracle that u mentioned, or u can stay completely in ABAP by using RFC function. For that i think it would be best if u use RFC_READ_TABLE that someone already mentioned, but u must use "call function RFC_READ_TABLE &lt;STRONG&gt;destination&lt;/STRONG&gt; #####" - find out what is the logical system defined in your landscape for the prod system and check if it has a configured RFC connection (tr. SM59, or consult your basis), and than u can get table lines from tables in prod system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the best&lt;/P&gt;&lt;P&gt;Igal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2009 16:55:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/make-select-to-another-mandt/m-p/5828802#M1316248</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-07T16:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: make select to another mandt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/make-select-to-another-mandt/m-p/5828803#M1316249</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;If the database in backend is oracle then you know how to query in oracle. So you can go for writing native sql in ABAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT demo_native_sql.

DATA: BEGIN OF wa,
        connid   TYPE spfli-connid,
        cityfrom TYPE spfli-cityfrom,
        cityto   TYPE spfli-cityto,
      END OF wa.

DATA c1 TYPE spfli-carrid VALUE 'LH'.

EXEC SQL PERFORMING loop_output.
  SELECT connid, cityfrom, cityto
  INTO   :wa
  FROM   spfli
  WHERE  carrid = :c1
ENDEXEC.

FORM loop_output.
  WRITE: / wa-connid, wa-cityfrom, wa-cityto.
ENDFORM.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps. But, take care of what you are doing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Anand Patil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2009 18:06:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/make-select-to-another-mandt/m-p/5828803#M1316249</guid>
      <dc:creator>former_member189420</dc:creator>
      <dc:date>2009-07-07T18:06:51Z</dc:date>
    </item>
  </channel>
</rss>

