Skip to Content

Reg : Clearing Screen Text Field

Hi Team ,

In the above image , When ever the Customer Agreed Date is changed , Code group and Code field becomes enabled and what ever the previous value which were there initially will get cleared.

Now The field beside the Code shows the Description(Text) of the code.

The issue is that field is not getting cleared.

I am clearing , and while debugging the variable that is passing the description value to this screen field don't have any value after clearing.But still in the screen its the cleared value are not reflecting.

There is an error message which is written immediately after the clear statement.

The problem happens only while clearing.

Instead if i pass another value then no issue its displaying that new value.

So how to clear the text from screen field.I thing its some thing buffering issue.

Please suggest me some idea to achieve this.

Thanks!

Karthik.S

sample.PNG (6.2 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Jun 12, 2014 at 09:53 AM

    It happens if you throw TYPE 'E' message. Reason is PBO won't be executed on throwing TYPE 'E' message.

    Instead use,

    MESSAGE 'Error text' TYPE 'S' DISPLAY LIKE 'E'.

    LEAVE TO SCREEN sy-dynnr.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 12, 2014 at 08:43 AM

    Hi Karthik,

    Try to clear values in ROCESS BEFORE OUTPUT under MODULE status option......


    Regards,

    Ritesh

    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.