The way to active the availability control of the project automatically
When we have created a project and WBS structure in SAP, the system status of the WBS is “CRTD”, means the WBS is just be created.
Usually, we release the project after we’ve created the project. We can use the transaction code CJ20N to open the project, follow the menu path “Edit->Status->Release” to release the project.
Save the project and open it again, we can see that the status of the WBS is “REL”, means the WBS is released. When the status of the WBS is “REL”, we can add actual costs to the WBS, even the project manager haven’t assign any budget to the WBS. So the costs of the WBS is not under control when the status of the WBS is “REL”, this is a risk to the project managing. In order to make the budget control more strictly, we have to change the status of the WBS into “REL ACAV”, “ACAV” means the “Availability control active”.
In order to change the status of the project into “ACAV”, we can simulate the transaction code CJ30 to assign some budget the WBS, such as 1 $, then we change it to 0 $. After this, the budget of the WBS is still 0 $, but the status of the WBS is “ACAV”. We can use the BAPI KBPP_EXTERN_UPDATE_CO to batch process the simulation. KBPP_EXTERN_UPDATE_CO is a BAPI, which you can use to assign budget or planned cost to WBS or other cost objects. Tips: If you want to active the available control of WBS, you need to set the parameter I_COMMIT_ALL to ‘X’ .