2006 Sep 08 11:14 AM
Hi,
I call the static method "z_customer_document_methods=>create_document".
It is a customer class.
When I call the method, I get this error.
"IM_DESCRIPTORS" is not type-compatible with formal parameter "IM_DESCRIPTORS"Here my call.
CALL METHOD z_customer_document_methods=>create_document
EXPORTING
im_rms_id = l_rms_id
im_sps_id = l_sps_id
im_filename_img = im_filename_img
im_filelength_img = im_filelength_img
im_mimetype_img = im_mimetype_img
im_descriptors = im_descriptors
im_file_img = im_file_img
im_kennzeichen = l_kennzeichen
IMPORTING
ex_objectid = l_document_objectid
ex_documentclass = l_document_documentclass
ex_return = l_return.
All data-type are correct. But when I comment the lines im_descriptors, im_file_img and im_kennzeichen there come no error.
Regards,
Thomas Fanninger
2006 Sep 08 11:20 AM
Hi Thomas,
see if im_descriptors is referring to a table type?
in that case try passing
im_descriptors = <b>im_descriptors[]</b>.
Also, re check the way the parameters are declared in the class and in the calling program.
Regards,
Ravi
Hi Thomas,
see if im_descriptors is referring to a table type?
in that case try passing
im_descriptors = <b>im_descriptors[]</b>.
Also, re check the way the parameters are declared in the class and in the calling program.
Regards,
Ravi
2006 Sep 08 11:20 AM
Hi Thomas,
see if im_descriptors is referring to a table type?
in that case try passing
im_descriptors = <b>im_descriptors[]</b>.
Also, re check the way the parameters are declared in the class and in the calling program.
Regards,
Ravi
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |