Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

updating database table

Hi All,

I am using following code in a custom-function module.

tables: z_time.

move emp_no to z_time-empid.

move name to z_time-name.

move date to z_time-zdate.

move proj_id to z_time-projid.

move act_id to z_time-actid.

move hrs to z_time-hrs.

move remarks to z_time-remarks.

update z_time.

Now while debugging, the values are moving from variable to databse fields.

But finally sy-subrc is showing '4' value when the system executes "update z_time" statment executes....

How to come out of this error and update the table?

Regards

Pavan

Tags:
Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question