Modeling Guide for SAP Data Hub

Terminal

The Terminal operator represents a terminal window in the browser.

It consists of an output area on top and an input area. The output area is bound to the input port in1. The input area is bound to the output port out1.

The areas can be resized by dragging the frame separator.

Display Areas

  • Output: Displays in real time the data received from another operator through the bound port in1. May add a prefix/suffix to each message as set in layout. The maximum number of lines to be kept on screen can be set at the Line Limit form. Multi-line strings received will count as only one message and display on multiple lines, receiving only one layout formatting.
  • Input: Allows sending edited data to other operators through the bound port out1. Will send literal strings as they appear on screen when Enter is pressed. To add a newline feed, use Shift-Enter. A list of all available shortcuts can be accessed at the Keyboard Shortcuts button.

Menu Options

  • Instant Refresh: Toggles whether the received data will be instantly displayed in the Output area or stored to be refreshed later. When turned *OFF*, data will not be updated on screen, but will still be processed and stored. In order to be turned *ON*, the screen must not be scrolled (it is considered scrolling when the vertical scroll bar is not at the bottom or the cursor is not at the last displayed character). In case it was turned *OFF* by scrolling (as opposed to clicking the button), it will automatically turn *ON* again when it is no longer scrolling. Turning it *ON* again by clicking the button when it is *OFF* will automatically move the cursor and the scroll bar to the end of the document, thus resetting the scroll status as not scrolling.
  • Clear Input/Clear Output: Clears the content of the corresponding area.
  • Line Limit: Limits the number of lines that will be shown at the Output area. Press Enter after inserting the number to refresh. Setting this to 0 will remove line limit and display as many lines as the machine can receive/process.
  • Keyboard Shortcuts: Displays a pop-on dialog with the Input are shortcuts for editing commands.

Configuration Parameters

Parameter

Type

Description

disable

bool Setting this to true disables the output processing in the back end.

Default: false

maxSize int The maximum size of each message to be displayed in the Terminal. Any message larger than this size in bytes will be truncated when displayed.

Default: 8192

spoolSize int The number of preceding messages that are spooled and sent to the display that has started at some later time.

Default: 100

layout string The layout pattern to display each inputted message, consisting of literal characters and the following pieces:
  • %m - The received string message.

  • %d - Timestamp.

  • %n - Newline feed.

  • %r - Time (milliseconds) between operator creation and message reception at back end component.

Default: "[%d] %m%n"

Input

Input

Type

Description

in1

string

Input string to be displayed on terminal output area.

Output

Output

Type

Description

out1

string

Output string from terminal input area.