Skip to Content

How to remove Sales Order reference from PO item level (Account assignment tab)?

Hi colleagues and experts,

I have SO based on which PO is created. When item from PO is deleted there is still reference to SO item in PO item Account Assignment tab (see attached image):

The reason why I want to remove this SO item reference is because I am not able to delete SO item if it is referenced to some other document as in this case.

So I have the following questions:
1) What is correct approach from functional side in my described case?
2) Is it possible from ABAP to remove this reference, which user exit I should use to modify this - after I deleted item from PO?

If you need additional information or you have questions, please let me know.

BR, Kristaps

so-reference.png (89.1 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Nov 16, 2016 at 12:36 PM

    It is not wanted by design that you delete items from the sales order which has already a PO. You can only reject.

    see for background OSS note 210470 - How can a third-party item be deleted?

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Jürgen,

      Items could be rejected now in my sales order. But I am getting below message. In my case it is saying that items could not be deleted (I have configuration that deletes item from sales order if BOM is changed - component from it is deleted).

      1) Now I made small enhancement that sets for these items Reason for Rejection, but still this message comes. Is it possible to remove it in case item is rejected? If item is not rejected, I would like to see it.
      2) Also I would like to know, if I can modify this message and add related document number there, for example, PO number?

      BR, Kristaps

      v1613.png (32.7 kB)