2006 Oct 09 12:45 PM
Hello all,
I am getting error ' Type conflict when calling a function module '.
Regards,
Johnn.
2006 Oct 09 12:47 PM
Check the importing and exporting parameters declared in the same data type that of Function module.
Prakash.
Check the importing and exporting parameters declared in the same data type that of Function module.
Prakash.
2006 Oct 09 12:47 PM
Check the importing and exporting parameters declared in the same data type that of Function module.
Prakash.
2006 Oct 09 12:48 PM
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.
2006 Oct 09 12:49 PM
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
2006 Oct 09 12:49 PM
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
2006 Oct 09 12:54 PM
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
2006 Oct 09 1:03 PM
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.
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |