cancel
Showing results for 
Search instead for 
Did you mean: 

Clearing screen fields in web dynpro...

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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 ) .

Former Member
0 Kudos

Thanks for your answer. I just found in one of the threads, anyways I appreciate your help.

Thank you,

Regards,

Nagendra

Former Member
0 Kudos

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

thanks,

regards,

Nagendra

Former Member
0 Kudos

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