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

FM

Former Member
0 Likes
623

If I have to call a mothod into a FM what are the steps or rules to be followed?

May I know this?

Sadhik

1 ACCEPTED SOLUTION
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
602

Not sure what you are asking here, can you explain a little further? Do you want to know how to call a function module, or how to call a class/method?

REgards,

Rich Heilman

5 REPLIES 5
Read only

Former Member
0 Likes
602

Hi,

Calling a function module is very easy . Just as you pass values to subroutines you do pass to function modules . Refer to this documentation

http://help.sap.com/saphelp_46c/helpdata/en/c9/5472f6787f11d194c90000e8353423/frameset.htm

Regards,

varun .

Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
603

Not sure what you are asking here, can you explain a little further? Do you want to know how to call a function module, or how to call a class/method?

REgards,

Rich Heilman

Read only

0 Likes
602

Yes,I want to know how to call a class/method in a FM.

Read only

0 Likes
602

Calling a class/method in a function module is the same as calling the class/method in a regular report. You do not need to do anything else special. Just call it.

You can use the "Pattern" button to build your call to the class/method, just like you use to build your call for a function module.

Regards,

Rich Heilman

Read only

0 Likes
602

Thanks a lot Rich.