Skip to Content

QR code via ABAP

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Jan 10, 2014 at 11:35 AM

    solved issue

    The system admins missed a couple of steps in setting up everything 😠

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 28, 2013 at 04: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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.