‎2014 Oct 24 3:38 AM
Here we have two Function Groups and two Function Modules:
Function Group A - Function Module C
Function Group B - Function Module D
As we know, in Function Module C, if we want to get global variables which are defined in Function Group B, we can call Function Module D of which the export parameters are the variables we would use in Function Module C.
Here is the question, what if Function Module C is a RFC function?
I am considering that Function Module C & D may be running on the remote system and local system separately.
Can we still get the value by calling Function Module D in this case?
‎2014 Oct 24 3:52 AM
Hi Ming,
Actually, it's the only way 🙂
When you call a function via RFC you will transfer information using parameters (Exporting and Importing). It's exactly in the same way you metion inside de SAP System.
An important detail in case you are using RFC, all your parameters must be passed by value. But don't worry, hence you settled the FM as RFC enabled you can only activate it if all your parameters in the FM are settled as passed by value.
Take care!
Furlan
‎2014 Oct 24 3:52 AM
Hi Ming,
Actually, it's the only way 🙂
When you call a function via RFC you will transfer information using parameters (Exporting and Importing). It's exactly in the same way you metion inside de SAP System.
An important detail in case you are using RFC, all your parameters must be passed by value. But don't worry, hence you settled the FM as RFC enabled you can only activate it if all your parameters in the FM are settled as passed by value.
Take care!
Furlan
‎2014 Oct 24 4:03 AM
Hi Ming Yu,
yes you can get the value by calling function module even if it is RFC and in another system. Its all the same like Furlan said.
Thanks,
Naveen