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: 

enhancement MV50AFZ1, USEREXIT_SAVE_DOCUMENT...... VBKD details not found

Former Member
0 Kudos

Hi All,

I am working with the enhancement MV50AFZ1, USEREXIT_SAVE_DOCUMENT.

The scenario is like this, in VL02N, for each line item, i need to populate one custom internal table defined by me and that internal table consists of fields of VBKD.

Now, I have debugged and found that VBKD structure is present in this exit and gets populated but the internal table of VBKD that is XVBKD which is present in the exit does not get populated . The problem is if the structure only gets populated, it contains the final line item data in it.

Hence, i cannot get the data for the other line items.

Say, in VL02N, i have line item 10, 20, 30

At USEREXIT_SAVE_DOCUMENT, i only get vbkd details of line 30.

Please suggest how to get the vbkd details of all the line items. Why the table XVBKD is not getting populated ?

Edited by: subhajit bhadra on Jul 6, 2010 12:51 PM

Edited by: subhajit bhadra on Jul 6, 2010 12:52 PM

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Check whether the entries in VBKD are related to Delivery or the Order. Are you changing the data of VBKD in VL02N? If not

extract the data from table VBKD and update the Z table.

Regards

Vinod

1 REPLY 1

Former Member
0 Kudos

Hi,

Check whether the entries in VBKD are related to Delivery or the Order. Are you changing the data of VBKD in VL02N? If not

extract the data from table VBKD and update the Z table.

Regards

Vinod