Skip to Content
Former Member
Apr 05, 2007 at 10:54 AM

creating line item for a sales order in user exit



I have to create a line item through user exit "userexit_save_document_prepare" when saving the sales order.I am doing this by appending a row to the internal table XVBAP in the user exit.

The row is getting appended to the internal table but the line item is not getting created in the sales order .I dont getting any error also.

Can anyone tell me what could be the reason for this and is there any other means by which i can create a line item through the user exit.