cancel
Showing results for 
Search instead for 
Did you mean: 

Quantity not getting copied into the Return SalesOrder created wrt SalesOrd

Former Member
0 Kudos

Hi,

When creating a Return Sales order wrt Sales Order the quantity is not getting copied its BLANK.

In VTAA the data transfer routine used is 151 .

Let me know if any of you have encountered this problem using the std functionality and how to fix this.

Thanks

Parveen

Accepted Solutions (0)

Answers (2)

Answers (2)

Lakshmipathi
Active Contributor
0 Kudos
When creating a Return Sales order wrt Sales Order the quantity is not getting copied

Ideally, you should create a return order referencing the parent plant's billing document and not the sale order.

thanks

G. Lakshmipathi

SmileZhang
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Parveen,

The order quantity is 0 because of the fact that standard setting ot field "Pos./neg. quantity" is blank.

It makes sense since we don't recommend user to create full return with sales order. Normally the customer only return parts of the full order quantity.

You could change the field setting if you want.

Thanks and best regards,

Smile

Former Member
0 Kudos

Hi Smile,

Can you please elaborate on how to use "field setting".

Thanks

Parveen

SmileZhang
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Parveen,

You could just go to T-code VTAA and go to the copy control for item leve.

Press F1 on field "Pos./neg. quantity", I think the documentation explains it well.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Quantity is calculated positively, negatively or not at all

Indicates whether, during copying, the quantity or value in the target document has a negative effect, positive effect, or no effect at all on the quantity still to be completed in the source document.

Use

The system uses this indicator to determine how the quantity in the source document is affected. For example, if you

Create a quotation item for 100 pieces,

Copy the quotation into a sales order, and

Create a sales order item for 80 pieces,

the copying has a positive effect on the quotation. In effect, you have added 80 pieces to the quotation quantity that is now considered complete. 20 pieces in the quotation remain to be completed.

If you do not make an entry in this field, or set indicator 0, the source document is not blocked, which allows you to create several target documents at once (for example, when using EDI and frequent contract releases).

While the source document (such as quotation or quantity contract) is being processed, it is blocked. For instance, if you are working on a quantity contract, no one can create a release order for that contract).

Example

In sales documents, for example, you can expect the following results:

Quotation -> Sales order: positive

Contract -> Return: negative

Sales order -> Sales order: no effect

In billing documents, for example, you can expect the following results:

Delivery -> Invoice: positive

Delivery -> Cancellation: negative

Delivery -> Pro-forma invoice: no effect

~~~~~~~~~~~~~~~

Best regards,

Smile

SmileZhang
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Parveen,

I tested in our standard system. It seems that you could not change the field value to "+" or "-" since there is no completion rule setted in VOV7 for normal item like TAN.

The Pos./neg. quantity is only designed for "Contract" documents like Quantity Contract, Quotation...

"Completion rule" could only be set in item category for contract documents.

I am sorry but I think you have to modify the standard copy routine or creating your own routine to copy the quantity from sales order to return order.

Thanks and best regards,

Smile

Former Member
0 Kudos

Hi Smile,

You are absolutely correct.

I tried the option of +/- but was not able to set it due to completion rule in the Item Category.

I also tried the option of setting the 'Copy Quantiy' flag as B in the copy controls and it dint work.

Do you mean that the data transfer routine 151 to be modified ?

Thanks

Parveen

SmileZhang
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Parveen,

I did debugging and testing in our standard system... unforunately the logic is complex...

When copying from QT to OR, the quantity is copied from schedule line, however "Copy schedule line" is set as blank when copying from OR to RE.

I am not sure whether it will work well if you only modify routine151...

Another suggestion is as told by the other guy that creating return order with reference to the billing document instead of sales order. Is it ok according to your business requirement?

Thanks and best regards,

Smile