Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

reg update

Former Member
0 Kudos

hi all

UPDATE TABLE zinv_header .

SET invoice_core = p_perinv

invoice_created = inv_cnt

username = sy-uname

systemdate = sy-datum

systemtime = sy-uzeit.

this statement is not working, so i add a field mandt in the z table. i have to give the where condition, how can i give?

support please

regards

karthik

3 REPLIES 3

Former Member
0 Kudos

Hi,

Try using COMMIT WORK after update statement.

Regards,

Satish

Former Member
0 Kudos

UPDATE zinv_header SET invoice_core = p_perinv

invoice_created = inv_cnt

username = sy-uname

systemdate = sy-datum

systemtime = sy-uzeit WHERE MANDT = '001'.

Former Member
0 Kudos

loop at table into workarea.

update dbtable from workarea set field = workarea-field

where

workarea-field = ''.

thnkx

bhanu