How to change texts in SAP screens. An alternative
Hi,
Let me share with you an alternative way to change texts in SAP screens. Changes are global (apply to any client and to any SAP screen) and are applied locally by laptop/desktop.
Let’s see an example. A company sells services and would like to have service instead of material in SAP screens. We can achieve this very easily, in blink of an eye…
Global changes apply to:
To message lines
To menus in inside a tcode
To column header in tables
and to table titles.
How?
We will need only 5 minutes… steps:
1- Create this directory C:\guixt\scripts
2- Open notepad editor and copy & paste below text (from start script to end script), save it as session.txt in C:\guixt\scripts and close notepad
// Start script
//
// Script to change texts globally
//
GlobalTextReplace “Material” “Service”
// End script
3- Activate GuiXT
4- Log out of all sessions and logon
5- Check the results
Activating/Deactivating GuiXT
We need to use GuiXT (software developed by Synactive and available for free, with limited functionality. Functionality used in the script doesn’t require any license and is available for its use) and activate it locally in our desktop/laptop.
To activate/deactivate, just click on customize local layout icon and click on Activate:
Once activated, minimize Guixt screen and at the bottom of our screen, a GuiXT icon becomes available
Now we click on GuiXT icon and select Edit, Profile and tic on No language key in script name in further options block. In that way, the scripts we create are non language dependant. We click on Ok button and minimize GuiXT screen.
Log out from SAP.
Understanding the script
// means the sentence is commented, that is, not executed
GlobalTextReplace “White” “Black” this sentence replaces text White by Black. It’s not case sensitive.
We can add as many GlobalTextReplace in the script as needed.
Script session.txt is executed locally (in the laptop/desktop, where the script is saved), only one time after the logon screen.
Finally
To avoid someone updating the script, once it works fine, we can hide GuiXT icon. To do it, we click on GuiXT icon and select Edit, Profile:
And in start window, select Hidden instead of normal.
If you need GuiXT icon back, execute guixt.exe visible in C:\Program Files\SAP\FrontEnd\SAPgui. It will be visible till you log off. If you want it visible permanently, update the profile and in start window area set normal.
Stop using GuiXT
If you decide to stop using GuiXT, deactivate Sap GuiXT as we saw previously. If you don’t want to use a script, rename or delete it.
Enjoy.
Regards,
JM
|
Dear Joan,
Its very informative document and i like the way you presented it. Thanks for sharing this document and Keep sharing this sort of stuff..
Best Regards,
Suhaib Bin Aziz
Thanks Suhaib for your comments.
Regards,
JM
Nice document, Joan.
Just one minor observation - the "GlobalTextReplace" is risky as it replaces the text across all TCodes and corresponding screens. "TextReplace" is a better-fit for the single-screen instance.
But hey, nicely compiled document.
Best,
Vishal
Hi Vishal Mehta,
Can you give me code in case using "TextReplace"?
Thanks.
Sure, Manh.
Here's the official documentation entry: TextReplace
If you have a script with a specific need, I'll be happy to assist to my best capacity.
Best,
Vishal
Hi, Thanks for sharing.
One question, Is it user dependent or the changes will reflect at Server level?
If I want to do it universal for all users, shall I do it one by one on each user's desk?
Hi Bheem,
you save the script locally (laptop &desktop) not at server level so you need copy the script to each laptop & desktop.
Regards,
JM
Thanks JM
Bheem,
YOu can maintain one script at a central location, after testing it locally on one instance. You have to push one .ini file to every machine which just points to a central location, where the script for the changes are read from.
PPlease refer to this documentation for help: GuiXT Profile
Thanks Joan, for sharing helpful document 🙂
Thanks Srinu for your comments
Regards,
JM