Application Development 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: 
SAP Community Downtime Scheduled for This Weekend

ALV object model

Former Member
0 Kudos
99

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.

4 REPLIES 4

Former Member
0 Kudos
64

Hi,

In Your ALV layout pass the paramenter

lvc_s_layo-LANGUAGE = sy-langu.

Regards,

Nandha

0 Kudos
64

Hi Nandha,

Thanks a lot for your reply. Please give some more brief about this logic.

Former Member
0 Kudos
64

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

0 Kudos
64

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