cancel
Showing results for 
Search instead for 
Did you mean: 

Purchase order - error in deleted items

Former Member
0 Kudos

Hi all,

I have the following situation: when changing an existent purchase order, if I have a deleted item with an error, the system doesn't allow me to save the purchase order if I don't correct the error in the deleted item.

I have a requirement for the client to suppress this behaviour.

Any ideas on this?

Thanks in advance.

Best regards,

Sónia Gonçalves

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

This is standard SAP behavior, even if your have deleted certain items, SAP still checks for mandatory fields / errors in user data entry before allowing you to save the deletion.

I am not sure if this can be suppressed.

Answers (10)

Answers (10)

Former Member
0 Kudos

Hi,

you  may try writing an above code to ignore the deleted PO line item in PO item badi

Former Member
0 Kudos

Hi,

First of all, thank you all for your answers.

I got this from SAP:

"As per system design, the PO item must be free of errors before you can save it (even if it is deleted). This is to ensure that no error appears suddenly if the PO item is later undeleted. SAP generally

allows saving only if the entered data is consistent, so that it does not cause unexpected errors later"

I have a requirement to suppress this behaviour, since the client doesn't understand why they have to correct a deleted item.

Any ideas on a user-exit ou badi where I could ignore this validation and how?

Thanks.

Best regards,

Sónia Gonçalves

Former Member
0 Kudos

Hi,

please post the screen shot of error message.

There may be some mandatory field which you have not updated.so only system is not allowing to save

thanks

Former Member
0 Kudos

There may be lot of validation on exit or release control which working on that, it may happen in old cases, in that duration no any validation and now many validation exists. So better you need to talk with Manager, Colleague or old employee or with abaper for clrearance.

Regards

Sanjeet

Former Member
0 Kudos

If you had deleted the line item of which has errors then system will not issue any errors, becasue system will not perform any check option on the deleted items.

Syntax check will be performed on items whcih are not deleted.

Please verify your entry in PO.

If you are still facing the issue, please post the error screen shot of the PO.

former_member183424
Active Contributor
0 Kudos

Well, system will allow to save if you have successfully deleted the item.

Here you can see I have deleted the second line item which has no Material and no quantity.

If I remove the deletion flag, then system prompt the error message.

I hope the problem is system doesn't allow to set deletion flag for this line item.

Check is there any GR happens for the line item.

Are you facing the error Message no. 06115 ?

Regards

Dev

Former Member
0 Kudos

Hi dev ,

please  give item category  and  Account assignment  and  then  delete  the line item .

w/o  giving the  g/l account  can you delete the  line  item .You  cant delete ..............

Former Member
0 Kudos

Hi Sónia,

You may give some irrelavent cost center can be acceptable(just to avoid the error message) for the line item and try deleting that line.

Thanks,

Thomas.

former_member182673
Active Contributor
0 Kudos

Unfortunately this is a standard response of SAP on POs. There is no way to suppress this, ask your client to either change the G/L account if that is the source of the error or abandon this PO if possible. Not worth spending more analysis time on this or even looking for a solution.

Former Member
0 Kudos

Dear  Sonia,

your question is not clear. Pl provide the screen shot of error.

Regards,

PK.

Former Member
0 Kudos

Hi Sónia,

what is the error message number you are getting.

WR,

Charan

Former Member
0 Kudos

Hi,

This happens in account assignment validation errors for example, like wrong cost center, order not allowed.

Thanks.

Best regards,

Sónia Gonçalves