10-28-2013 12:07 PM
Hello,
If i use select query in ABAP on table USR02 in client(202), it displays results of only client 202(mandt).
But if the same query is run on OS level, the same table USR02 displays all the clients like 200, 201, 202 etc.
Let me know why these two queries behaving differently in ABAP and in OS level.
Regards,
Gururaj.
10-28-2013 12:09 PM
Hi Gururaj
One small question how do you run your query at OS level?
Thanks
Nabheet
10-28-2013 1:00 PM
ABAP query we write are open Query.
Which are client dependent.
At OS level tables are Native Query, client independent.
10-28-2013 1:12 PM
10-28-2013 1:21 PM
Hello Gururaj,
When you use a Select query using ABAP from SAP login, whether you mention MANDT or not in the select query, automatically at the select statement, if it is a client Dependent table, SAP adds up in the DB process to fetch only the data that is present for the login client.
When you are running a direct database command, let's say in Oracle Console for the same SAP tables, unless you specify explicitly the Client field, all records would be pulled from Oracle database for the table.
10-28-2013 2:16 PM
I suggest you do some reading on what "client" means in SAP terminology.
Thread locked.