Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Difference between XVBAK and VBAK

Former Member
0 Likes
2,089

Hi,

Anyone knows the difference between XVBAK and VBAK? i noticed sometimes if you do changes it goes populated on XVBAK but certain scenarios it only populates VBAK and XVBAK is empty.  I'm just wondering why?

If i am doing a IF condition is it practice to always check on both of them?

Thank you.

4 REPLIES 4
Read only

madhu_vadlamani
Active Contributor
0 Likes
1,294

Hi,

Can you explain what is the business requirement.

Regards,

Madhu.

Read only

0 Likes
1,294

During creation or change of a sales order for example, the order type must be 'OR' for a certain customer logic to be triggered.

why in some case xvbak and vbak has values whereas on some case xvbak doesn't have?  should i always have to check both like this statement:

IF xvbak-auart EQ 'OR'

OR vbak-auart EQ 'OR'.

ENDIF.


Thanks

Read only

0 Likes
1,294

Hi CZ,

While creating sales order before updating  into VBAK and VBAP tables it will maintain these data in XVBAK and XVBAP .Finally this will update vbak and vbap tables.

Regards,

Madhu.

Read only

0 Likes
1,294

Thanks.. that makes sense because when I do a change and change only on item level then xvbak is empty.