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

Text element language related issue...

Former Member
0 Likes
362

Hello,

I am working on a RFC enabled function module where the language is imported as one of the parameters. Now based on the language, the text elements should be pciked up. But when the function module is called, it alwyas uses the CPIC user ID for which the language is 'english'.

But the language key is passed in import parameter and we have translations for text elements. How can I fetch the text-elements based on language key passed in import parameter and pass it back to function module.

Regards,

Jainam.

1 ACCEPTED SOLUTION
Read only

former_member194669
Active Contributor
0 Likes
334

Try to use


V_LANGU = RFC_LANGU   " Language key you are getting
READ TEXTPOOL 'YOUR REPORT NAME' INTO TP LANGUAGE V_LANGU.

Hello,

I am working on a RFC enabled function module where the language is imported as one of the parameters. Now based on the language, the text elements should be pciked up. But when the function module is called, it alwyas uses the CPIC user ID for which the language is 'english'.

But the language key is passed in import parameter and we have translations for text elements. How can I fetch the text-elements based on language key passed in import parameter and pass it back to function module.

Regards,

Jainam.

1 REPLY 1
Read only

former_member194669
Active Contributor
0 Likes
335

Try to use


V_LANGU = RFC_LANGU   " Language key you are getting
READ TEXTPOOL 'YOUR REPORT NAME' INTO TP LANGUAGE V_LANGU.