‎2010 Nov 10 8:53 AM
Hi
I am using text element in bapi for return messages, I want to chnage text elements language at runtime, to return message in particular language. Translations are already uploaded in system. I tried with set language. but its not working. is there any way to do so?
‎2010 Nov 10 9:07 AM
Hi,
Check with the basis team if the language is imported and supplement (client dependent) is done for that language.
‎2010 Nov 10 9:10 AM
Hi
U need to pick up the text element of report, try to use the command:
READ TEXTPOOL <PROG> INTO itab LANGUAGE <LANG>.
Where <PROG> = SY-REPID and <LANG> is your language, the system will put all text element in an internal table
DATA: ITAB TYPE STANDARD TABLE OF TEXTPOOL WITH HEADERLINE.
READ TEXTPOOL SY-REPID INTO ITAB LANGUAGE 'D'.
READ ITAB WITH KEY KEY = '010'.
WRITE ITAB-ENTRY.Now the solution above makes a sense if you need a text in a language different that logon one
Max
‎2010 Nov 10 9:11 AM
Hi,
You need to translate the text so that when you login with that particluar language it will appear.
Regards
Nagaraj