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

return message using - TEXT Elements run time language change

Former Member
0 Likes
613

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?

3 REPLIES 3
Read only

Noorie
Active Participant
0 Likes
542

Hi,

Check with the basis team if the language is imported and supplement (client dependent) is done for that language.

Read only

Former Member
0 Likes
542

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

Read only

former_member404244
Active Contributor
0 Likes
542

Hi,

You need to translate the text so that when you login with that particluar language it will appear.

Regards

Nagaraj