11-27-2013 2:38 PM
Hi all!
i'm trying to generate a QR code via ABAP, following the tutorials i found here.
i got an error when calling method CALL METHOD i_igs_image_converter->execute
when, insiede ith, the function PIGFARMDATA via RFC return the error
IGS error: ProcessRequest (RFC_INVALID_PARAMETER)
Any suggestion on how to fix it?
BR
01-10-2014 11:35 AM
solved issue
The system admins missed a couple of steps in setting up everything
11-28-2013 4:46 AM
Hi Simone,
Try like this
CREATE OBJECT i_igs_image_converter .
i_igs_image_converter->input = 'image/png'.
i_igs_image_converter->output = 'image/bmp'.
i_igs_image_converter->width = width.
i_igs_image_converter->height = height.
CALL METHOD i_igs_image_converter->set_image
EXPORTING
blob = mime
blob_size = l_content_length.
CALL METHOD i_igs_image_converter->execute
EXCEPTIONS
communication_error = 1
internal_error = 2
external_error = 3
OTHERS = 4.
IF sy-subrc = 0.
CALL METHOD i_igs_image_converter->get_image
IMPORTING
blob = blob
blob_size = blob_size
blob_type = blob_type.
ENDIF.
Please refer this DOC.I think it will give you some idea on it.
http://scn.sap.com/docs/DOC-47644
Regards,
Riju Thomas.
11-28-2013 12:18 PM
Hi,
i used that code but the error, as i stated in my first post, is INSIDE the method
i_igs_image_converter->execute, exactly when the method call function PIGFARMDATA
01-10-2014 11:35 AM
solved issue
The system admins missed a couple of steps in setting up everything