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

Function Module With OOPS

Former Member
0 Likes
823

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
Read only

Former Member
0 Likes
635

Hi,

Use this FM MAKT_SINGLE_READ

Regards,

Omkar.

Read only

matt
Active Contributor
0 Likes
635

> 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

Read only

Former Member
0 Likes
635

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

Read only

0 Likes
635

Hi Vikrant

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

Thanks in advance