I just need to create 1 delivery for 1 sales order . Its not a Z program but I can fetch any sales order data needed in the user exit/enhancement point.
The current process creates a delivery for a STO but we need the same for a sales order.
When I pass the STO number and item no in xkomdlgn-VGBEL and xkomdlgn-VGPOS its fine but when I do the same putting the Sales order no and item it fails with all sorts of error messages.
I tried so many different ways of filling data in xkomdlgn but most of the time I get the error "Essential parameters are not transferred...."
Thanks Much !!