WBS名称重复使用

在PS中如果一个WBS名被使用过以后(比如A),会在表VSPRPS_CN中记录,当WBS被改名(改为B)或是删除后,如果还需要使用原来的名字,就必须使用ZVERSION_UPDATE这个工具来更改表VSPRPS_CN中的WBS元素记录名,只有这样才能把A从表中彻底删除,否则就会报错说该WBS元素RELEASED版本已经存在。

 

ZVERSION_UPDATE使用方法:

LP_VSNMR    写入版本名 一般为RELEASED,具体要看配置情况
SO_PRDEF    项目定义名比如CN-0420.20
LP_PRFIX      写入00000000
TESTMODE    默认X   如果要实际修改去除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.

 

 

转载于:https://www.cnblogs.com/huggins/archive/2010/05/12/1733827.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值