In PS, if a WBS name has been used (such as a), it will be recorded in Table vsprps_cn. When WBS is renamed (changed to B) or deleted, if you still need to use the original name, you must use the zversion_update tool to change the WBS element record name in Table vsprps_cn. Only in this way can you completely delete a from the table, otherwise, an error is reported indicating that the released version of The WBS element already exists.
Zversion_update usage:
The written version name of lp_vsnmr is usually released, depending on the configuration
So_prdef project definition name like CN-0420.20
Lp_prfix write 00000000
Testmode X by default. If you want to modify it, remove X.
First, read note 529634. if it does not solve your problem, you can implement the report of this note. however, you have to take into account that the report violates the version concept since it also renames the versions of Renamed operative WBS elements.
**************************************** * ****************************** Only execute this report after consultation with regional support or development support ************************************ ************************************
In order to be able to create a new WBS element with the old name, you must also change the old version when you change the name of the WBS element. it is only then possible to create a new WBS element with the old name. in order to change the old version of The WBS element, execute the zversion_update report. this report changes the old version number into the current one. after the execution, you can insert a new WBS element with the old name into your project. this is again written into the version.
In addition, the report can rename WBS elements in versions for which the operative WBS element was deleted. to do this, enter a text for the parameter 'prefix deleted objects '. in customizing, you must create this text as a template followed by-00000000 (for example, DELE-00000000, important: Eight zeros ). then the versions for which there is no longer an operative object are renamed according to the entry for the prefix (for example, DELE-00000001, DELE-00000002, and so on ). if the parameter prefix is not filled on the selection screen, the system does not rename the deleted WBS elements in the version, it only renames those WBS elements in the version that were also renamed in the operative project.
Use transaction se38 to create the report. Here, create report zversion_update and implement the source code specified in the attachment.
Then create the following selection texts:
- Select indicator 'dictionary 'For so_prdef and pl_vsnmr
- Enter 'prefix deleted objects' for lp_prfix
- Enter 'test mode' for the Test Mode
If you execute the report, you must first execute it in the test mode (test mode = 'X '). if the system then displays the changes you required, You can execute the report without the test indicator.
Only execute the report once for each project.
==============================================
To delete the project versions, execute the zversdel program for these project versions with the specified version number.