03-04-2009 7:16 AM
Hi All,
I am using ALV object model in my reports.
when i execute the report in english logon, all the menu items are shown in english.
But when i execute this report in gernam login, still all the menu items are shown in english where as these should be shown in german.
If we use FM approach, this conversion of texts in menu items is automatic.
Please help.
03-04-2009 7:24 AM
Hi,
In Your ALV layout pass the paramenter
lvc_s_layo-LANGUAGE = sy-langu.
Regards,
Nandha
03-04-2009 7:30 AM
Hi Nandha,
Thanks a lot for your reply. Please give some more brief about this logic.
03-04-2009 8:39 AM
Hi Ashih,
ACtually this is not the Problem in oops, as you want the translation in different languages, you need to translate and have to maintain german on which you need to translate by going to
Menu -> goto-> translation.
for the next item if you login through the german language then the text will be displayed in the german language.
This is how we will display text in different languages for the text elemensts and selection screen fields also .
Regards,
Madhavi
03-04-2009 10:12 AM
Hi Madhavi,
Thanks a lot for your reply. I have one more doubt here.
We dont maintain any translations while using FM approach. So why do we need to maintain translation in ALV object model?
Thanks