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

getting dump DYNPRO_SEND_IN_BACKGROUND when report executed in background

Former Member
0 Likes
1,168

Hi,

I am running the report in the Background.

when I run the report, I get dump with DYNPRO_SEND_IN_BACKGROUND.

I get the dump in Function module K_KKB_LIST_DISPLAY.

The short text of the message "Screen output without connection to user"


  CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'

    EXPORTING

      i_callback_program = sy-repid

      is_layout          = layout

      it_fieldcat        = gt_fieldcat

    TABLES

      t_outtab           = gt_result

    EXCEPTIONS

      program_error      = 1

      OTHERS             = 2.

Please help me.

Regards,

Prasad

Hi,

I am running the report in the Background.

when I run the report, I get dump with DYNPRO_SEND_IN_BACKGROUND.

I get the dump in Function module K_KKB_LIST_DISPLAY.

The short text of the message "Screen output without connection to user"


  CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'

    EXPORTING

      i_callback_program = sy-repid

      is_layout          = layout

      it_fieldcat        = gt_fieldcat

    TABLES

      t_outtab           = gt_result

    EXCEPTIONS

      program_error      = 1

      OTHERS             = 2.

Please help me.

Regards,

Prasad

2 REPLIES 2
Read only

Former Member
0 Likes
829

Hello,

Have you used call screen statement for displaying the output data in your program. If yes, it will give you dump when ever you execute report in background

BR,

Lokeswari

Read only

kerem_kayacan
Active Participant
0 Likes
829

ALV grid can not be displayed in background. You should suppress displaying ALV if processing is in background. You can use:

IF sy-batch IS INITIAL.

  CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'

     ...

      ...

ENDIF.