cancel
Showing results for 
Search instead for 
Did you mean: 

How to delete PO number at table level ?if we are not marked deletion indicator in PO screen

former_member816446
Discoverer
0 Kudos

How to delete PO number at table level ?if we are not marked deletion indicator in PO screen

Accepted Solutions (0)

Answers (3)

Answers (3)

venkateswaran_k
Active Contributor

Hi vignes123

If you want to eliminate the PO - You can achieve this in following ways. (But do not delete it manually - that will cause inconsistency - as Dominik alerted ).

1. You can either Archive the PO - using SARA transaction so that it will not be visible in normal business transactions.

2. You can Open the PO in ME22n - and mark all the Items - Mark the delivery indicator as completed.

3. You can open the PO in ME22n - and mark all the line items - deleted. So that it will not be appearing in MIRO or MIGO transactions so that no financial entries will be created further.

I would prefer, you can use SARA and archive the PO - if you really do not want to see at any place.

Hope you can choose any of these ways to achieve your requirement.

Regards,

Venkat

former_member816446
Discoverer

Hello Venkateswar,

Thanks for the kind information.

DominikTylczyn
Active Contributor

Hello vignes123

Purchase orders are stored in EKKO, EKPO and probably a dozen other tables. There is very slim chance that you delete a PO consistently. Therefore you should never ever manipulate SAP standard tables directly - that is a recipe for a disaster.

You can manage POs with the ME22N transaction or with the BAPI_PO_CHANGE function.

Best regards

Dominik Tylczynski

former_member816446
Discoverer

Hello Dominik,

Thanks for the kind information!!

BijayKumarBarik
Active Contributor
0 Kudos

PO is an external purchasing document and you should not delete in table level at all. If PO along with PO item need to be deleted - you can set deletion flag to line item with ME22N and if many PO's are there you can design a custom transaction code which call a BAPI on PO changes for your requirement.

Additionally , if you have archiving process in place with archiving server - you can go for archiving of PO/PO's with defined data periods with help of SARA.