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: 

RFC Function Modules

Former Member
0 Kudos

Hi all,

I am using two RFC Function Modules.

FM 1: Is having only Import Parameters

FM 2: Is having import and table parameters.

I am calling FM2 from FM1.

Here my doubt is, as we don't have any export and table parameters in FM1 what will it return? ( Or is it like as both are RFC Function Modules) we don't need export and table parameters for the FM1 as FM2 is also Remote Enabled).

Thanks,

Munagala

4 REPLIES 4

Former Member
0 Kudos

hi Praveena

it will not return anything if there is no export parameter.

but u can check for the exceptions like

SYSTEM FAILURE

COMMUNICATION FAILURE

RESOURCE FAILURE

as these are the only catchable exceptions in RFC.

no its not like that. u can have export parameters for them. i have done it practically it works fine.

regards

ravish

<b>plz reward if useful</b>

Message was edited by:

ravish goyal

Former Member
0 Kudos

hi,

if fm1 is having only import parameters then u can not call it from fm2 to return something as there is no export parameter.

jogdand M B

Former Member
0 Kudos

hi,

Remote Enabled Function Modules are similar to normal FM's that only difference is that they can be accessed from Remote systems. iN your case Fm1 doesn't return data as you are giving in Import section of FM.

if helpful reward some points.

With regards,

Suresh.A

Former Member
0 Kudos

Hi Ravish,

So, U mean I need to define the export params for FM1 same as FM2?

Thanks,

Mungala.