Skip to Content

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

MODIFY dbtab FROM wa - Not Working

Hi Experts!!

CLEAR gs_proj.


gs_proj-aenam = sy-uname.

gs_proj-aedat = sy-datum.

gs_proj-zzdate = date.

MODIFY zrproj FROM gs_proj.

ZRPROJ is copy of PROJ table with an extra primary key as zzdate. Now though I give a unique entry with different zzdate, MODIFY is not working but is giving sy-subrc 4. When I checked, there were secondary indices in ZRPROJ (copied from PROJ) and hence deleted all the secondary indices. But still sy-subrc is 4 only.

Can anybody help me in figuring out what the problem is here?

Your help is highly appreciable.

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