Application Development and Automation 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: 
Read only

Function Module Error

Former Member
0 Likes
2,001

Hi,

Can any one please let me know why I am getting the following error.

An exception with the type CX_SY_DYN_CALL_ILLEGAL_TYPE occurred, but was neither handled locally, nor declared in a RAISING clause

{O:28*\CLASS=CX_SY_NO_HANDLER}

FM has a structure as a input parameter of type /POSDW/MON_FS_FILTER.

When I am passing businessdaydate as

SOPLOWHIGH
IEQ01.01.201201.01.2012

I am getting the error.

businessdaydate is having data type as DATS.

Thanks,

Rahul

9 REPLIES 9
Read only

manuelhildemaro_ramossanc
Active Participant
0 Likes
1,822

Hi Rahul.

Did you try with 20120101 ?

Regards,

Manuel H.

Read only

Former Member
0 Likes
1,822

Specify user profile date format . user profile date format can viewed by using this path

System->user profile->own data -> defaults .

Read only

0 Likes
1,822

This message was moderated.

Read only

Former Member
0 Likes
1,822

Hi,

I think some import export parameters type mismatch like

FYI PFBL i hope it will helps to you bcz here we already dicussed this type of probe.

http://scn.sap.com/message/2061294

Regards

Mahesh

Read only

0 Likes
1,822

Hi Mahesh,

Thanks for reply. i have gone through the thread but still same error.

Have tried date in all the format but no result.

Thanks,

Rahul

Read only

Former Member
0 Likes
1,822

Hi,

CX_SY_DYN_CALL_ILLEGAL_TYPE

Cause: The type of actual parameter does not meet the requirements of the function interface.

Regards

Mahesh

Read only

Former Member
0 Likes
1,822

Hi Rahul,

In FM, generally errors occurred  when passing the parameters of call function to Function Module.Check the Structures of parameters what you pased.This may be helpful to you.

Thanks&Regards

Sreepallavi

Read only

0 Likes
1,822

Please find below the import parameters.

Read only

0 Likes
1,822

I think it is becuase you are passing the table parameter businessdaydate as a select-option or range field. You should use a table of dats fields not a range. Declare a date variable, copy the range/select option value to this in a loop if necessary, append it to the dats table, pass the dats table to the FM instead of the range/select that you are using.