Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Die eigentlichen Funktionalitäten werden im ProFramework als Befehle bezeichnet. Befehle werden in aller Regeln durch eine Funktion gestartet. Befehle werden durch den sog. Command Controller behandelt. Mit Hilfe des Command Controller kann die eigentliche Logik in mehrere Schritte aufgesplittet werden, was einerseits die Übersichtlichkeit erhöht, gleichzeitig aber auch eine zentrale Voraussetzung ist, damit in verschiedenen Oberflächentechnologien während der Verarbeitung eine synchrone Kommunikation zwischen dem Anwendungsserver und der Benutzeroberfläche stattfinden kann. Der Command Controller verwaltet dabei sämtliche Daten eines Befehls und stellt verschiedene Funktionalitäten bereit um die Implementierung zu vereinfachen.

Es existiert eine sehr ausführliche Dokumentation des Command Controllers.
{+}https://api.pronovia.ch/_pch_cl_cfw_ctrl_command.html+

Eine Liste sämtlicher vorhandener Befehle ist im ProFramework Customizing unter Erweiterungen > Anwendung > Befehle (nur Anzeigen) ersichtlich. Darin ist auch ersichtlich, welche Schritte in welcher Reihenfolge ausgeführt und welche Daten (Parameter) im Befehl verwendet werden.

In der Liste der Befehle ist auch die Herkunft des Befehls ersichtlich. Die Urheber von Befehlen stellen die entsprechenden Befehle in aller Regel auch als Konstanten bereit, die bei der Implementierung von Erweiterungen idealerweise auch verwendet werden.

Durch eine Erweiterung mit Hilfe des BAdIs The actual functionalities are called commands in ProFramework. Commands are usually started by a function. Commands are handled by the so-called Command Controller. With the help of the Command Controller, the actual logic can be split into several steps, which on the one hand increases the clarity, but at the same time is also a central prerequisite so that in different interface technologies a synchronous communication between the application server and the user interface can take place during processing. The command controller manages all data of a command and provides various functionalities to simplify the implementation.

Info

A list of all existing commands is available in ProFramework Customizing under Extensions → Application → Commands (display only). This also shows which steps are executed in which order and which data (parameters) are used in the command.

Info

The list of commands also shows the origin of the command. The originators of commands usually also provide the corresponding commands as constants, which are ideally also used when implementing extensions.

By an extension with the help of the BAdI /PCH/CFW_CTRL_COMMAND des Erweiterungsspots of the extension spot /PCH/CFW_APPLICATION kann ein Befehl gezielt verändert werden. Die Erweiterungsmöglichkeiten sind sehr vielfältig, aber gleichzeitig komplex und erfordern ein tieferes Verständnis für die Funktionsweise dieses Controllersa command can be changed specifically. The extension possibilities are very diverse, but at the same time complex and require a deeper understanding of how this controller works.