updation of databae .
Dear gurus ,
I am designing one module pool prog for purchase ( lc in sd vx11n ) as my client requirement .
I have lot of fields , here I cant use update command for updation of databse in change mode like vx12n , because of lot of field . Is there any way so that system wl identify by itself any changes in any field , then only it update the FD document no .else message come data already saved .
I need your healp gurus , I am waiting for your valuable reply .
Avinash Kodarapu replied
You can compare the structures before updating to the database.
Take Structure ST_OLD & ST_NEW both contains the same data before PBO use the ST_NEW structure field on th screen and change by user in the values then ST_NEW contains new value then
IF ST_OLD NE ST_NEW. " Update database ELSE. " No Change in the data record ENDIF.