cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a possibilty to delete PO at header level

Former Member
0 Kudos

Dear Experts,

Is there a possibilty to delete PO at header level. If we have huge line items.

we want to cancel PO & send cancelled PO print to vendor. To cancel PO, we have to delete all line items individually. & in print form we have developed, condition is used like if all the line items are deleted, then print as cancelled PO. Its a tough process to delete all line items in PO. is there any short cut for this.

Regards

MSR

Accepted Solutions (0)

Answers (8)

Answers (8)

Former Member
0 Kudos

Yes, it is possible to delete a PO at header level.

If you want to know the answer please reply.

Regards,

Balaram Devineni

JL23
Active Contributor
0 Kudos

>

> Yes, it is possible to delete a PO at header level.

> If you want to know the answer please reply.

>

> Regards,

> Balaram Devineni

Do not offer silly solutions if you do not know what damage it will cause.

It is not possible to delete a PO at header level.

I know there is a field for deletion indicator. it should better be labeled with archiving indicator.

SAPs archiving programs set an indicator there when the archive is written, and with the deletion program of archiving the archive is read and verified and if okay the corresponding PO with the deletion flag set will be erased from the tables.

But if you set this indicator your self, then SAP will a) not archive this PO at all, as it thinks it is already arcived, and the deletion program will not delete it because there is no corresponding record in the archive.

So you are just causing damages with setting the deletion indicator at header level yourself.

Former Member
0 Kudos

Hello Jürgen,

Solution has been suggested by SAP when I have raised a OSS message for the following issue.

Purchase orders will be created and deleted from the third party system through IDOC. Deletion indicator was setted at header level in the IDOC. Recently support pack upgrade was done. After this activity deletion of PO are not happening and throwing error message. So after my reaserch, we have raised the OSS message and SAP has suggested to delete it at header level.

Is the solution causes any problem?

Former Member
0 Kudos

Hi,

I t would be a good idea to dig further on the Solution given by SAP on a OSS message and context that was raised.

All the time it was understood by everyone in MM space that to remove PO from Database --> Archiving is the proven process.

Like experts have mentioned in other posts, the impact of deleting the PO from Data base and not archiving leads to various issue during SOX audits . Please make sure you don't end up in audit issue to get rid of PO's. Any Organization that intents to delete PO's have to consult the Accounting Team as they also have to retain PO for certain defined time frame.

Hope this view point helps.

Thx

MJ

JL23
Active Contributor
0 Kudos

> Hello Jürgen,

>

> Solution has been suggested by SAP when I have raised a OSS message for the following issue.

>

> Purchase orders will be created and deleted from the third party system through IDOC. Deletion indicator was setted at header level in the IDOC. Recently support pack upgrade was done. After this activity deletion of PO are not happening and throwing error message. So after my reaserch, we have raised the OSS message and SAP has suggested to delete it at header level.

>

> Is the solution causes any problem?

I believe this solution you got from SAP was for a very special case of you, and not a general approach, or is there an OSS note with number released for everybody?

Former Member
0 Kudos

I want delete multiple purchase order at once. Is their is a way????

JL23
Active Contributor
0 Kudos

use MEMASSPO and set deletion indicator for all items.

Former Member
0 Kudos

thanks

Former Member
0 Kudos

Hi though there is no way out for header level deletion of Purchase orders , even though you can access or set deletion indicator at (EKKO)header as deleted. Once done so, you will come to know that each line item deletion indicator gets automatically set.

Hence its actually line item wise deletion.

Former Member
0 Kudos

HI

Use Mass maintainence using tcode MASS object type BUS2012

select Purchase Order Item as short description and table as MASSEKPO in the tables tab,

then in the fields tab select MASSEKKO-LOEKZ as field and give the PO number/line items ,put X in the new value and click the carry out the mass change and finally save, try this

Regards

Amuthan M

Edited by: Amuthan M on Apr 15, 2010 12:31 PM

Former Member
0 Kudos

write BDC to set deletion at item level in PO

Former Member
0 Kudos

its very simple to delete all the lines in PO

click on select all in item level box with green lines and arrow

all lines will be selected and than cleck on delete

any way there is no way to delete PO at header level

hope this helps

Former Member
0 Kudos

Hi,

No, you can not delete PO at header level.

But deleting PO at item is not at all tough process even though you have 1000's of line item. Just go to Me22n transaction there below item details part of screen you will find the select all button, just click an it and set deletion indicator. Please check it.

Regards

Chetan

Former Member
0 Kudos

It is not possible to delete PO at header level. you have to delete at item level only