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: 

Function Module With OOPS

Former Member
0 Kudos

Hi Friends

I need to write a function module to get a material text from a given material in given language. Using OOPS.

4 REPLIES 4

Former Member
0 Kudos

Hi,

Use this FM MAKT_SINGLE_READ

Regards,

Omkar.

matt
Active Contributor
0 Kudos

> Hi,

>

> Use this FM MAKT_SINGLE_READ

>

> Regards,

> Omkar.

Omkar is absolutely right. You should use this function module. Why reinvent the wheel?

If you have to do it through oop for some strange reason, then make a (static) method with precisely the same parameters as the FM, and call the function module from within the method.

matt

Former Member
0 Kudos

If you are using a function module in oops, you have to create a class with required fields ie, your material text and other fields and give the importing parameters as material number

and language and use method to fill these fields using a select query in that .

Reward points if helpful

0 Kudos

Hi Vikrant

i will appreciate if you will give some on hand example and help me in doing it.

Thanks in advance