Application Development and Automation 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: 
Read only

reg update

Former Member
0 Likes
569

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
Read only

Former Member
0 Likes
539

Hi,

Try using COMMIT WORK after update statement.

Regards,

Satish

Read only

Former Member
0 Likes
539

UPDATE zinv_header SET invoice_core = p_perinv

invoice_created = inv_cnt

username = sy-uname

systemdate = sy-datum

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

Read only

Former Member
0 Likes
539

loop at table into workarea.

update dbtable from workarea set field = workarea-field

where

workarea-field = ''.

thnkx

bhanu