Skip to Content
Former Member
Jul 28, 2008 at 07:04 PM

Add a line item automatically in sales order during save



I'm trying to add a line item in an order during saving (USER EXIT DOCUMENT SAVE PREPARE) by inputting only the material code into XVBAP structure.

However, the other fields in the said structure are not automatically filled up as when for example you manually enter a material code into the sales order line item.

Is there a way we can alternatively do this or better yet, an easier way to do this?


Edited by: Jimmy Bondoc on Jul 28, 2008 9:05 PM