‎2008 Feb 06 3:17 PM
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.
‎2008 Feb 06 6:55 PM
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
‎2008 Feb 06 3:25 PM
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,
‎2008 Feb 06 6:52 PM
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
‎2008 Feb 06 6:55 PM
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
‎2008 Feb 07 8:05 AM
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.