Skip to Content
0
Former Member
Nov 22, 2010 at 04:57 PM

Userexit in VA41. Changes to field aufnr are not saved

69 Views

Hello,

I have to fill the field xvbap-aufnr with the field vbeln during saving a order (contract) in VA41.

I tried to use "userexit_save_document" and "userexit_save_document_prepare".

The problem is that in userexit "userexit_save_document_prepare" the field vbeln is not field because we use an internal num range.

In userexit "userexit_save_document" the vbeln is filled but I am not able to change the entry of xvbap-aufnr. I can change the field value but my changes are not written to the data base. Why ????

Thanks