Skip to Content
author's profile photo Former Member
Former Member

reg update

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 08, 2008 at 11:23 AM

    Hi,

    Try using COMMIT WORK after update statement.

    Regards,

    Satish

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 08, 2008 at 11:25 AM

    UPDATE zinv_header SET invoice_core = p_perinv

    invoice_created = inv_cnt

    username = sy-uname

    systemdate = sy-datum

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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 08, 2008 at 11:28 AM

    loop at table into workarea.

    update dbtable from workarea set field = workarea-field

    where

    workarea-field = ''.

    thnkx

    bhanu

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.