cancel
Showing results for 
Search instead for 
Did you mean: 

Help reagrding XVBAK and YVBAK

Former Member
0 Kudos

Hi,

Can anyone plz tell me how data from XVBAK and YVBAK reflected into database table....

Accepted Solutions (0)

Answers (2)

Answers (2)

naimesh_patel
Active Contributor
0 Kudos

XVBAK contains the current data from the transaction.

YVBAK contains the data which is same as the database.

If you are changing any data than you need to use XVBAK.

You can use the field exit, USEREXIT_MOVE_FIELDS_TO_VBAK to modify the data in XVBAK.

REgards,

Naimesh Patel

Former Member
0 Kudos

Hi,

I quote from SAP Note 178238:

*****

In principle, the administration of X and Y tables in the order, the delivery and the billing document follows a fixed logic.In the following, this logic is described for the case of a closed document processing as it occurs approximately immediately before the saving of the document (for example in user exit USEREXIT_SAVE_DOCUMENT_PREPARE).In the user exits which are called during the document processing, there can be temporary deviations from this logic which cannot be handled here.

The X tables contain the current status of the document including the changes applied in the current transaction.

The Y tables only play a role in the change mode of document processing. They contain the original status of those table entries changed during the current transaction.Thus the entries in the Y tables reflect the previous status of the document on the database.

*****

Regards

Nikhilesh