on 07-24-2006 8:11 PM
Hello,
I am calling a function from my BSP application (in do_handle_event) and I am getting this exception..
Following error text processed in system:
An exception with the type CX_SY_DYN_CALL_ILLEGAL_TYPE occurred, but was neither handled locally, nor declared in a RAISING clause
i dont find anything in st22. Has anyone got any idea what might be the problem? The actual and formal parameters looks fine....
any help is greatly appreciated
thanks
thilothama
Hi Thilothama v
1) Just match Import/Export parameters of FM with data type of variables that you are passing to that Fm.They should be exactly same(Check data element).
I assume that you are calling that FM as
"CALL FUNCTION 'FM_ABC' destination none",if its on Same WEB AS or else with appropriate logical system name.
Cheers,
Vijay Raheja
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Thilothama v
When we call FM in BSP.
First of all it should be an RFC Function module.
And an RFC FM expects Logical Destination for communication.
If FM and BSP Application is on same WEB AS then use "destination NONE" otherwise you have to specify the "Logical Destination" of system where RFC FM exists.
Cheers,
Vijay Raheja
this generally happens when you pass a variable of different type than the one used in the function interface.
as a quick test, create a report program and call this function with the same type of variables used in your BSP and see whether it works.
Regards
Raja
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
are you sure, that the FM you are using can be called without GUI connection? I have the feeling, that the FM can only be called when GUI connection is available. Can you tell us the name of the FM?
Regards,
Dezso
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.