Skip to Content

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

Update reason for rejection filed at item level while saving in VA01

Dear Experts,


I need to update reason for rejection field (VBAP-ABGRU) while saving sales order in VA01 tcode.

For this i implemented user exit  (USEREXIT_SAVE_DOCUMENT in include MV45AFZZ)  .

This code is implemented in SAP EHP 7.

Code is below :

IF SY-TCODE EQ 'VA01'.

loop at xvbap into fs_vbap.
fs_vbap
-abgru = 'Z1'.

MODIFY xvbap FROM fs_vbap TRANSPORTING ABGRU

endloop.

It is updating in xvbap table but it is not updating in VBAP table.

The same code i implemented in sap EHP4 version it is working fine,

What is the problem in ehp7 and please help me in this.



Helpful Answer

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