Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

dynamically editing input fields

Former Member
0 Likes
571

i would like to know if it is possible to insert or delete I/O fiels, labels on a screen at run time.

Thanks,

Mukesh.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
538

Hi,

You can deactivate them at runtime

Say P_MATNR is ur screen field name

AT SELECTION SCREEN.

loop at screen.

if screen-name eq 'P_MATNR'.

screen-active = 0.

modify screen.

endif.

endloop.

If it is module pool , then write the code in PBO

4 REPLIES 4
Read only

Former Member
0 Likes
538

Hi,

While populating field catalog for the tabel entries, check the Edit option for the required columns so as to enable the user to change the fields.

regards,

Read only

Former Member
0 Likes
538

I dont know if you are talking in terms of module pool screens or report scrrens, in either way use loop at screen.endloop. in between the loop use case screen-name and control it there. In reports use the event at sel screen output, for mod pools use PBO.

hope it helps

Rgds

Sameer

Read only

Former Member
0 Likes
539

Hi,

You can deactivate them at runtime

Say P_MATNR is ur screen field name

AT SELECTION SCREEN.

loop at screen.

if screen-name eq 'P_MATNR'.

screen-active = 0.

modify screen.

endif.

endloop.

If it is module pool , then write the code in PBO

Read only

Former Member
0 Likes
538

Hi,

You should use abaphelp and search for loop at screen and screen fields.

You'll find out that you can enable/disable fields, Hide/unhide them.

You can also set dinamic values for prompts. The info is all there.

Regards,

Chaitanya.