Skip to Content

How to refresh only subscreen and not a whole screen.


I am having one screen - Say 1000.

On screen 1000 I am having one Sub-screen area, and I am calling another sub-screen 1001 which is having custom control on it.

I have created one TEXTEDIT control for subscreen.

Now when my screen 1000 will be called I am able to see one TEXTEDIT control. Up to this is fine.

I want this textedit control should be refreshed automatically in 5 seconds and only textedit control should be refreshed.

I can have whole screen be refreshed by RFC_PING_AND_WAIT but it removes all my entered data as well.

So is there any way I can refresh my only subscreen by any means and not the whole screen?

Please advise.

Thanks and regards,

Ravindra Sonar.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Posted on Aug 26, 2013 at 01:28 PM

    The subscreen would have a unique dynpro number as you mentioned 1001, so you could try: LEAVE TO SCREEN (1001).

    Works for me.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 27, 2013 at 04:57 AM
    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 30, 2013 at 06:10 AM

    Hello Glen and Kiran,

    I am not sure how LEAVE TO screen would help me?

    Also there is no way I can set a new SY-UCOMM to a sub-screen too. Its not working.

    Please have a look on the attached screen shot . I have smaller the example with -

    Here in above -

    1. I am calling TextEditor from sub-screen 1001. and it is been called in Normal screen 1000.

    2. How to refresh only sub-screen 1001, automatically after 5/10 seconds -- WITHOUT LOSING VALUES IN THE PARAMETER ABOVE THE SUB-SCREEN ?

    Thanks and regards,

    Ravindra Sonar.

    Untitled.jpg (50.2 kB)
    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 04, 2013 at 05:16 AM

    Hi Ravindra,

    You can use this ever particular interval...


    ***for clearing of object and methods using cl &*******



    * cntl_error = 1

    * cntl_system_error = 2

    * others = 3


    FREE edit_nec.

    IF sy-subrc <> 0.




    and again initiate the object in PBO of 1001 screen.

    Many Thanks / Himanshu Gupta

    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.