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

different database in different languages....

Former Member
0 Likes
333

Hi Experts,

I am facing an unusual problem.In my project,there are two languages English & French.I am doing the coding by logging in English.But the database maintained for the same query in French is different.Now the testing is being done in French.How can i take care of this?Good answers will be suitably rewarded....

1 REPLY 1
Read only

Former Member
0 Likes
307

Hi Shaheen,

Normaly databse values are mentained in same table, and if there is requirement of maintaining texts or values in different languages then there is always a laguage key in database table.

in your case as you have specified that there are two different tables , then u need to eitherfind a function moduel which automatically checks for language and do the required data fetch from tables.

or if you dont find any such function module then you have to code different select statements for each language.

you can check the laguage using system field sy-langu to get the language then call appropriate select statement.

hope ths helps

award forum points to helpful answers