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