on 02-21-2008 9:28 AM
Hi,
We want to display a caption on the SRM 5.0 screen in the header area. The caption will be "Welcome, USER-NAME". We are trying to change the HTML Template to get this output. However, since I do not know HTML codes, I dont know how to dynamically get the current user name on the screen.
Please help with your suggestions.
Regards
Rajeev
`~login` will give you the logged on user name
http://help.sap.com/saphelp_nw04/helpdata/en/5f/1fbb634aee11d189740000e8322d00/frameset.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Rajeev,
if you want to make an output to your HTML document, simply add
write(something);
to your template. In your particular case you can use
write("Hello " & ~login);
Please take the ` (backticks) into account. At start the template is in HTML Business mode. But with a backtick you can switch to HTML (and back to HTML Business).
Example:
`<html><body><p>`write("Hello world!");`</p></body></html>`
Best regards,
TJ
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.