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

Clearing screen fields in web dynpro...

Hello Experts,

I've developed a simple web app for c.r.u.d operations. I need help in clearing the screen fields after any action is performed by the user.

suppose I clicked on create button after performing that action the screen elements should get cleared.

Please help me out.

thanks,

regards,

Nagendra

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 07, 2015 at 11:24 AM

    If any one has an Idea please let me know.I'm all ears 😊

    thanks,

    regards,

    Nagendra

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Nagendra,

      please find the below code for clearing a list of screen fieds.

      in on_action_create method.

      clear : ls_str.

      lo_el_str->set_static_attributes(
      static_attributes = ls_str ).

      also do the same in WDDOMODIFYVIEW.

      Thanks,

      Marimuthu.K

  • author's profile photo Former Member
    Former Member
    Posted on Jan 07, 2015 at 11:53 AM

    Hi Try with

    wd_context->invalidate( ).

    or

    just call the code wizard for setting values to the node ,, before set just clear the work_area ( Means pass empty values ) .

    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.