Skip to Content

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

MV45AFZZ - Usage of XVBAK/YVBAK/VBAK Fields

We have a requirement to update a VBAK field (created for our own use as an extension to VBAK) based on a change to VBAK-LIFSK.

Our check statement for the change is as follows:

"IF YVBAK-LIFSK EQ 'ZZ' AND XVBAK-LIFSK IS INITIAL."

So if LIFSK was 'ZZ' and has now been changed to INITIAL we wish to update this other VBAK field. The check takes place in Form USEREXIT_SAVE_DOCUMENT_PREPARE.

This check functions correctly when we execute the change to LIFSK in dialogue. However, we have another background process that makes the change through BDC with 'Call transaction' in synchronous mode. In this case we are not detecting the change. Also, we are not able to interrupt this processing in debug mode so cannot check the values concerned.

Interestingly, we did have other problems in which field to update as a result of the above. We now move the value to both the VBAK and XVBAK occurrences of our new field.

I feel the probem is either due to a misunderstanding of the usage of the XVBAK//YVBAK/VBAK fields or that there is some difference in their handling when VA02 is run through BDC.

As ever, would much appreciate your assistance.

Helpful Answer

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