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

calling a external function module

Former Member
0 Likes
884

I am writing a program in ECC where i need to call a function module present in the external SAP SRM system. pass parameters to it and fetch the data.

pls guide me on ........

regards,

muda.

4 REPLIES 4
Read only

Former Member
0 Likes
608

You need to maintain the Destinations(RFC).

Then you have to call the FM with the destination.

Regards

Vijay

Read only

0 Likes
608

hey, thanks for the quick reply.

when i tried to do this it gives me a short dump (error - Function module not found).

just to make clear, my program is in ECC and my std. function module is in SRM.

any thoughts ................

Read only

0 Likes
608

Check the following.

1. Is the function module you are trying to Call is remote enabled. T-code SE37

2. Is there a RFC destination defined in the Source System which points to the Target System. T-Code SM59

3. Make sure you make the call is OK.

*1 Call Function to get Data.

CALL FUNCTION 'Z_YOUR_FUNCTION' DESTINATION RFC_DESTINATION

A

Read only

0 Likes
608

hey........... got it

thanks.