Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Smartform Internal error (Error Occurred While Processing Output Messade No: VN073)

Former Member
0 Likes
1,692

Hi all,

    I have a requirement to develope a Smartform for MIGO (Goods Receipt) transaction, i have developed and wrote the Z driver program comfigured both in NACE. Every thing is fine, smartform will be dowloaded to local system after that below system message will be displayed

Errors occurred while processing output

Message no. VN073

in MB02 the traffic light will becom red instead of green.

Please Help me to solve this issue.

I have attached the driver program also.

Thanks & Regards

Ganesh Babu

2 REPLIES 2
Read only

Former Member
0 Likes
820

Hi,

add the below lines before GUI_download.

Local path for download:

DATA: ws_fullpath TYPE string .

CALL METHOD cl_gui_frontend_services=>get_sapgui_workdir

    CHANGING

      sapworkdir            = ws_fullpath

    EXCEPTIONS

      get_sapworkdir_failed = 1

      cntl_error            = 2

      error_no_gui          = 3

      not_supported_by_gui  = 4

      OTHERS                = 5.

  CONCATENATE ws_fullpath '\' filename  '.pdf' INTO ws_fullpath.

and replace filename with ws_fullpath :

    CALL METHOD cl_gui_frontend_services=>gui_download

      EXPORTING

        bin_filesize            = bin_filesize

        filename                = ws_fullpath

        filetype                = 'BIN'

      CHANGING

        data_tab                = t_file_pdf[]

      EXCEPTIONS

        file_write_error        = 1

        no_batch                = 2

        gui_refuse_filetransfer = 3

        invalid_type            = 4

        no_authority            = 5

        unknown_error           = 6

        header_not_allowed      = 7

        separator_not_allowed   = 8

        filesize_not_allowed    = 9

        header_too_long         = 10

        dp_error_create         = 11

        dp_error_send           = 12

        dp_error_write          = 13

        unknown_dp_error        = 14

        access_denied           = 15

        dp_out_of_memory        = 16

        disk_full               = 17

        dp_timeout              = 18

        file_not_found          = 19

        dataprovider_exception  = 20

        control_flush_error     = 21

        OTHERS                  = 22.

Regards,

Chandu.

Read only

0 Likes
820

Hi Chandu,

     i did the change as u mentioned above but still same problem.

Thanks & Regards

Ganesh Babu