
If you implement and define an ABAP class, you can implement a customer-specific planning function type.
You want to implement an ABAP class for the new planning function type and define its parameters.
| Screen Area | Description |
|---|---|
| Implementation | Enter the name of the ABAP class that implements the procedure. The ABAP class has to implement one of the two interfaces:
|
| Characteristic Usage Interface Display | Using Web Dynpro and development components, you can create your own user interface instead of the standard user interface for characteristic usage. You can also set the following flags:
|
| Parameter Interface | By using Web Dynpro and development components, you can create your own user interface instead of the standard user interface for parameters. |
Create the required parameters using Create Parameters or Create Components in the context menu for an object in the parameter hierarchy. You can change the details of existing parameters by choosing Properties in the context menu. With
and
, you can change the sequence of the parameters. The sequence of the parameters is taken into account when you create a planning function for this planning function type.
With the Parameter is Tabular indicator you can mark a parameter as a table; it will then behave like an internal table. In this table, each row of the tabular parameter has the properties that correspond to the selected parameter type. The flag is valid for all parameter types (in the context menu with Properties) with the exception of Key Figure Selection or if parameters are used as components of a structure parameter.
| Parameter Type | Description |
|---|---|
| Elementary (Elementary Parameter) |
The value of an elementary parameter is the value of a specific InfoObject. This means that every elementary parameter is based on an InfoObject and thus inherits its technical properties. If the InfoObject is a characteristic, the system automatically checks the validity of a value entered by the user based on the master data. |
| InfoProvider InfoObject |
The parameter can include the name of an InfoObject from the current InfoProvider (aggregation level). You can define the valid InfoObjects by selecting Restrict. InfoObject:
|
| Data Selection |
Data selection parameters can include selection critera from a number of characteristics, depending on which are needed for defining filters. This is therefore a special selection table. You define the characteristics that are valid for the data selection by selecting Chars. Restriction:
|
| Structure (Structure Parameter) |
With a structure parameter, you can declare other parameters as components of the structure parameter and thus combine them into a structure. Parameters of type Elementary, InfoObject of the InfoProvider and Data Selection are valid as components. To declare a parameter as a component, choose either Create Component in the context menu of a structure parameter or its components, or |
| Key Figure Selection |
This parameter type selects the key figures to be processed. It is therefore a special case of the type InfoObject of the InfoProvider. |
The planning function types delivered by SAP are based on the same technical concept as the customer's own planning function types and can thus be viewed in the maintenance of the planning function types.
The function type Delete( 0RSPL_DELETE) is a simple example. There is only one parameter (KYFSEL) for selecting key figures to delete. In the associated ABAP class, interfaces IF_RSPLFA_SRVTYPE_IMP_CHECK and IF_RSPLFA_SRVTYPE_IMP_EXEC are implemented.