on 10-01-2008 9:46 AM
Hi Dear;
what is the sql code that get the Current Sap User Name and company (using query generator and nor SDK).
regards;
Use the following Query
SELECT T0.U_NAME FROM OUSR T0 WHERE T0.INTERNAL_K = $[User]
Note: This Query will not execute directly in Query Generator
Execution of Query:
Save this Query in 'Query Manager'.
Goto Tools -> Queries -> User Queries-> Navigate to this Query to Execute the query.
or
Assign this Query as FMS to some Fields.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you All
the Sentense is $[User]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dany,
You can retrive the name of the current user logged in SAP B1 using the string $[USER]
USE table OUSR and fields u_name,internal_k
BR
Samir Gandhi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you may use $[USER], but it only works in a document / formated serach.It doesn't work from the query manager.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.