cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic display

Former Member
0 Kudos

Hi Team,

I have created 3 fields on selection screen.Middle field is display or hide based on input  provided in the first field(Done in modify view).But when I am selecting third field and press F4 the data entered inthe second field is clearing the middle field values.

Can any suggest the solution to the above problem.

Thanks and Regards,

Uma

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi Uma..

Please share your code of modify view.

Former Member
0 Kudos

Hi Pranav,

Please check the below code:

get single attribute

           lo_el_visibility->get_attribute(

             EXPORTING

               name `DEPTH`

             IMPORTING

               value = lv_depth ).

         lo_el_visibility->set_attribute(

           EXPORTING

             name = `DEPTH` " pass the attribute name here.

             value = cl_wd_uielement=>e_visible-visible ).


Thanks and Regards,

Uma

0 Kudos

hi uma

i am not getting your problem...

But try this,

Modify view's code will execute each time when you click on view. i think you are in loop.

So specify some condition (like..lv_depth is initial or not)so that these code will not execute each time when you click on view.

Best regards,

Answers (0)