<?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: client specified in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/client-specified/m-p/2059805#M425568</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes , it effects the program...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When u use it , in select staement u can use mandt field in where clause..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DELETE [FROM] (&amp;lt;name&amp;gt;) [CLIENT SPECIFIED] &amp;lt;lines&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where the field &amp;lt;name&amp;gt; contains the name of a database table defined in the ABAP Dictionary. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the CLIENT SPECIFIED addition to disable automatic client handling.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It enables us to process data form &amp;lt;b&amp;gt;other than the current client&amp;lt;/b&amp;gt; also ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Normally in database for spfli table the data will be stored for all the clients..&lt;/P&gt;&lt;P&gt;But when u want to select data from database for spfli generally onli the data under the current client will be retrieved... But table in database contains data for all the cllients.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Try executing these codes u will come to know &amp;amp; compare the results..&lt;/P&gt;&lt;P&gt;800 is my current client...&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;*******************************************&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;data t_spfli type standard table of spfli with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select *&lt;/P&gt;&lt;P&gt;  from spfli client specified&lt;/P&gt;&lt;P&gt;  into table t_spfli&lt;/P&gt;&lt;P&gt; where mandt = '800'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at t_spfli.&lt;/P&gt;&lt;P&gt;write : / t_spfli-carrid, t_spfli-connid.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;*******************************************&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;data t_spfli type standard table of spfli with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select *&lt;/P&gt;&lt;P&gt;  from spfli &lt;/P&gt;&lt;P&gt;  into table t_spfli&lt;/P&gt;&lt;P&gt; where mandt = '800'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at t_spfli.&lt;/P&gt;&lt;P&gt;write : / t_spfli-carrid, t_spfli-connid.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;H&amp;lt;b&amp;gt;ere u will get an error... &amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;*******************************************&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;data t_spfli type standard table of spfli with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select *&lt;/P&gt;&lt;P&gt;  from spfli client specified&lt;/P&gt;&lt;P&gt;  into table t_spfli&lt;/P&gt;&lt;P&gt; where mandt ne '800'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at t_spfli.&lt;/P&gt;&lt;P&gt;write : / t_spfli-carrid, t_spfli-connid.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;reward if it helps u..&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;sai ramesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Mar 2007 05:47:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-12T05:47:10Z</dc:date>
    <item>
      <title>client specified</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/client-specified/m-p/2059804#M425567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;           wht is the use client specified in a select statement. If use this stmt. will it effect the program in Production.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;alson&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2007 05:44:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/client-specified/m-p/2059804#M425567</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-12T05:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: client specified</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/client-specified/m-p/2059805#M425568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes , it effects the program...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When u use it , in select staement u can use mandt field in where clause..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DELETE [FROM] (&amp;lt;name&amp;gt;) [CLIENT SPECIFIED] &amp;lt;lines&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where the field &amp;lt;name&amp;gt; contains the name of a database table defined in the ABAP Dictionary. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the CLIENT SPECIFIED addition to disable automatic client handling.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It enables us to process data form &amp;lt;b&amp;gt;other than the current client&amp;lt;/b&amp;gt; also ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Normally in database for spfli table the data will be stored for all the clients..&lt;/P&gt;&lt;P&gt;But when u want to select data from database for spfli generally onli the data under the current client will be retrieved... But table in database contains data for all the cllients.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Try executing these codes u will come to know &amp;amp; compare the results..&lt;/P&gt;&lt;P&gt;800 is my current client...&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;*******************************************&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;data t_spfli type standard table of spfli with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select *&lt;/P&gt;&lt;P&gt;  from spfli client specified&lt;/P&gt;&lt;P&gt;  into table t_spfli&lt;/P&gt;&lt;P&gt; where mandt = '800'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at t_spfli.&lt;/P&gt;&lt;P&gt;write : / t_spfli-carrid, t_spfli-connid.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;*******************************************&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;data t_spfli type standard table of spfli with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select *&lt;/P&gt;&lt;P&gt;  from spfli &lt;/P&gt;&lt;P&gt;  into table t_spfli&lt;/P&gt;&lt;P&gt; where mandt = '800'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at t_spfli.&lt;/P&gt;&lt;P&gt;write : / t_spfli-carrid, t_spfli-connid.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;H&amp;lt;b&amp;gt;ere u will get an error... &amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;*******************************************&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;data t_spfli type standard table of spfli with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select *&lt;/P&gt;&lt;P&gt;  from spfli client specified&lt;/P&gt;&lt;P&gt;  into table t_spfli&lt;/P&gt;&lt;P&gt; where mandt ne '800'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at t_spfli.&lt;/P&gt;&lt;P&gt;write : / t_spfli-carrid, t_spfli-connid.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;reward if it helps u..&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;sai ramesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2007 05:47:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/client-specified/m-p/2059805#M425568</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-12T05:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: client specified</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/client-specified/m-p/2059806#M425569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;alson,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Suppose you have logged in 400 client.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whenevr you write the select statements,you  will get the data related to 400 client based on your conditions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if you specify CLIENT SPECIFIED statement ,irrespect of  your login client you will get all clients data based on your conditions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----------" /&gt;&lt;P&gt;Pls. see the below ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As already mentioned, you can switch off the automatic client handling in Open SQL statements using a special addition. In the SELECT statement, the addition comes after the options in the FROM clause:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT... FROM &amp;lt;tables&amp;gt; CLIENT SPECIFIED. ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you use this addition, you can then address the client fields in the individual clauses of the SELECT statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls. reward if useful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2007 05:53:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/client-specified/m-p/2059806#M425569</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-12T05:53:16Z</dc:date>
    </item>
  </channel>
</rss>

