Delivery creation with ref to sales order
I found couple of BAPI's / FMs to create delivery but i could not able to pick the right one because i am not sure what are the important parameters i need to pass, could any one suggest me the correct bapi / FM with the required parameters for the below requirement.
1) Needs to create delivery with ref to sales order.
2) Batch field should be updated in the delivery while creating itself.
I am just thinking about the FM - GN_DELIVERY_CREATE