cancel
Showing results for 
Search instead for 
Did you mean: 

Deletion of Product Loaction in APO

Former Member
0 Kudos

Hello Gurus,

I want to delete a product location from my system.

So when I try to set the deletion flag it was saying 'Orders Existing for the Product'.

When I used RLCDELE and PP Order Delete I'm not able to find any data.

I also check in the planning book and product view but no transaction data was available.

Finally when I debugged it came across a check against the table '/SAPAPO/ORDADM_I'.

If any entry is available in the table for the particular product location combination it throws an error.

So please advice how can I remove the entries from the table /SAPAPO/ORDADM_I.

Thanks,

Siva.

Accepted Solutions (0)

Answers (1)

Answers (1)

tibor_nagy
Contributor
0 Kudos

Dear Siva,

you cannot delete any entries from //ordadm_i until they existing in table //posmapn.

With transaction WUF you can see which orders are still existing for particular prod/loc combination.

E.g. if there are still sales orders you have to run report /SAPAPO/SDORDER_DEL under the "Delete on Database" tab and tick the specify the following options:

(a) product and/or location

(b) tick "Adjust ATP Tables with /SAPAPO/POSMAPN"

(c) tick "Delete Obsolete Records in the /SAPAPO/POSMAPN table

Afterwards you can remove entries in the database in tables like /SAPAPO/ORDADM_I etc.

Regards,

Tibor

Former Member
0 Kudos

Hello Tibor,

Thanks for ur reply.

I have executed the report /SAPAPO/SDORDER_DEL.

Now please let me know which report or function module to use to delete the entries from the table /SAPAPO/ORDADM_I or can I do a direct delete using my program.

Thanks,

Siva.