cancel
Showing results for 
Search instead for 
Did you mean: 

Undelete a deleted PO item line10

RitaB
Participant
0 Kudos

I want to undelete a deleted PO.

I am using ME22N select a line item but the delete symbol is in display mode. I have to undelete a line item. Please help...

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

If you will delete the all line items of PO, system will not set the

deletion indicator at the header level because you can undelete the

any individual line again. If system will set the deletion indicator

at the header level then user can not undelete individual line item.

This behavior of system is correct.

You can activate the functionality of PO cancellation at the header

level as mentioned in note 578630 also. For this, you needs to

implement the BADI ME_ACTV_CANCEL_PO. You needs to set the indicator

is_active as X in the implementation of BADI.

is_active = 'X'.

Once you will activate the implementation of BADI, then system will

display "DELETE" icon at the application toolbar of Purchase order.

If you will click on header Delete icon, system will put the deletion

indicator at all the line items of PO as well as at the header level.

In that case, system fills the value C in field EKKO-LOEKZ.

User can undo cancellation of PO at the header level also.

Another hint About EKKO-LOEKZ and archiving process

to reset the EKKO-LOEKZ, as per note 401318, this was

not covered by SAP Support as it was NOT a standard process, and the

setting of EKKO-LOEKZ was NOT planned in the standard functionality.

the report Z_RESET_EKKO_LOEKZ in note 688856

might help you to write your own customize report for this purpose.

Please read the note 401318 carefully before your further process.

BR

Nadia Orlandi

Answers (3)

Answers (3)

Former Member

Hi there:

1) You need to select the line item which had been deleted.

2) To click the "lock" icon at middle of PO layout, once you did it, you will be able to see "lock" icon marked for your line item.

3) Select this line item again, then click "unlock" icon, then it will be undeleted.

Khushi2416
Discoverer
0 Kudos
Excellent, It was working to solve my problem, thank you.
Former Member
0 Kudos

Check whether you are in the edit mode and also check whether you are checking the correct purchase order.

Also check the below link

former_member188931
Active Contributor
0 Kudos

Hi,

Select the line item, then first click on Block button i.e. near to delete button and then click on Unblock button.

Please check and revert.

Thanks

Hrishi