Show TOC

 Production Campaign Statuses

Use

Every production campaign in SAP APO has a status that documents the campaign’s current processing status. The campaign status is derived from the status of the orders contained in the APO campaign.

The integration functions between SAP APO and SAP R/3 enable you to process confirmations of R/3 process orders in the corresponding APO orders as well. The statuses of the APO orders change depending on the processing status in SAP R/3.

For more information about integration, see Campaign Integration Between SAP APO and SAP R/3 .

By means of the order status, you can control the following in SAP APO:

Whether or not orders may be removed from a campaign

Whether or not a campaign may be deleted

This control function is important if you process campaigns in the SAP R/3 System. You can, for example, prevent orders that have not yet been settled in SAP R/3 from being removed from a campaign.

The following campaigns and orders exist:

In SAP APO, campaign APO_PCM1 with the three orders APO_O1, APO_O2, and APO_O3

In SAP R/3, the corresponding campaign R3_PCM1 with the orders R3_O1, R3_O2, and R3_O3

Order R3_O1 has already been Confirmed in SAP R/3. The corresponding APO order APO_O1 therefore has status Started . If APO_O1 is removed from the APO campaign by mistake, R3_O1 would automatically be removed from the R/3 campaign, too. However, you do not want this to happen since R3_O1 has already been confirmed and the costs still need to be settled. To prevent this, you can specify in APO Customizing that orders that were started must not be removed from campaigns.

Prerequisites

You have established the integration between the SAP APO System and the SAP R/3 System. For more information, see Integration of SAP APO and SAP R/3 .

You process campaigns in the SAP R/3 System. For more information, see the SAP Library of SAP R/3 under LogisticsProduction Planning and ControlProduction Planning – Process IndustriesProduction Campaign .

If you want to use campaign statuses to control whether or not orders may be removed from a campaign or whether or not a campaign may be dissolved, you must make the corresponding settings in Customizing for Production Planning and Detailed Scheduling . To do so, choose Global SettingsMaintain Global Parameters and Defaults .

Features

Relationship Between the Statuses of the R/3 Order and that of the APO Order

The status of the R/3 order changes the status of the APO order. The following statuses are important with regard to removing orders from campaigns and dissolving campaigns:

R/3 Order

APO Order

Created

Created

Partially released

Released

Released

Released

Partially confirmed

Started

Confirmed

Started

Campaign Status

The campaign status is derived from the status of the orders contained in the campaign.

Campaign Status

Description

Created

The campaign contains:

No orders

Only orders that have neither been released nor started

Released

The campaign contains at least one order that has been released and no order that has been started.

Started

The campaign contains at least one order that has been started.

Graphical Campaign Status Display

The campaign status is also displayed graphically at the campaign bar in the DS planning board. The campaign bar is displayed as follows depending on the campaign status:

Campaign Status

Campaign Bar Display

Created

Colored, no hatch

Released

Colored, diagonal stripe

Started

Colored, diagonal crosshatch

You can use the /SAPAPO/PCM04_PT_PRS Business Add-In to replace the standard graphical campaign status display at the campaign bar with your own displays. To implement this BAdI, go to Customizing for Production Planning and Detailed Scheduling (PP/DS) and choose Business Add-InChange Representation of Campaign Bars .

Removing Orders from Campaigns and Dissolving Campaigns

In Customizing, you can specify under which conditions orders must not be removed from a campaign and campaigns must not be dissolved. Depending on the settings, the system proceeds as follows:

Customizing Setting

System Activity

No Restrictions

The system removes orders from campaigns and dissolves campaigns without taking the order status into account.

Do Not Remove Released Orders

Once a campaign contains at least one Released order, this order is not removed from the campaign and the campaign is not dissolved anymore.

Do Not Remove Orders that Were Started

Once a campaign contains at least one order that has been Started , this order is not removed from the campaign and the campaign is not dissolved anymore.

Do Not Remove Released Orders or Orders that Were Started

Once a campaign contains one order that has been Released or Started , this order is not removed from the campaign and the campaign is not dissolved anymore.

The system considers these Customizing settings in the following planning transactions:

During manual planning:

In the DS planning board

In the campaign transaction

During automatic planning:

By campaign optimization

By the Dissolve production campaigns heuristic

Example

This example describes how the R/3 order status affects the APO order status and how the APO order status, in turn, affects the campaign status. The campaign bar display, on the other hand, depends on the APO campaign status.

You have created campaign PCM1 with the planned orders PLO1, PLO2, and PLO3 in the SAP APO System.

Campaign PCM1 has status Created . The campaign bar in the DS planning board has no hatch .

Campaign PCM1 is transferred to SAP R/3. The planned orders PLO1, PLO2, and PLO3 are converted into the process orders PRO1, PRO2, and PRO3 in SAP R/3. They are released in SAP R/3. All APO orders now have the status Released .

The status of campaign PCM1 changes from Created to Released. The campaign bar in the DS planning board is now displayed with a diagonal stripe .

Production starts in SAP R/3 and the first process order PRO1 is Partially confirmed . The APO order PRO1 now has status Started .

The status of campaign PCM1 changes from Released to Started. The campaign bar in the DS planning board now shows a diagonal crosshatch .