CDB AFW-Widgets

ProBaseline can be integrated into other AFW applications.

Relevant widgets see .

ProNovia provides AFW customizing templates upon request.

The general setup of AFW applications is described in .

Interaction between ProBaseline and the ProFramework widgets

Widgets

For the AFW implementation a selection widget and two tree output widgets are available.
The difference between the two output widgets:

  • One is for use together with the selection widget. Parameter to control the widgets are bound to the selection widget.

  • One is for standalone use and shows the baseline reporting directly when activated. Parameters are bound to this tree output widget.

Layout

In the AFW selection widget only predefined layouts are available. This layouts must be defined in the ProBaseline maintenance transaction (default by transaction /PCH/CDB).

Transaction

As described in , in ProBaseline saved layouts are assigned to transactions. To define the possible layouts and output processors, it is required to assign such a ProBaseline transaction to each selection widget using the corresponding parameter.

Output processors

When using a AFW application in SAPGUI all ProBaseline output processors can be used.

Tree output

If the tree output widget is registered in a ProBaseline application, then the tree output (GUI:PBL Tree Processor) will always be made using this widget, otherwise the output processor is used.

Widget functions

In the tree output widget the AFW filter and layout options are available. Using own AFW layouts allows to overwrite / change the field control from the CDB layout.

Configuration of Widgets

Below the required information to configure the ProBaseline widgets in AFW customizing.

Object Handler

For executing baseline reports in a AFW application, the object handler CDB must be registered in the AFW customizing.

Widget /PCH/PBL_SELECTION

The widget ID /PCH/PBL_SELECTION defines the selection widget of ProBaseline. In this widget the user enters the parameter for executing the baseline report.

Widget /PCH/PBL_TREE_BY_SELECTION

Allows the output of a baseline report from the selection widget directly in a widget within a AFW application. See note Tree output above.
It is not required to register the widget in any layout, it will be activated automatically when executing a relevant baseline report. If the widget should be integrated in a specific layout, the activation of the layout must be bound to command CDB_EXECUTE_IN_WIDGET, step EXECUTE.

Widget /PCH/PBL_TREE_DIRECT

Allows the direct output of a baseline report within a widget. When activated the report is executed and the result shown. See notes for Tree output above.
All data required for execution must be defined in the widget parameter. See below which parameters have standard values.

Parameter

The following are the necessary details to configure the ProBaseline widgets in ProFramework customizing.

TRANSACTION

This parameter is mandatory and must point to a valid transaction, which was configured using the ProBaseline transaction control to define the possible layouts and output processors which will be available in the widget. See above in Layout.

General format

Widget /PCH/PBL_SELECTION
The following parameters for the selection fields have always the same format:

<Value>[;DisplayOnly][;Hidden]

The order of the values within the parameter is free. By using DisplayOnly the corresponding selection field is set to display only and using Hidden hides the field in the widget. When using one of this parameters, for any field without a default value a value should be specified.
Widget /PCH/PBL_TREE_DIRECT
Only the value for the specified parameter is supported.

APPLICATION

The BOM application for defining and exploding, if BOM application is used. Without value the default value according the corresponding SAP parameter ID is used (last usage of this field).

BOM_ALTERNATIVE

The BOM alternative, default is 1.

EXPLOSION_LEVEL

The explosion level, which defines how many levels of the BOM are exploded. Default value is 99.

FLAT_SORTED

Some of the output processors (list, text) allow the output of list not in a structure, but as sorted, reduced and flat list. If only the tree output is possible, it is recommended to hide this field.

PLANT

The plant for defining and exploding the BOM. Without value the default value according the corresponding SAP parameter ID is used (last usage of this field).
Using the special value FROMOBJECT, the plant is determined according the current object. This is either the plant if a plant object is displayed, else space for group BOM.
Default value is FROMOBJECT.

REQUIRED_QUANTITY

The quantity for calculating the component quantity. Default value is 1.

USAGE

The BOM usage for defining and exploding, if BOM usage is used. Without value the default value according the corresponding SAP parameter ID is used (last usage of this field).

USAGE_OR_APPL

Defines if the explosion of the BOM is made using the BOM application (APPLICATION) or BOM usage (USAGE). Depending on this value in the radio button group the corresponding option will be set. Default is BOM usage.

VALIDITY

Defines the validity to use for the baseline report. Values according value list in customizing. See user manual for a description how the values are used.



© ProNovia AG | Imprint | Data Protection