<?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: fetch data.. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-data/m-p/2012877#M411044</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Yes it is possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to write WHERE condition 'MANDT = 200' in select query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sasmita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Mar 2007 11:54:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-14T11:54:24Z</dc:date>
    <item>
      <title>fetch data..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-data/m-p/2012873#M411040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to  fetch data from client 100 to client 200.?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and can we see the program i.e; created in client 100  from client 200.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2007 11:50:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-data/m-p/2012873#M411040</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-14T11:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: fetch data..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-data/m-p/2012874#M411041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sriram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is posssible using the RFC Concept.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just refer it once.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this resolves your query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward all the helpful answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2007 11:52:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-data/m-p/2012874#M411041</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-14T11:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: fetch data..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-data/m-p/2012875#M411042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If the clients 100 and 200  both are in the same boxmeans in the DEV system, yes you can see the program in other client, if you create in one client.&lt;/P&gt;&lt;P&gt;because programs are client independent.&lt;/P&gt;&lt;P&gt;You can't simply fetch data from one client to other client,&lt;/P&gt;&lt;P&gt;You can use ALE or RFC like things to get data from one client to other.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2007 11:53:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-data/m-p/2012875#M411042</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-14T11:53:57Z</dc:date>
    </item>
    <item>
      <title>Re: fetch data..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-data/m-p/2012876#M411043</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;Is it possible to fetch data from client 100 to client 200.? &amp;lt;b&amp;gt;YES&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and can we see the program i.e; created in client 100 from client 200. &amp;lt;b&amp;gt;PROGRAM ARE CLIENT INDEPENDENT&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**&lt;STRONG&gt;Please reward suitable points&lt;/STRONG&gt;***&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Navin Khedikar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2007 11:54:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-data/m-p/2012876#M411043</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-14T11:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: fetch data..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-data/m-p/2012877#M411044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Yes it is possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to write WHERE condition 'MANDT = 200' in select query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sasmita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2007 11:54:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-data/m-p/2012877#M411044</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-14T11:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: fetch data..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-data/m-p/2012878#M411045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you don't need to create a new function to do it, you can use the std fm RFC_READ_TABLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do it something like this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: T_OPTIONS LIKE STANDARD TABLE OF RFC_DB_OPT,
T_FIELDS LIKE STANDARD TABLE OF RFC_DB_FLD,
T_DATA LIKE STANDARD TABLE OF TAB512 WITH HEADER LINE.

DATA: WA TYPE REF TO DATA.

DATA: BEGIN OF MY_TABLES OCCURS 1,
TABNAME LIKE DD02L-TABNAME,
END OF MY_TABLES.


FIELD-SYMBOLS: &amp;lt;WA&amp;gt; TYPE ANY.



LOOP AT MY_TABLES.

CREATE DATA WA TYPE (MY_TABLES-TABNAME).
ASSIGN WA-&amp;gt;* TO &amp;lt;WA&amp;gt;.

CALL FUNCTION 'RFC_READ_TABLE' DESTINATION ....
EXPORTING
QUERY_TABLE = MY_TABLES-TABNAME
* DELIMITER = ' '
* NO_DATA = ' '
* ROWSKIPS = 0
* ROWCOUNT = 0
TABLES
OPTIONS = T_OPTIONS
FIELDS = T_FIELDS
DATA = T_DATA
* EXCEPTIONS
* TABLE_NOT_AVAILABLE = 1
* TABLE_WITHOUT_DATA = 2
* OPTION_NOT_VALID = 3
* FIELD_NOT_VALID = 4
* NOT_AUTHORIZED = 5
* DATA_BUFFER_EXCEEDED = 6
* OTHERS = 7
.
IF SY-SUBRC &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.

LOOP AT T_DATA.
MOVE T_DATA TO &amp;lt;WA&amp;gt;.
UPDATE (MY_TABLES-TABNAME) FROM &amp;lt;WA&amp;gt;.
ENDLOOP.


ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2007 11:54:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-data/m-p/2012878#M411045</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-14T11:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: fetch data..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-data/m-p/2012879#M411046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Programs are client independent, so you can view the programs in any client onthe system. But the data selected in the clients will be different as different clients have different data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Coming to the data  transfer, yes it can be done. There are many way to do it, like RFCs, ALE/IDOCs, etc...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2007 11:55:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-data/m-p/2012879#M411046</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-14T11:55:20Z</dc:date>
    </item>
  </channel>
</rss>

