Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Current Sap User Name

Hi Dear;

what is the sql code that get the Current Sap User Name and company (using query generator and nor SDK).

regards;

replied

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.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question