cancel
Showing results for 
Search instead for 
Did you mean: 

Delete Position (first record may not be deleted (time constraint 0 or 1))

Former Member
0 Kudos

Dears,

           i try to delete a position through the transaction PO13

           but i faced the next message

          " first record may not be deleted (time constraint 0 or 1 "

           i checked the error but can't reach to any solution.

               

Best Regards ,

          

Accepted Solutions (1)

Accepted Solutions (1)

former_member182306
Active Contributor

Deleting OM Records using RE_RHRHDL00

If you have ever converted Organization Management data in SAP, you may have run into a situation where you’ve loaded data incorrectly, but were unable to overwrite the existing load by re-loading.  The error needs to be corrected, but how can you go able this without having to perform a full client refresh?!  Well you don’t have to worry because SAP provides a standard deliver program to delete OM data.


Transaction Code: RE_RHRHDL00

The transaction code RE_RHRHDL00 is an extremely powerful transaction that is used to execute the Delete Data Records from Personnel Planning Database program RHRHDL00.  When using this transaction, you must ensure you are selecting your data set carefully, as it does have mass delete capabilities and can delete a significant amount of your OM data.

Screen1

Test

The first thing to note about this transaction code is the “Test” option. Once data is deleted from this transaction, it cannot be easily restored – so it is highly recommended to always execute in test mode prior to executing an actual deletion.  Executing test mode with the appropriate options will display a list of all objects and records to be deleted.  This list should be confirmed prior to executing the deletion.

Example: Delete all positions in the number range 56000010 to 56000020 in Test mode. I have not specified any Infotype or Subtype hence all positions in this range will be marked for deletion.

Screen2

Former Member
0 Kudos

Dear Rajesh ,

                     actual , in the first i deleted all associated info types

                     but still the problem occurred.

former_member182306
Active Contributor
0 Kudos

No Problem Go through above steps

Remove Test run and execute the report It will delete all records associated with that position id

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi. If you want to completely delete PA-OS objects you can use this t-dcode RE_RHRHDL00.