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

Suggest me a function module

Former Member
0 Likes
911

Hi all,

Suggest me a function module that accepts Company code , Bussiness entity , land or any of the combinition of above three and returns unit ie data element LEINS.

Useful answers are rewarded.

Thanking u all in advance

7 REPLIES 7
Read only

Former Member
0 Likes
869

Hello Kiran,

did you speel LEINS correctly ? because i can't find en 4.6C any data element with that name. Do you mean "MEINS"?

Thanks

Read only

Former Member
0 Likes
869

Hello Kiran,

did you speel LEINS correctly ? because i can't find en 4.6C any data element with that name. Do you mean "MEINS"?

If you refer to MEINS, you can use Function module "MSR1_MD_UNIT_GETLIST"

that gives you all the units for land. I't acess to table T006A

Thanks

Read only

0 Likes
869

Thank you for ur answer data element which i should use is LEINS but it is of the Type MEINS . I checked out the function module given by you but there the MEINS is input parameter .

Read only

Former Member
0 Likes
869

Hello,

yes it is but is not mandatory. I can fill just the PI_LANGU .

Thanks

Read only

0 Likes
869

but i need company code , bussiness entity , land to be input parameters ant retrive the meins accordingly

Read only

Former Member
0 Likes
869

Hello again,

i think that units fo measure are not related to company code ... they are defined at a general level.

Read only

0 Likes
869

Thank u for your answers

I solved that thread