Current Sap User Name
what is the sql code that get the Current Sap User Name and company (using query generator and nor SDK).
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.
Assign this Query as FMS to some Fields.