Ansicht
Dokumentation

RH_PRESENTATION_GRAPHIC_SHOW -

RH_PRESENTATION_GRAPHIC_SHOW -

Vendor Master (General Section)   BAL_S_LOG - Application Log: Log header data  
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
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).
  • HEADER
Header (plot area)
  • ORIENTATION
Specifies how the data tables are interpreted
  • X_AXIS_TITLE
Title/label for the X-axis
  • Y_AXIS_TITLE
Title/label for the Y-axis
  • VALUES, COLUMN_TEXTS
Tables with the data to be displayed
  • ROW_LABELS, COLUMN_LABELS
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
HEADER
HEIGHT
INSTANCE
LEFT
ORIENTATION
PARENT
PRESENTATION_TYPE
RETVAL
ROW_LABELS
TOP
VALUES
WIDTH
X_AXIS_TITLE
Y_AXIS_TITLE

Exceptions

ERROR_OCCURRED

Function Group

RHPA_GRAPHIC

General Data in Customer Master   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.

Length: 4687 Date: 20240523 Time: 163411     sap01-206 ( 49 ms )