‎2014 May 22 5:59 PM
Hi Experts,
I have an requirement. I have 3 push-button on screen (draw through SE51 not PF-Status). I named them as " Current Shipment", "Last Shipment" and "Expired Shipment".
Name Text Fctcode
=========================================== ========
Current Shipment current Curr
Last Shipment Last Lst
Expired Shipment Expired exp
If we login in system, system display same name as text on push button. I have to do that it could dynamically change text in system language on pushbutton. Like if someone login in German, then text should be auto change in german. Program (module pool) auto recognise the sy-langu and convert the text in that language and place it on push-button.
Regards
Piyush Kumar
‎2014 May 22 6:06 PM
Piyush
Simply press GOTO-> > translation and maintain text in target language. It will then automatically come
Nabheet
‎2014 May 22 8:30 PM
Completing...
-> Double Click in Screen Number below of "<SRT4> Screen Painter Texts (PROG)"
Now just translate.
😃
Regards.
Douglas
‎2014 May 24 11:00 AM
Hi Nabheet,
I have a few questions regarding your suggestion.
1). Have I to maintain translation for all languages i.e. for "de", "fr", "po" etc. ?
2). Or it can be done automatically. Is there any code snippet that we can place in PBO section, and program will convert pushbutton text in login language and would display text on push-button in login language when display output?
3). Can we do it only by first way you have mentioned?
Regards
Piyush
‎2014 May 24 11:01 AM
Hi Santos,
I have a question regarding your suggestion.
1). Have I to maintain translation for all languages i.e. for "de", "fr", "po" etc. ?
2). Or it can be done automatically. Is there any code snippet that we can place in PBO section, and program will convert pushbutton text in login language and would display text on push-button in login language when display output?
Regards
Piyush
‎2014 May 26 12:19 PM
Hi.
You just have to mantain the language in which users will use your transaction.
The translation is automatic by the core system. It used the language of the user login. At runtime, the language can be read by the variable: SY-LANGU.
Regards.
Santos
‎2014 May 30 5:03 PM