Start of Content Area

Background documentation Technical Realization  Locate the document in its SAP Library structure

Object Types

The following object type is relevant for the workflow support of business planning with BW-BPS:

Object Type BUS1145 (BPSPlanningPackage)

Planning packages from BW-BPS can be processed with the object type BUS1145. The key fields of the object types are planning area, planning level, and planning package.

You define planning areas, planning levels, and planning packages in the BW-BPS planning environment.

The object type BUS1145 has the following methods:

·        ChangePlanData to change plan data

·        DisplayPlanData to display plan data

·        ExecutePlanningFunction to execute a planning function

·        DisplayLog to display the error log after executing a planning function

Workflow Tasks

The following workflow tasks delivered by SAP are ready as modules and can be used unchanged in individual workflow scenarios (see Tasks and Task Groups). The tasks are used for entering or displaying plan data, executing planning functions, and displaying logs.

Task BPS01

Definition

Task: 40107918

ID: BPS01

Description: Enter BPS plan data

Structure

Object type: BUS1145 (BPSPlanningPackage)

Referenced object methods: ChangePlanData

Attributes: Confirm object methods with dialog, end of processing

Agent assignment: No restriction of possible agents

The possible agents are specified here and the responsible agent is selected from them. The agent responsible for this task is determined by the rule. The agent can be any employee. Therefore, it is necessary to classify the task within Customizing as a general task. See Preparation and Customizing.

Task BPS02

Definition

Task: 40107919

ID: BPS02

Description: Display BPS plan data

Structure

Object type: BUS1145 (BPSPlanningPackage)

Referenced object methods: DisplayPlanData

Attributes: Confirm object methods with dialog, end of processing

Agent assignment: no restriction of possible agents (see task BPS01)

Task BPS03

Definition

Task: 40107920

ID: BPS03

Description: Execute BPS planning function

Structure

Object type: BUS1145 (BPSPlanningPackage)

Referenced object methods: ExecutePlanningFunction

Attributes: Confirm object methods with dialog, end of processing

Agent assignment: does not apply as concerned with background processing

Note

The system automatically assigns a technical agent to the task for background processing. This can lead to problems if the workflow task is carried out for a planning package that contains characteristic value selection using user-specific Variables. In such a case, the discrepancy between the technical agent and the user to which the variable refers, means that the workflow steps on the basis of task BPS03 cannot be carried out.

Task BPS04

Definition

Task: 40107921

ID: BPS04

Description: Display BPS log

Structure

Object type: BUS1145 (BPSPlanningPackage)

Referenced object methods: DisplayLog

Attributes: Confirm object methods with dialog, end of processing

Agent assignment: no restriction of possible agents (see task BPS01)

Rule for Agent Assignment BPS01

Definition

Rule with which the agent of a planning package can be determined. This rule is used in the delivered workflow Planning Session in One Layout (BPS51).

Rule: 40100136

ID: BPS01

Description: Person responsible for BPS planning package

Rule parameter

All key fields of the object type BUS1145 can be transferred as rule parameters. You can assign an agent in dependency on these fields. See Preparation and Customizing.

Workflow BPS50

Definition

Workflow: 40100004

ID: BPS50

Description: Manual planning and planning function (see Workflow: Manual Planning and Planning Function)

Workflow container

The import parameters of a workflow are provided in the workflow container.

The essential information that has to be available for the process flow of workflow BPS50 is:

·        An object reference to the planning package to be processed. This is provided in the container element BPSPlanningPackage.

·        A planning layout to execute the method ChangePlanData. This is provided in the container element Layout. The layout is created in the planning environment like the planning packages.

·        A planning function with parameter group belonging to it for the method ExecutePlanningFunction

Specify this information when starting the workflow.

Workflow steps

The BPS50 workflow consists of several steps, the tasks Enter BPS Plan Data, Execute BPS Planning Function, and Display BPS Log.

Agent of the workflow steps Enter BPS Plan Data and Display BPS Log

In the delivered workflow BPS50, the agent can be found using the rule BPS01.

Starting the workflow

Start workflow BPS50 from the SAP Easy Access screen under Tools Business Workflow Runtime Tools Start Workflow.

Specify a planning package, planning layout, planning function, and parameter group when starting the workflow.

Workflow BPS51

Definition

Workflow: 40100005

ID: BPS51

Description: Planning session with one layout (see Workflow: Planning Session with One Layout)

Workflow container

The import parameters of a workflow are provided in the workflow container.

The essential information that has to be available for the process flow of workflow BPS51 is:

·        A table with object references for the planning packages to be processed. This is provided in the multiline container element BPSPlanningPackage.

·        A planning layout to execute the method ChangePlanData. This is provided in the container element Layout. The layout is created in the planning environment like the planning packages.

You must enter this information when starting the workflow.

Workflow steps

The BPS51 workflow only consists of one single step, the task Enter BPS Plan Data. However, this step is indicated by a dynamic parallel processing (tab page Miscellaneous in the step definition). A work item with a planning package is generated for every item of the multiline container element BPSPlanningPackage.

Agent of the workflow step Enter BPS Plan Data

Plan data for a planning package can be entered in a workflow step. There are many different ways to determine the responsible agent of this workflow step. In the delivered workflow BPS50, the agent can be found using the rule BPS01.

Starting the workflow

Start workflow BPS51 from the SAP Easy Access screen under Tools Business Workflow Runtime Tools Start Workflow.

When starting the layout, specify one or more planning packages and a planning layout.

Workflow BPS52

Definition

Workflow: 40100008

ID: BPS52

Description: Planning session with several layouts (see Workflow: Planning Session with Several Layouts)

Workflow container

The import parameters of a workflow are provided in the workflow container.

The essential information that has to be available for the process flow of workflow BPS52 is:

·        An object reference to the planning package to be processed. This is provided in the container element BPSPlanningPackage.

·        A table with layouts to execute the ChangePlanData method. This is provided in the container element Layout.

·        The desired processing end (optional).

Workflow steps

The BPS52 workflow only consists of one single step, the task Enter BPS Plan Data. However, this step is indicated by a dynamic parallel processing (tab page Miscellaneous in the step definition). A work item with a planning package is generated for every item of the multiline container element Layout.

Agent of the workflow step Enter BPS Plan Data

Plan data for a planning package can be entered in a workflow step. There are many different ways to determine the responsible agent of this workflow step. In the delivered workflow BPS52, the agent can be found using the rule BPS01.

Starting the workflow

The workflow BPS52 is started with the report UPC_WORKFLOW_BPS52_START.

 

 

 

End of Content Area