Application Development 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: 

What are internal tables XVBAP and YVBAP

Former Member
0 Kudos

This should be a simple question for all of you SD ABAP gurus.

What is the difference between the data in the internal tables XVBAP and YVBAP, specifically in user exit MV45AFZZ?

Thanks!!

1 ACCEPTED SOLUTION

former_member404244
Active Contributor
0 Kudos

Hi wardell,

In sap X and Y have diffent meanings...

The x refers to the present data i;e recent values and Y refers to old data..

For example i have 10 records ,when i add one more record

it will be 11.So the X table will have 11 entries and Y table will have 10 entries .

In sap for all the things the X and Y concept remains the same..

Hoping this might help u.

Regards,

Nagaraj

4 REPLIES 4

former_member404244
Active Contributor
0 Kudos

Hi wardell,

In sap X and Y have diffent meanings...

The x refers to the present data i;e recent values and Y refers to old data..

For example i have 10 records ,when i add one more record

it will be 11.So the X table will have 11 entries and Y table will have 10 entries .

In sap for all the things the X and Y concept remains the same..

Hoping this might help u.

Regards,

Nagaraj

Former Member
0 Kudos

A small help

For field mofifications, which are dependent on the document status, you can use the status field in the workareas XVBAP for item status and XVBUK for header status.

This form is called from module FELDAUSWAHL.

regards

Srikanth

Former Member
0 Kudos

Wardell,

XVBAP table will have new/updated data and YVBAP will have old data. In userexit MV45AFZZ if you want change data based on any validations then you need to change XVBAP table.

Satheesh

PS: Award points to responses which are helpful to you.

0 Kudos

Hi Satheesh,

I have followed what you said here but even after changing the data in xvbap it doesn't save. is there a flag that needs to be marked before it will save the changes?

Regards,

Simon