cancel
Showing results for 
Search instead for 
Did you mean: 

Changing button's name on Web UI

Former Member
0 Kudos
314

Hello, everyone.

I'm facing the problem that I can't change a button name.

The button is on the search result view of Oppotunities. It's named "change sales stages".(You need to choice "More" button first)

I want to change the name to a name which customer required.

Does anyone have any tips about this?

Best Regards.

Miki

Accepted Solutions (1)

Accepted Solutions (1)

amarnath_kathi
Active Contributor
0 Kudos

Miki,

You can rename this by redefining the method DO_PREPARE_OUTPUT in view BT111S_OPPT/Result. The code

 ls_button-text    = cl_wd_utilities=>get_otr_text_by_alias( 'CRM_UIU_BT_OPPORTUNITY/CSS' ). 

sets the label 'change sales stage' in ls_button-text. You can comment out this line and set the label you want.

Former Member
0 Kudos

HI,Amar Nath .

Thank you for your replay!

I've checked the method you told me gets the bottun's name .

Former Member
0 Kudos

Hi,

Instead of enhancing the view you can also change the OTR name using tcode SOTR_EDIT.

Regards,

Shobhit

Former Member
0 Kudos

Hi,Shobhit.

Thank you for your adivice!

I choose your sokution this time:)

Miki

sumit_mittal2
Active Contributor
0 Kudos

Hi Miki/Shobhit,

Although it's answered, just a remark from my side...

Make sure change in the sotr entry doesn't change the text in other places by mistake for e.g see where use list of this sotr text if this is being used in other places, changing this entry will change the text in all the other views as well..

Hope you are agreed.

Cheers,

Sumit Mittal

Former Member
0 Kudos

Yes Sumit it will reflect everywhere it is used, but if is good to see the same required custom label everywhere so that i will be uniform in the UI for the endusers. Also this OTR text is used in this component only.

Regards,

Shobhit

Former Member
0 Kudos

Hi Shobit,

Can you please let me know how you did this? I have the same problem. I am having the problem when I logged in with any other language other than English. My assignment block title is 'NOTES'. When I logged in English it is coming as 'NOTES' but when I logged in any other language other than english then I always get '//UCGSTEXT.MAINWINDOW' as the assignment block title. Could you please let me know the procedure. I dont know how to maintain translation using SOTR_EDIT Transaction. Can you please explain in brief how to do this in SOTR_EDIT.

Thanks,

Chinnu.

Former Member
0 Kudos

Check you thread

Edited by: Shobhit Srivastava on Aug 31, 2011 4:17 PM

Answers (0)