Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Pop up window help!!!!

0 Likes
550

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&#305;r</b>'(002)

default_button = '1'

display_cancel_button = 'X' <i><b>"printing CANCEL insted of 'IPTAL'</b></i>

IMPORTING

answer = l_answer

...................................

Thanks..

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
511

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&#287;i&#351;iklikler kaydedilsin mi?'

text_button_1 = '<b>Evet'</b>(001)

text_button_2 = '<b>Hay&#305;r</b>'(002)

default_button = '1'

display_cancel_button = 'X' <i><b>"printing CANCEL insted of 'IPTAL'</b></i>

IMPORTING

answer = l_answer

...................................

Thanks..

2 REPLIES 2
Read only

Former Member
0 Likes
512

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

Read only

0 Likes
511

Very Thanks:))