modifying the field and inserting into the database
i am working on modulepool programming...here i have to display material related data i.e. material number,material name,quantity,price and others...
here the data must be displayed in changeable format and when i change the quantity and press save button the new quantity must be written in the database.
kindly let me know how can i resolve this..thanks in advance
In the PBO Event of the Screen you can put the code in one of the module which will enable/disable the quantity column.
The pseudo code is as follows:
LOOP AT SCREEN.
IF Screen- name = 'Column Name'.
screenname-input = 1.
Have a look at the ABAPDOCU Transaction Code for example code.
Hope this will help.