Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
To Get the User, System and Client Name after Login to UI                                                          -Ripunj...
Double Click on it.Double Click on Picture.HTM
Insert the following Code... at Line number 19<p><%= sy-uname %> - <%= sy-sysid %> - <%= sy-mandt %></p>     Activate it.
Restart Web UI ScreenYou can play with colors and Positions as well.- You can play around with special cases - Example: sh...
endif. "Syuname%><%= lv_mytext %><div class="th-l-closeSlider th-displayNone" id="th-l-closeSlider"> ß ORIGINAL Line...for...
Upcoming SlideShare
Loading in …5
×

To get user client system name on ui welcome screen.doc

2,032 views

Published on

how to get user name, client and system name after login to SAP CRM UI screen.

  • Be the first to comment

To get user client system name on ui welcome screen.doc

  1. 1. To Get the User, System and Client Name after Login to UI -Ripunjay RathaurSteps:1. Go to T.Code: BSP_WD_CMPWB
  2. 2. Double Click on it.Double Click on Picture.HTM
  3. 3. Insert the following Code... at Line number 19<p><%= sy-uname %> - <%= sy-sysid %> - <%= sy-mandt %></p> Activate it.
  4. 4. Restart Web UI ScreenYou can play with colors and Positions as well.- You can play around with special cases - Example: show "bold red color" in ProductiveSystem. etc...Use this Demo Code...DATA: lv_mytext type string. (Have to define at Data declaration on line 9)if sy-uname = TESTU. "Select here if the Text should only be visible for some users... CASE sy-sysid. WHEN DEV. "Dev CONCATENATE <span style="background-color: yellow; color: black;" title=" sy-uname - sy-sysid - sy-mandt - sy-uzeit "> <a href="https://forums.sdn.sap.com/search.jspa?threadID=&q=wiki&objID=f292&dateRange=all&numResults=30&rankBy=9" target="_new"> sy-uname - sy-uzeit </a> </span>* <br> into lv_mytext.* WHEN TST. "Test* <span style="background-color: green; color: yellow;" title="* WHEN PRD. "Prod* <span style="background-color: red; color: yellow;" title=" ENDCASE.***Other Style Options: (Span)************************************* color:brown;* font-weight:900;* font-size:100%;* font-family:sans-serif;* background-color: #ffff00;* title = "This is the tool tip box"
  5. 5. endif. "Syuname%><%= lv_mytext %><div class="th-l-closeSlider th-displayNone" id="th-l-closeSlider"> ß ORIGINAL Line...for different colors in DEV / TEST / PROD System. There is also additional Space for Sy-Variables in the Tooltip and>>THE KILLER FEATURE<<: A direct Link to SAP CRM WebUi Forum Search... Youhave to add the code like described in (5).- In Serenity there is a problem with the collapse Navbar since we are influencing the <p> tag- If you cant see the new Texts - check the position of your coding in (5) and follow (6).- If your breakpoint is not working - check that you have used an external breakpoint and try tochoose another (Standard) Layout.Note From Carsten Kasper in the original Thread:- You can modify the .htm page without any hassles, but be aware that your changes might beoverwritten with the next service pack.

×