Skip to Content
author's profile photo Former Member
Former Member

IGS COnverted BMP Image upload problem in SE78

HI Friends,

I Converted the JPEG image into BMP ormat by using IGS. It is converting properly. i am able to see the BMP image. When i am trying to upload it through the SE78 i am getting the short dump.

If convert it manually, i am able to upload the image. i did not get the any difference between these two including file size, width and height.

I attached the shortdump and converted image file as an attachment. Can anyone give me inputs where i am missing the target.

Runtime error : COMPUTE_INT_TIMES_OVERFLOW

Exception : CX_SY_ARITHMETIC_OVERFLOW

Thanks ,

Srinivas Bhavanam

Add comment
10|10000 characters needed characters exceeded

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Mar 24, 2010 at 09:45 PM

    Solved, this is Basis problem

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Oisin ONidh

      Hi Oisin,

      Sorry for Late reply.

      Image conversion is happening properly on Linux System (QAS & PRD). We are getting problem with Solaris System (DEV).

      In Solaris it is taking the High resolution , where as in Linux it is converting with 1DPI resolution.

      Thanks,

      Srinivas Bhavanam

  • Posted on Mar 09, 2010 at 01:40 PM

    Hi Srinivas,

    How exactly are you converting the JPEG image into BMP format by using the IGS?

    What interpreter are you using to do this? also what IGS version ar you using?

    Regards,

    Oisin

    Add comment
    10|10000 characters needed characters exceeded

  • Posted on Mar 09, 2010 at 01:49 PM

    Hi Srinivas,

    Can you also paste the relevant dump data into the message.

    Shortdump Runtime Error: COMPUTE_INT_TIMES_OVERFLOW means that a

    value that is too large when calculating and the field is too small.

    The reason for your problem could be that the graphic uses a very high resolution.

    Regards,

    Oisin

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Oisin ONidh

      Hi ,

      I am using the below code to pass the data to IGS.

      CALL FUNCTION 'GUI_UPLOAD'

      EXPORTING

      filename = i_file_name

      filetype = 'BIN'

      IMPORTING

      filelength = l_content_length

      TABLES

      data_tab = mime

      EXCEPTIONS file_open_error = 1

      file_read_error = 2

      no_batch = 3

      gui_refuse_filetransfer = 4

      invalid_type = 5

      no_authority = 6

      unknown_error = 7

      bad_data_format = 8

      header_not_allowed = 9

      separator_not_allowed = 10

      header_too_long = 11

      unknown_dp_error = 12

      access_denied = 13

      dp_out_of_memory = 14

      disk_full = 15

      dp_timeout = 16

      OTHERS = 17 .

      IF sy-subrc = 0.

      • MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

      • WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

      ENDIF.

      CREATE OBJECT i_igs_image_converter .

      i_igs_image_converter->input = 'image/jpeg'.

      i_igs_image_converter->output = 'image/x-ms-bmp'.

      i_igs_image_converter->width = '640'.

      i_igs_image_converter->height = '480'.

      CALL METHOD i_igs_image_converter->set_image

      EXPORTING

      blob = mime

      blob_size = L_BYTECOUNT. "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.

      If i am doing the conversion from JPEG to TIFF or GIF, the resolution is good with 96 DPI, where as for only BMP conversion i am getting the resolution(Herizontal and Verical Resolution) problem.

      I do not what happening from IGS side, when ever i am using the IGS converted BMP image to upload to SAP through SE78 i am getting the shortdump.

      Thanks & Regards,

      Srinivas Bhavanam