cancel
Showing results for 
Search instead for 
Did you mean: 

Unable To Call Active FM Through Service Call - After Adding To a TP

Amey-Mogare
Contributor
0 Kudos

Hi,

I am facing a weird problem.

I have created a FM "Z_GENERIC_SERVICE" which is remote enabled. I have radio button for Remote Enabled and Start Immediately selected.

Initially this FM/RFC was a local object (in $TMP package), created in local Function Group.

I was able to execute this RFC from WDJ as well as from WDA via service calls.

But later, I added this particular RFC to a Transport request. Hence it is inside a newly created Function Group now.

And additionally, I recreated the service call to this RFC inside WD Component.

This FM is in active state!

Now while running application, I get following error:-


The following error text was processed in the system KLL : The function module is not active or contains no code. 
The error occurred on the application server KLL_10 and in the work process 3 . 
The termination type was: RABAX_STATE 
The ABAP call stack was: 
Method: EXECUTE_Z_GENERIC_SERVI of program /1BCWDY/E6VJ1B35GQA0PLHLCWNC==CP
Method: IF_COMPONENTCONTROLLER~EXECUTE_Z_GENERIC_SERVI of program /1BCWDY/E6VJ1B35GQA0PLHLCWNC==CP
Method: ONACTIONATESTCALL of program /1BCWDY/E6VJ1B35GQA0PLHLCWNC==CP
Method: IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER of program /1BCWDY/E6VJ1B35GQA0PLHLCWNC==CP
Method: INVOKE_EVENTHANDLER of program CL_WDR_DELEGATING_VIEW========CP
Method: IF_WDR_ACTION~FIRE of program CL_WDR_ACTION=================CP
Method: DO_HANDLE_ACTION_EVENT of program CL_WDR_WINDOW_PHASE_MODEL=====CP
Method: PROCESS_REQUEST of program CL_WDR_WINDOW_PHASE_MODEL=====CP
Method: PROCESS_REQUEST of program CL_WDR_WINDOW=================CP
Method: EXECUTE of program CL_WDR_MAIN_TASK==============CP

Any idea why this is happening?

Thanks and regards,

Amey Mogare

Accepted Solutions (0)

Answers (1)

Answers (1)

Amey-Mogare
Contributor
0 Kudos

Actually, FM was active but Function Group was inactive!