on 12-20-2011 5:23 AM
Hi all,
In Crystal reports there are 2 current user fields
CurrentCEUserName
and CurrentCEUserID
I have tried to add these fields to the footer of my reports, but no information comes out.
Is there any way to find out the current user and print their user name on the report?
Users have 2 id's. Where can I find this info and add it to the report.
A) the windows user id if possible
B) the SAP user id
Thanks
Chris
Hi Chris,
If you are using a CR Layout, please add a parameter of UserCode@ to get the log on user.
Thanks
Xianlong Min
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i dont know if you have fixed it but you can create a parameter with the name PrintByUserName@.
include this parameter in the report and then you will get printer by sap username.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
If you want SAP user id ,add OUSR table and pick user id from that table.
or check http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=14295
Thanks,
Neetu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
from the guide 'How to Work with Crystal Reports in SAP Business One':
"The UserCode@ parameter is an optional token that is recommended for inclusion only in Crystal Reports layouts where you want to display the currently logged on SAP Business One user code, such as u201Cmanageru201D. The parameter type is String. This token is only for layouts; you cannot use it in reports."
Regards,
Domenico
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chris.......
That would be better if you include the user code and its name under same Command.
Or you may join one more table as OUSR for getting the User Name and ID to be displayed on CR......
Regards,
Rahul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
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.