2007 Dec 14 12:26 PM
Hi,
I want to change text of default DISPLAY_CANCEL_BUTTON which is 'CANCEL'.
I mean i want to change 'CANCEL' text.
MY code:
CALL FUNCTION 'POPUP_TO_CONFIRM'
EXPORTING
text_question = 'Değişiklikler kaydedilsin mi?'
text_button_1 = '<b>Evet'</b>(001)
text_button_2 = '<b>Hayır</b>'(002)
default_button = '1'
display_cancel_button = 'X' <i><b>"printing CANCEL insted of 'IPTAL'</b></i>
IMPORTING
answer = l_answer
...................................
Thanks..
2007 Dec 14 12:52 PM
Hello Mehmet,
When you look into the code, you'll find that the text for the cancel button comes from a text-symbol (200 in program SAPLSPO1) hence it will be translated automatically into the current logon language hence you have to be are logged on in the language you want to see the cancel text in.
If this is not the case in your system, it might be because of missing translations.
Goto the text symbols of program SAPLSPO1 and use menu 'Goto - Translation' - there you should find the translation of 'Cancel' into your language.
If that translation is missing that would be the reason why you see the text in the original language of the object which is english.
Hope that helps,
Michael
Hi,
I want to change text of default DISPLAY_CANCEL_BUTTON which is 'CANCEL'.
I mean i want to change 'CANCEL' text.
MY code:
CALL FUNCTION 'POPUP_TO_CONFIRM'
EXPORTING
text_question = 'Değişiklikler kaydedilsin mi?'
text_button_1 = '<b>Evet'</b>(001)
text_button_2 = '<b>Hayır</b>'(002)
default_button = '1'
display_cancel_button = 'X' <i><b>"printing CANCEL insted of 'IPTAL'</b></i>
IMPORTING
answer = l_answer
...................................
Thanks..
2007 Dec 14 12:52 PM
Hello Mehmet,
When you look into the code, you'll find that the text for the cancel button comes from a text-symbol (200 in program SAPLSPO1) hence it will be translated automatically into the current logon language hence you have to be are logged on in the language you want to see the cancel text in.
If this is not the case in your system, it might be because of missing translations.
Goto the text symbols of program SAPLSPO1 and use menu 'Goto - Translation' - there you should find the translation of 'Cancel' into your language.
If that translation is missing that would be the reason why you see the text in the original language of the object which is english.
Hope that helps,
Michael
2007 Dec 17 1:03 PM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |