10-20-2011 4:04 PM
Hello,
We are automatically creating schedule lines for a certain kind of SD document (scheduling agreement, VA31) in a user exit. We are inserting directly into internal table XVBEP.
Creating those lines works. The values in VBAP and VBEP are exactly the same as if they were created manually, even though the confirmed quantity is only calculated when the document is saved. The requirements show up in MD04 for example.
However, for some reason index table VEPVG is not updated accordingly. Any ideas what we're missing?
Thank you
Roland
10-21-2011 7:37 AM
Found it myself. We didn't maintain the client field when adding new lines to XVBEP. This didn't matter for database table VBEP, but it did matter for index table VEPVG for some reason...