Application Development 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: 

DYNPRO_SEND_IN_BACKGROUND

Former Member
0 Kudos

Dear All,

I am getting error while calling RFC function Module through JCO for displaying some data. On checking ST22 transaction, it is showing the error like DYNPRO_SEND_IN_BACKGROUND.

While i execute the program from SAP GUI, getting the correct result .

The RFM is using the method cl_alv_table_create=>create_dynamic_table to build dynamic internal table for the table.

Pl.suggest some inputs.

with regards

Mahesh

1 REPLY 1

former_member223537
Active Contributor
0 Kudos

Hi Mahesh,

SAP doesnt support any screens or pop-ups in background. Even custom container is not supported in background.

Ensure that you do the necessary validation in background & dont create a custom container in background processing.

eg.

If sy-batch ne ‘X’.
" create a custom container control for our ALV Control
" This code would be executed to create container only if executed in foreground
    CREATE OBJECT gv_cntnr
        EXPORTING
            container_name = 'CC_ALV2'
        EXCEPTIONS
            cntl_error = 1
            cntl_system_error = 2
            create_error = 3
            lifetime_error = 4
            lifetime_dynpro_dynpro_link = 5.
Endif.

Best regards,

Prashant