Ansicht
Dokumentation

GFW_PRES_SHOW - GFW: Simple display of a business graphic using the GFW

GFW_PRES_SHOW - GFW: Simple display of a business graphic using the GFW

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   Vendor Master (General Section)  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

GFW = Graphical Framework

GFW_PRES_SHOW is the GFW function module for business graphics.

It can display one(!) ActiveX or JAVABean ("control") graphic and includes a fallback strategy for the platforms on which controls cannot be run. On platforms that do not support controls the graphic is started as an external program (SAPBUSG).

The graphic product used by the function module is determined by product management, which is filled by SAP and enables the customer to change the priorities of the products used.

The function module has IMPORTING and TABLES parameters and EXCEPTIONS.

Parameters

  • CONTAINER or PARENT (importing)
Container object in which the graphic is to be placed (PARENT must have the data type TYPE REF TO CL_GUI_CONTAINER).
  • TOP (importing)
Alignment/upper edge of the parent object
  • LEFT (importing)
Alignment/left hand edge of the parent object
  • HEIGHT (importing)
Height of the control
  • WIDTH (importing)
Width of the control
  • PRESENTATION_TYPE (importing)
Diagram type = type in which all data series are represented (lines, points, vertical bar, pie ...)
The presentation type is determined by the constants in type group GFW (please refer to the documentation for the parameter PRESENTATION_TYPE).
If the PRESENTATION_TYPE is GFW_PRESTYPE_PIE_CHART make sure that the texts in the table parameters ROW_LABELS/COLUMN_LABELS are 20 characters or less, otherwise the sections of the pie are displayed white.
  • HEADER (importing)
Header (plot area)
  • ORIENTATION (importing)
Specifies how the data tables are interpreted
  • X_AXIS_TITLE (importing)
Title/label for the X-axis
  • Y_AXIS_TITLE (importing)
Title/label for the Y-axis
  • FORMAT (importing)
Format of requested export
  • VALUES, COLUMN_TEXTS (changing)
Tables with the data to be displayed
  • ROW_LABELS, COLUMN_LABELS (changing)
Table contains headings for the unique texts for the rows/columns

Example

Program DEMO_GFW_PRES_SHOW

Notes

  • The constants of the GFW type pool must be used because the content of the constants may change!
  • If you want to display several graphics with GFW function modules simultaneously, you can use the _MULT function module (here: GFW_PRES_SHOW_MULT).
  • Requirements that go beyond the range of functions described here (in particular, forcing a specific graphic product and interaction) can be programmed directly using the GFW ABAP Objects Framework.




Parameters

COLUMN_LABELS
COLUMN_TEXTS
CONTAINER
CONTENT
CONTENT_LENGTH
CONTENT_TYPE
FORMAT
HEADER
HEIGHT
LEFT
ORIENTATION
PARENT
PRESENTATION_TYPE
RETVAL
ROW_LABELS
TOP
VALUES
WIDTH
X_AXIS_TITLE
Y_AXIS_TITLE

Exceptions

ERROR_OCCURRED

Function Group

SGFW

BAL_S_LOG - Application Log: Log header data   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 5572 Date: 20240523 Time: 090325     sap01-206 ( 54 ms )