cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot Recreate a PPM

Private_Member_738444
Participant
0 Kudos

Hi folks,

My issue is like this:

The PPM GUID is an unique sap-internal key which get generated when any ppm is saved & assigned to the active model. This is the internal id which can be found in the table /SAPAPO/PMPMAP. This key also gets subsequently erased from this table the moment any PPM is unassigned from the model & deleted from the APO.

Example : The PPM GUID for PPM1 =PRODUCTNAME1_LOCATION1 is JaX0gGi40A}X00002XStUG.

Unfortunately this standard procedure is not working currently for this material = PRODUCTNAME1 in APO system, hence the PPM1 GUID is not getting erased from this table. Even after repeated attempts from our side to delete PPM1= 065310401_5003 from PA1, the GUID is not getting erased.

This is kind of a rare occurence which we have not come across before.

There is a work around possible in case this PPM could be saved by some name other than PRODUCTNAME1_LOCATION1; It would than get generated & the corresponding PPM would get saved without any fuss.

But we are unable to find the reason why the PPM GUID is not getting erased from this table.

Notes:

1) We have run WUF & there are no orders pending against this PPM

2) PPM is deleted from APO by using /SAPAPO/PPM_DEL.

3) When we checked this PPM is t-code /SAPAPO/SCC03, but it gives the message : Plan 065310401_5003 does not exist.Create Object?

But we try to msave it it says : "PPM name PRODUCTNAME1_LOCATION1 has already been used in other plans

4) This can be corroborated from the table /SAPAPO/PMPMAP where the GUID is still present!!

Any pointer would be a great help.

Kumar

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Kumar,

1) We have run WUF & there are no orders pending against this PPM

Are there any other objects besides orders noted in WUF? What happens when you try to delete the PPM from within WUF?

Best Regards,

DB49

Private_Member_738444
Participant
0 Kudos

Thanks for yr reply DB59.

When we do WUF for this PPM nothing shows up & gives the message "No values found"

Yet when I see the table it shows the PPM GUID.

Former Member
0 Kudos

BL,

I will assume that when you executed WUF, you selected "Display all selected objects" and not "Display Objects used only"

You could try to run report /SAPAPO/PPM_CLEAN_UP.. You could also experiment with using wild cards (asterisks) in //PPM_DEL, in the "Plan number" field.

There are quite a few notes which may also be of help to you. Search OSS on 'Delete PPM'.

If this doesn't help, then it appears there is an inconsistency within your PPM that cannot be addressed with standard SAP programs. This can be caused by userexits, by custom programs, or by injudicious use of table based maintenance programs (e.g. SE16 et al). Raise a message with SAP, who will lead you to a safe solution.

Best Regards,

DB49

Private_Member_738444
Participant
0 Kudos

DB49,

Thanks for yr message.

When doing WUF I am using :

Object Type = PPM

Pdt = XXXX

Location = XXXX

(.) Display Objects Used Only

(.) Display All Selected Objetcs

I have tried using both one-by-one but neither gave any results --> NO VALUES FOUND

Next, I tried using /sapapo/ppm_clean_up

On choosing --> (.) view data --> it shows multiple table entries :

There are mutiple tables displayed with rows of GUIDS.

I even found out my PPM GUID under /sapapo/ppmmap

Question is, can we selectively delete just this one single GUID; Or do we need to delete all shown in one go.

Thanks a lot for all yr replies.

Regards

Former Member
0 Kudos

Kumar,

Program /sapapo/ppm_clean_up is very powerful. I have never used it in a production system, only in dev to correct errors generated by custom development. It does not allow selection of individual records.

The program is described in OSS

https://service.sap.com/sap/support/notes/351414

The note gives guidelines for validating the results.

After reading the note, if you still have doubts, raise a message and discuss with SAP.

Best Regards,

DB49

Private_Member_738444
Participant
0 Kudos

Thanks all for your inputs.

We pursued the SAP-OSS team for a resolution, they came up with the same suggestion which DogBoy told.

We used /sapapo/ppm_clean_up in Production, elbeit very cautiously. We took a count of the PPM entries in APO tables before & after running this report to ensure that the program /sapapo/ppm_clean_up deletes only the obsolete entries.

It worked

Thanks Dogboy.

Kumar

Answers (0)