Enterprise Resource Planning Blogs by Members
Gain new perspectives and knowledge about enterprise resource planning in blog posts from community members. Share your own comments and ERP insights today!
cancel
Showing results for 
Search instead for 
Did you mean: 
mk1909_sap
Active Participant
4,216
In SAP Business One, We can save Query we already created in Query Manager. We can use that Query for multiple purposes such as

  • Reporting,

  • Custom Alerts,

  • Custom Approvals and

  • FMS (Formatted Search)


To get Login User Code in SAP Business One Query and to Enhance the Query We just need to add $[USER].

Hana: SELECT T0."USER_CODE" FROM "OUSR" T0 WHERE T0."USERID" = $[USER]

SQL: SELECT T0.USER_CODE FROM OUSR T0 WHERE T0.USERID = $[USER]

 

Thanks,

Mahendrakumar
1 Comment
Labels in this area