‎2008 Mar 05 4:05 AM
hi,
i need update table vekp-NAMBE and VEKP-NAMEF. using my work area valuses wa_E1EDL37 how to do this, pls help me give me the sample code.
regards,
jai
‎2008 Mar 05 4:07 AM
hi updating manually, with ur work area is not a good proactice.. either use a transaction which does the same purpose or write a BDC..
if still you want to use.. use modify update insert and after doing it use Commit work and wait statement.
‎2008 Mar 05 4:10 AM
Try this.
update vekp set :
nambe = <ur value>
namef = <ur value>
where <ur condition if any>.
‎2008 Mar 05 4:13 AM
Hi,
Try to use the FM V51P_XVEKP_YVEKP_UPDATE to update the field values in in table VEKP. Dont forget to give IF_UPDKZ = 'U'.
Rgds,
Bujji
‎2008 Mar 05 4:14 AM
Hi,
To update the database table fields using work area, use
UPDATE databasetablename FROM workarea.
This statement will overwrite the line of the databasetable which has the same primary key as the workarea.
Make sure,
the line type of the work area is exactly the same as the structure of the database table.
Regards
Vadi