cancel
Showing results for 
Search instead for 
Did you mean: 

Delete Sales Order Line item , change quantity of open items- OTC complete

Former Member
0 Kudos

Hi,

I have this scenario.

Sales order has been raised, partially delivered, Invoiced.

There are about 45 line items.

1. 2 line items which are not delivered at all, need to be deleted.

2. The quantity for 6 line items which are partially delivered(open items), needs to be changed to the quantity that is delivered.

Has someone faced this before? If so, what was the work around.

Thanks,

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Dear SAP SD_Newbie,

In your first issue

1. 2 line items which are not delivered at all, need to be deleted.

For this you assign the reason for rejection to those 2 line items in item level.

2. The quantity for 6 line items which are partially delivered(open items), needs to be changed to the quantity that is delivered.

If you have done the pgi you can't change the quantity ,Before the PGI only you are allowed to change the quantity.

Please let me know if you have any further clarifications

Thanks&Regards

Raghu.k

Lakshmipathi
Active Contributor
0 Kudos
what was the work around

Simple, go to that sale order and do whatever changes you require. Hope your query is about the required changes to be made to one particular sale order. If the number of sale orders is huge, then via MASS you can do the same.

For deletion, you need to create LSMW for VA02.

G. Lakshmipathi

Former Member
0 Kudos

Hi Lakshmipathi garu,

See, for this Sales Order(thankfully only one SO) the OTC cycle has been completed. For each line time, there were partial deliveries made and invoiced.

I was under the impression that because this Sales Order has subsequent documents, it would prevent the deletion of the line item (although un-delivered).

If it is that simple the user would have done it himself, why would he send it to me (the consultant).

Am I missing something. Being a newbie, I try to double check my thinking, just to be safe.

Thanks.

Former Member
0 Kudos

Hi You cant delete the line items which are partially delivered,only possible thing is you mark them for rejection which valid reason code.

Items which are not delivered can be deleted.

Former Member
0 Kudos

Hi,

Eventhough the order has subsequent documents.you can do it as laxmipathy said.that is the only way to do.

Thank you,

Former Member
0 Kudos

Hi ByalaKK ,

My requirement is to:

1. Delete the line items (2 line items), which are undelivered - no made at all has been made.

2. For open items, change the quantity in the Sales order from the value originally entered in Sales order to Delivered quantity. Example, in VA01 if the quantity of the material (line item) was 20 and 3 pieces each were delivered in 2 out bound deliveries, I have to make it as 20 - (3 + 3) = 14.

Are the above tasks 1 and 2 do able? Little scared, I have n't done this before so being cautious.

Thanks.

former_member184555
Active Contributor
0 Kudos

Little scared, I have n't done this before so being cautious.

Try it out in your development system or if available, in the IDES. It is not difficult to find out a similar kind or order in the database. Else, you can replicate the scenario.

Former Member
0 Kudos

Thank you All, for your support and valuable time.

I am closing this ticket, as this has been resolved.

I could not delete the line item that was not delivered at all, due to a Z development which was throwing a Z error message, I took the help of ABAPer and got it closed.

Former Member
0 Kudos

Thank you All, for your support and valuable time.

I am closing this ticket, as this has been resolved.

I could not delete the line item that was not delivered at all, due to a Z development which was throwing a Z error message, I took the help of ABAPer and got it closed.