Application Development 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: 

FM

Former Member
0 Kudos
78

Hello all,

I am getting error ' Type conflict when calling a function module '.

Regards,

Johnn.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
55

Check the importing and exporting parameters declared in the same data type that of Function module.

Prakash.

6 REPLIES 6

Former Member
0 Kudos
56

Check the importing and exporting parameters declared in the same data type that of Function module.

Prakash.

Former Member
0 Kudos
55

Hi,

If you are getting this error in Z program then check the parameters defined by for passing to the function module and parameters in the function module are of same data type.

hope this helps.

Former Member
0 Kudos
55

Check your Importing and Exporting Parameters that has to be of the same type as defined in FM..

For Example

in GUI_DOWNLOAD FM

*" REFERENCE(BIN_FILESIZE) TYPE I OPTIONAL

*" REFERENCE(FILENAME) TYPE STRING

*" REFERENCE(FILETYPE) TYPE CHAR10 DEFAULT 'ASC'

*" REFERENCE(APPEND) TYPE CHAR01 DEFAULT SPACE

*" REFERENCE(WRITE_FIELD_SEPARATOR) TYPE CHAR01 DEFAULT SPACE

*" REFERENCE(HEADER) TYPE XSTRING DEFAULT '00'

*" REFERENCE(TRUNC_TRAILING_BLANKS) TYPE CHAR01 DEFAULT SPACE

*" REFERENCE(WRITE_LF) TYPE CHAR01 DEFAULT 'X'

*" REFERENCE(COL_SELECT) TYPE CHAR01 DEFAULT SPACE

*" REFERENCE(COL_SELECT_MASK) TYPE CHAR255 DEFAULT SPACE

*" REFERENCE(DAT_MODE) TYPE CHAR01 DEFAULT SPACE

<b>

FILENAME HAS TO BE STRING ONLY IF YOU PASS EITHER CHAR OR ANY OTHER DATA TYPE IT POPS YOU SUCH ERROR</b>

Message was edited by: Santosh Kumar P

Former Member
0 Kudos
55

Hi John,

You might have a parameter of your FM with a type different of the expected one.

Check for your importing/exporting parameters and tables.

Best Regards,

Erwan

anversha_s
Active Contributor
0 Kudos
55

hi jhon,

go to se37 - > and chk the type of import and export parameter of that FM.

similary u cahnge in ur pgm.

rgds

anver

if hlped mark points

Former Member
0 Kudos
55

Hi,

If you are getting this error in Z program then check the parameters defined by for passing to the function module and parameters in the function module are of same data type.

hope this helps.