Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

modifying the field and inserting into the database

hi

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

Former Member
replied

Hi,

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.

modify screen.

ENDIF.

ENDLOOP.

Have a look at the ABAPDOCU Transaction Code for example code.

Hope this will help.

Thanks,

Samantak.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question