The information in this article applies to product: e-Work 6.x
Issue
The case of the name assigned to the variable %Originator (eFolder.eOriginator) varies depending on the SAP used to authenticate the user.
For example, eUser.js assigns the value of eUser.eUserName to %Originator. If the username in the eUser table is 'Lois Lane', then %Originator = 'Lois Lane' even if the user logged in to e-Work as 'lois lane'. However, if Windows Single Sign-On is being used, the eSSO\_Web.js SAP converts the login name to lowercase and this value is assigned to the eOriginator system variable.
Resolution
Ordinarily this is not an issue. However, if the value of eOriginator is being compared to another value in a case-sensitive context, then it might be necessary to convert the value. Code similar to the following could be used:
SQL Server
%Variable:=%SelectSQL("Select Upper('%Originator')")
Oracle
%Variable:=%SelectSQL("Select UCase('%Originator') from dual")