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
774

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

SOP
LOW
High
IEQ01.01.201201.01.2012

I am getting the error.

businessdaydate is having data type as DATS.

Thanks,

Rahul

7 REPLIES 7
Read only

Former Member
0 Likes
747

Hi,

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).

Regards

Purnand

Read only

0 Likes
747

Yes, Purnand is correct. Try to declare a working area in exactly same way as your FM import parameter structure, fill it and pass it to FM, it might work.

Regards,

Edgar

Read only

0 Likes
747

It has DATS  as data type for data element.

Read only

Former Member
0 Likes
747

Hi,

Try date with parameters rather than select options. It will match, I think,

Regards

Purnand

Read only

Former Member
0 Likes
747

Hi Rahul,

DATS is of 8 digits and in YYYYMMDD format so you will need to pass the above data as

SIGN OPTION    LOW        HIGH

  I         EQ      20120101   20120101

Read only

Former Member
0 Likes
747

Hi,

Did you get the solution? Please do let us know if you are still facing any issue?

Regards

Purnand

Read only

0 Likes
747

Definitely purnand dhingra  I will check and come back

Thanks,

Rahul