cancel
Showing results for 
Search instead for 
Did you mean: 

Please help me to delete a PS project

Former Member
0 Kudos

Hi all,

I'm trying desperately to delete a project system by executing a specific program.

I found out BAPI on an another post :

BAPI_PS_INITIALIZATION

BAPI_BUS2001_DELETE "delete project definition

BAPI_PS_PRECOMMIT

BAPI_TRANSACTION_COMMIT

This sequence of BAPI is working only for project definition but not for a project with wbs element (level 1, 2, 3 and 4) and networks

then, i did find out two another BAPI :

BAPI_BUS2054_DELETE_MULTI "delete WBS element

BAPI_BUS2002_DELETE "delete networks

I'm wondering if I need to sort the BAPI ? I mean, do I need to delete first the project definition, and the WBS element and the networks ? like the sequence as follow :

BAPI_PS_INITIALIZATION

BAPI_BUS2001_DELETE "delete project definition

BAPI_BUS2054_DELETE_MULTI "delete WBS element

BAPI_BUS2002_DELETE "delete networks

BAPI_PS_PRECOMMIT

BAPI_TRANSACTION_COMMIT

thx for your help

Accepted Solutions (1)

Accepted Solutions (1)

Sandra_Rossi
Active Contributor
0 Kudos

You should delete wbs and networks first

Answers (2)

Answers (2)

former_member598013
Active Contributor
0 Kudos

Hi Nicolas,

Basically the link withe the WBS Element and Network are like this.

1. Proj Def

2. WBS Element

3. Network.

Now first you need to delete Network,

Then after WBS Element

Then Project Defination.

Thanks,

Chidanand

Former Member
0 Kudos

Hi Nicolas,

You need to adopt bottom up approach. The hierarchy of project is

Level I: Project Definiton

Level II: WBS Elements

Level III: Network

Hence delete the network first, then WBS and then definition. If there are activities in network you need to delete them before deleting the network. If any of these objects are in released state, ie system status REL, I doubt BAPI can delete them. In created state, system status CRTD, BAPI will delete desired objects.

Hope this helps.

Regards