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

DYNPRO_SEND_IN_BACKGROUND

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Dec 04, 2007 at 03:45 AM

    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

    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.