WBS Element in SAP: How to Create, Change and Display It

·6 min read
WBS Element in SAP: How to Create, Change and Display It

To create a WBS element in SAP, use transaction CJ11. To change it, use CJ12, and to display it, use CJ13. If you work on a whole project rather than on a single element, use the Project Builder, CJ20N. This guide explains when to use each one, which fields matter, what the statuses mean, and how to solve the most common problems.

Advertisement

WBS element T-codes: which one to use

T-codeUse it toBest when
CJ20NCreate, change and display WBS elements in the project treeYou need to see the structure, or work on several elements
CJ11Create a single WBS elementYou add one element and know its number
CJ12Change a single WBS elementYou know the number and want to go straight to it
CJ13Display a single WBS elementYou only need to check it
CN43NList WBS elementsYou search by project, responsible person or status
CN41NDisplay the whole structureYou want WBS elements, networks and activities together

The full list is on the SAP PS transaction codes page.

What is a WBS element in SAP?

WBS stands for work breakdown structure. A WBS element is one box of that structure: a deliverable, a phase or a work package of the project. WBS elements are arranged in levels under the project definition, and costs, revenues, budgets and dates can be planned and followed on them.

Example of a work breakdown structure in SAP: a project definition, three level 1 WBS elements and their level 2 elements, with planning, account assignment and billing indicators

ObjectWhat it is forHas a sequence?
Project definitionHolds the data that applies to the whole projectNo
WBS elementStructures the project, and carries costs, revenues and budgetNo, only a place in the hierarchy
Network activityDescribes the work: duration, resources, materialsYes, through relationships

See project structures to decide between a WBS, networks or both.

How to create a WBS element

With the Project Builder (CJ20N)

  1. Start CJ20N and open the project.

  2. Select the project definition, or the WBS element that will be the parent.

  3. Add a WBS element from the templates area, or open the WBS element overview and enter several at once.

  4. Enter the number, which must follow the project coding mask, and a description.

  5. Check the organizational data and set the operative indicators.

  6. Save.

If the project does not exist yet, start with how to create a project in SAP PS.

With CJ11

  1. Start CJ11 and enter the number of the new WBS element.

  2. Enter the project definition it belongs to and, if needed, the project profile.

  3. Complete the description, the organizational data and the indicators.

  4. Save, then check the position of the element in the hierarchy with CJ20N.

From a template or in mass

  • Template: copy a standard WBS or the structure of an existing project in CJ20N. This is the fastest way for similar projects.

  • Program or interface: developers can use the BAPI BAPI_BUS2054_CREATE_MULTI to create several WBS elements of a project.

The fields that matter

FieldWhy it matters
WBS element numberThe identifier users see, formatted by the coding mask
LevelThe position in the hierarchy
Project type and priorityUsed for selection and reporting
Person responsibleUsed in reports and authorizations
Company code, controlling area, profit center, plantDetermine where costs and revenues are posted. Often locked once there are postings
Operative indicatorsDecide what can be planned and posted, see below
Budget, planning and settlement profilesControl the corresponding functions. They normally come from the project profile

The three operative indicators

IndicatorWithout itField in PRPS
Planning elementYou cannot plan costs on the elementPLAKZ
Account assignment elementYou cannot post actual costs or commitments, or assign orders, networks or purchase orders to itBELKZ
Billing elementYou cannot post revenues to itFAKKZ

Source for the three indicators: SAP Help, Basic Data (S/4HANA).

A common design is to allow postings only on the lowest level, and to use the higher levels for budget and reporting.

How to change a WBS element

Use CJ12 for one element, or CJ20N if you need to move it or change several elements. Before you change anything:

  • Check the status: some changes are refused when the element is technically completed or closed.

  • Check the postings: organizational data such as the company code usually cannot be changed once costs or commitments exist.

  • Check the level below: a change on a parent is not always passed on to its children.

How to display a WBS element

  • One element: CJ13.

  • A list: CN43N, with filters and export.

  • Its actual costs: CJI3. Its commitments: CJI5.

  • Its budget: CJ31 or report S_ALR_87013558, see how to check the budget of a WBS element.

  • Its data in the database: table PRPS with SE16N.

Advertisement

WBS element statuses

System statuses are set by SAP and control what is possible. The usual sequence is:

StatusMeaningEffect
CRTDCreatedPlanning is possible, actual costs cannot be posted yet
PRELPartially releasedAt least one element below is released, but not this one
RELReleasedActual costs can be posted
TECOTechnically completedThe work is done. Remaining costs, such as late invoices, can still be posted
CLSDClosedNo further costs can be posted

A release cannot be undone, whereas TECO and CLSD can normally be reversed. A WBS element added under a released parent may inherit the released status. Your company can also use its own user statuses to allow or forbid certain transactions.

How to delete a WBS element

  • No postings: delete it in CJ20N. SAP warns you if plan values exist.

  • Costs or commitments exist: it cannot be deleted physically. Settle it, close the open purchase orders and orders, then set the deletion flag, which prepares it for archiving.

See also Deleting WBS Elements in the SAP Help (an older release, so check the details in yours).

The WBS element table: PRPS

FieldContent
PSPNRInternal number, used as the key in other tables
POSIDWBS element number as users see it
POST1Description
PSPHIProject definition (internal number), links to PROJ-PSPNR
STUFELevel in the hierarchy
PBUKRCompany code
OBJNRObject number, links to statuses (JEST), costs (RPSCO) and budget (BPGE)

Conversion exit ABPSP converts between the internal and the external number. If a number you find in a table does not match what users see, this is usually why. See SAP PS tables for the links between the tables.

Common problems and solutions

ProblemSolution
The number is refused when you create the elementIt does not match the coding mask of the project, or it already exists
Actual costs cannot be postedRelease the element, check that it is an account assignment element, and check its user status
Costs cannot be plannedSet the planning element indicator
Revenues cannot be postedSet the billing element indicator
The posting is blocked by the budgetCheck the assigned values in S_ALR_87013558, then follow the guide to fix budget exceeded errors
The company code cannot be changedPostings probably exist. Creating a new element is usually the cleaner solution
The element cannot be closed or flagged for deletionCheck for open commitments (CJI5), unsettled costs, and open orders or networks

Frequently asked questions

What is the T-code to display a WBS element in SAP?

CJ13 displays a single WBS element, and CN43N displays a list.

What is the T-code to create a WBS element?

CJ11 for a single element, or CJ20N to work in the project structure.

Which table stores WBS elements?

PRPS. The hierarchy between them is in PRHI.

Do these transactions still exist in S/4HANA?

The Project Builder (CJ20N) remains the main transaction, next to the Fiori apps. Some of the older single transactions may not be available in your release or edition, so check in your system. See what changed for SAP PS in S/4HANA.

Advertisement
Looking for the reference pages? See the SAP PS transaction codes, database tables and module overview.