Skip to Content
0
Former Member
Dec 06, 2006 at 07:58 PM

Corresponding Sales order number for a Return order

611 Views

Hi All,

Using a return order number I need to find the sales order and corresponding outbound delivery.

Case 1: If the return order is created with reference to the sales order then the VBFA table has the sales order number, line item and corresponding return order number as well as the line item. Hence I can find the outbound delivery for each line item on the return order.

Case 2: After creation of return order with reference to the sales order and later in change mode of the return order any additional items are entered then the VBFA table has the sales order number, line item and corresponding return order number as well as the line item <b>only</b> for the line items that existed during creation of return order. But for line items that are entered in change mode of return order VBFA doesn't have the corresponding sales order line item number. It has just the sales order number and the line item number is '00'. So, with out the corresponding sales order line item number , I cannot get the corresponding delivery.

Even in VBAP , the ref document number and item are empty.

So, if anyone has a solution for this problem please let me know.

Thanks,

Sonali.