Skip to Content
Oct 20, 2011 at 03:04 PM

Creating SD schedule lines in user exit



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