You are on page 1of 4

Executing a Planning Function

PDF download from SAP Help Portal:


http://help.sap.com/saphelp_nw70ehp1/helpdata/en/44/33a31fd463060ce10000000a155369/content.htm
Created on November 18, 2016

The documentation may have changed since you downloaded the PDF. You can always find the latest information on SAP Help
Portal.

Note
This PDF document contains the selected topic and its subtopics (max. 150) in the selected structure. Subtopics from other structures are not included.

2016 SAP SE or an SAP affiliate company. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose
without the express permission of SAP SE. The information contained herein may be changed without prior notice. Some software products marketed by SAP
SE and its distributors contain proprietary software components of other software vendors. National product specifications may vary. These materials are
provided by SAP SE and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP
Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set
forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional
warranty. SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP SE in
Germany and other countries. Please see www.sap.com/corporate-en/legal/copyright/index.epx#trademark for additional trademark information and notices.

Table of content

PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.

Page 1 of 4

Table of content
1 Executing a Planning Function
2 Executing a Planning Function

PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.

Page 2 of 4

2 Executing a Planning Function


Use
Using the Execute a Planning Function command (EXEC_PLANNING_FUNCTION), you can trigger the execution of a planning function. For each
characteristic, you can specify how the selection will be determined.

Command Parameters
The table below lists the command parameters as they appear in the Command Wizard when you insert the command:
Parameter

Description

Variables Screen

You use this parameter to specify whether to display a Variables screen. If you do
not select this option, the variable screen is displayed only if no entry has been
made for required variables.

Process Changed Data

You use this parameter to define whether the planning function will process just the
data changed by the user in the current session since the last save or process all
data (see Planning Functions, Processing Changed Data ). If you choose this
option, you can specify which aggregation level to analyze as a filter to define the
changed records.

Data Binding: Selection Bindings

You use this parameter to specify the data that the planning function is executed on.
(See Sources for Characteristic Selection and Variables.)

Data Binding: Variant

If the planning function uses variables, you can use this parameter to specify how
they are to be filled. Using a variable variant, you therefore specify the
parameterization of the planning function. (See Sources for Characteristic Selection
and Variables.)

Data Binding: Variables

You use this parameter to specify the values for individual variables of the planning
function. If a variant is also selected, a value assigned using this parameter is given
precedence. (See Sources for Characteristic Selection and Variables.)

Planning Function (PLANNING_FUNCTION)

Technical name of the planning function. You use this parameter to specify which
planning function will be executed.

Application Context
This command is particularly useful if you want to change data using a planning function, and the Execute a Planning Function (Simple) command is not
sufficient.
The graphic below illustrates a query as an example of this kind of modeling:

You have a query in the drilldown with characteristic Product and key figures Sales Plan and Actual Sales . These key figures are restricted to the
relevant version. Using characteristic Business Year , you filter the results for the year 2006. Using a planning function to revaluate, you want to change the
sales plan data.
If you were to use the Execute a Planning Function (Simple) command in this example, you could only specify the query as a whole (or your fixed filter) for
the Reference to Data Provider of Type Filter parameter. Since the selection of the restricted key figures is ignored, Version would not be restricted, and the
planning function would be applied to both the plan data and the actual data.
However, if you were to use the Execute a Planning Function command in this example, you could specify a data provider for each characteristic. Using a
variable Plan for characteristic Version , you can therefore specify that the planning function is only to be applied to the characteristic values specified in
variable Plan .

PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.

Page 3 of 4

2 Executing a Planning Function


Use
Using the Execute a Planning Function command (EXEC_PLANNING_FUNCTION), you can trigger the execution of a planning function. For each
characteristic, you can specify how the selection will be determined.

Command Parameters
The table below lists the command parameters as they appear in the Command Wizard when you insert the command:
Parameter

Description

Variables Screen

You use this parameter to specify whether to display a Variables screen. If you do
not select this option, the variable screen is displayed only if no entry has been
made for required variables.

Process Changed Data

You use this parameter to define whether the planning function will process just the
data changed by the user in the current session since the last save or process all
data (see Planning Functions, Processing Changed Data ). If you choose this
option, you can specify which aggregation level to analyze as a filter to define the
changed records.

Data Binding: Selection Bindings

You use this parameter to specify the data that the planning function is executed on.
(See Sources for Characteristic Selection and Variables.)

Data Binding: Variant

If the planning function uses variables, you can use this parameter to specify how
they are to be filled. Using a variable variant, you therefore specify the
parameterization of the planning function. (See Sources for Characteristic Selection
and Variables.)

Data Binding: Variables

You use this parameter to specify the values for individual variables of the planning
function. If a variant is also selected, a value assigned using this parameter is given
precedence. (See Sources for Characteristic Selection and Variables.)

Planning Function (PLANNING_FUNCTION)

Technical name of the planning function. You use this parameter to specify which
planning function will be executed.

Application Context
This command is particularly useful if you want to change data using a planning function, and the Execute a Planning Function (Simple) command is not
sufficient.
The graphic below illustrates a query as an example of this kind of modeling:

You have a query in the drilldown with characteristic Product and key figures Sales Plan and Actual Sales . These key figures are restricted to the
relevant version. Using characteristic Business Year , you filter the results for the year 2006. Using a planning function to revaluate, you want to change the
sales plan data.
If you were to use the Execute a Planning Function (Simple) command in this example, you could only specify the query as a whole (or your fixed filter) for
the Reference to Data Provider of Type Filter parameter. Since the selection of the restricted key figures is ignored, Version would not be restricted, and the
planning function would be applied to both the plan data and the actual data.
However, if you were to use the Execute a Planning Function command in this example, you could specify a data provider for each characteristic. Using a
variable Plan for characteristic Version , you can therefore specify that the planning function is only to be applied to the characteristic values specified in
variable Plan .

PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.

Page 4 of 4

You might also like