Show TOC

Implementing a Planning Function TypeLocate this document in the navigation structure

A planning function type is a procedure that can be parameterized and that change transaction data in BW Integrated Planning and in the Planning Application Kit. The system offers you a number of standard planning function types. You can also implement customer-specific planning function types, in order to implement specific procedures and apply them to transaction data.

Structure of a Planning Function Type

Every planning function type comprises the following parts:

  • a definition part (metadata) that is created and changed in the maintenance transaction for planning function types (RSPLF1),

  • an ABAP-OO class in which the actual procedure is programmed. The class name forms part of the definition.

  • If you want to use your own planning function types in the SAP HANA database, you need to implement an SQLScript procedure and generate the required SAP HANA objects.
Remember

If you have implemented the customer-specific planning function types for the SAP HANA database, we recommend making sure that the business logic is also implemented for ABAP runtime. This is mainly for technical reasons, though it can also be advantageous for example if you are using the SAP HANA database in your production system but not in your test system and still want to use the same planning function types.

Integration

In the maintenance transaction for planning function types (RSPLF1), you can display, change, create and copy customer-specific planning function types.

In terms of transport, Business Content and activation, planning function types behave like other BW metadata objects. However with planning function types in the SAP HANA database, you need to transport the SAP HANA objects yourself.

The active planning function types are visible in Planning Modeler and can be used to create and execute planning functions.

Procedure
  1. To call the maintenance transaction for planning function types in Planning Modeler (transaction RSPLAN), choose Start of the navigation path Goto Next navigation step Maintain Planning Function Types End of the navigation path. The Edit Planning Function Type screen appears.

  2. Enter a technical name for the planning function type.

  3. Choose Create. The screen for creating a planning function type appears.

  4. Enter a description for the planning function type and make the required settings on the Properties and Parameters tab pages.

    The next steps in the procedure depend on whether you want to work with the SAP HANA database, or whether you want the function type to run both in ABAP and on the SAP HANA database.

  5. If you want to reuse a customer-specific planning function type and you only want to make slight modifications, choose Copy.
    Note For example, you have created a customer-specific planning function type, in order to load data from a flat file into BW-integrated planning by using a planning function. In this case, the parameters for this type of upload planning function can be very long, depending on the structure of the flat file. If you want to use a new flat file with a slightly modified structure for uploading, you need a new planning function type and the parameter list of this type must be adjusted to suit the structure of the flat file. Choose Copy to create a new planning function type that copies the parameters from an existing planning function type. Choose Change to modify the defaults as required. This process is often quicker than creating all the parameters again as new parameters.