‎2008 May 15 7:54 PM
Can you use text elements for screen?
I have a button which says Continue, Can I translate the Continue to ES?
‎2008 May 15 8:06 PM
hi check this..
paste this program and activate it then go to the menu options..
goto->text elements->selection texts->
here write what ever want to give to this parameter...
ex: p_test -
test element..
activate it and execute the program..it will show the parameter name as the text element..
parameters:p_test type i .
if p_test = 100 .
write:/ 'this is 100'.
endif.
regards,
venkat
‎2008 May 15 8:06 PM
hi check this..
paste this program and activate it then go to the menu options..
goto->text elements->selection texts->
here write what ever want to give to this parameter...
ex: p_test -
test element..
activate it and execute the program..it will show the parameter name as the text element..
parameters:p_test type i .
if p_test = 100 .
write:/ 'this is 100'.
endif.
regards,
venkat
‎2008 May 15 8:10 PM
Hi
If in Module pool program.
Go to SE51> Enter u r Program Name> Enter u r screen No and in Layout. Double click on the Continue button and u can change it.
Thanks.
‎2008 May 15 8:35 PM
I do not want to change it. I want to translate it like you would translate a selection screen or other text elements.
‎2008 May 15 8:36 PM
Megan,
It is possible to translate button texts to other languages directly - you do not need to use text element for that (though it is possible!). To translate a button text on a screen:
1) Open screen in Screen painter (using SE80 or SE51).
2) Use menu Goto --> Translation
3) Enter target language (ES in your case)
4) Double click on line under "Screen painter texts"
5) Find your button
6) Double click on your button icon - this should create a copy of that icon under it.
7) Click on this newly created icon and enter translation
😎 Save
Hope this helps.
Regards
Ken
‎2008 May 15 8:59 PM
If you want to change the text of the button from continue to ES and vice versa.
When you click on continue, set a flag to 'X' in PAI, and in PBO, check value of flag - if flag is 'X'.
loop at screen.
if screen-name = 'CONTINUE'.
screen-name = 'ES'.
modify screen.
endif.
endloop.