Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8894

Query criteria by User ID

$
0
0

I am using B1 9.0 for SAP HANA PL4. My case as follow : I have 2 whse and 2 user ID, User1 only can read all data from the query that have whse code WHSE-A and user 2 only for WHSE-B. How to make a query for ORDR table with a condition : If Login ID = User1 then the where condition is for Whse code = WHSE-A and If Login ID User2 then Whse code = WHSE-B.

 

So I have to capture current SAP Login ID from System then put it on the criteria ? any one can help ?

 

Thanks 


Viewing all articles
Browse latest Browse all 8894

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>