04-09-2008 5:56 AM
I need to call a function module with ECC as the destination from my E-Rec system.
The input parameters being:
PLVAR -- Plan Version
OTYPE -- Object type
OBJID -- Object Id
and Output Parameter:
PERSA Personnel area
Can you please suggest any Function Module which is RFC enabled and has the above parameters?
04-09-2008 6:25 AM
You can create a new RFC enabled function module in ECC with your parameters.
04-09-2008 6:47 AM
Hi,
to connect, if u hve the FM in R/3, just check if it is RFC enabled. If it is not, create ur own ZFM copying this FM(wat u need) and make it RFC enabled by clicking RFC radio button in the attributes tab of your ZFM.
Now goto SM59 and take the logical system id of the system where your ZFM is there and give this logical system id after calling the FM in your system where you are calling this FM.eg:
CALL FM destination 'logical system id'. and this FM will be executed.
think RH_GET_CONTROLLING_INFO might be helpful but as this is not RFC enabled u can try with the above approach.
Hope this helps.
Reward points if helpful.
Thanks.