12-13-2007 6:00 AM
Hi Friends
I need to write a function module to get a material text from a given material in given language. Using OOPS.
12-13-2007 6:11 AM
12-13-2007 8:48 AM
> 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
12-13-2007 6:13 AM
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
12-13-2007 7:21 AM
Hi Vikrant
i will appreciate if you will give some on hand example and help me in doing it.
Thanks in advance