Hierarchy

⤷

⤷

Meta Relationship - Using
# | Relationship type | Using | Short Description | Created on |
---|---|---|---|---|
1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_DEMO_OUTPUT | Demo Output with Instance Methods | 20121212 |
2 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_DEMO_OUTPUT_FORMATS | Constants for Demo Output Stream | 20121212 |
Properties
Class | CL_DEMO_OUTPUT | |
Short Description | Demo Output with Static Methods or Instance Methods | |
Super Class | ||
Instantiability of a Class | 0 | Private |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | SABAP_DEMOS_OUTPUT_STREAM | Non-UI-Specific Output Stream for Demo Programs |
Created | 20120504 | SAP |
Last change | 20140121 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
Class CL_DEMO_OUTPUT has no forward declaration.
Interfaces
# | Interface | Abstract | Final | Description | Created on |
---|---|---|---|---|---|
1 | IF_DEMO_OUTPUT | Demo Output with Instance Methods | 20121212 | ||
2 | IF_DEMO_OUTPUT_FORMATS | Constants for Demo Output Stream | 20121212 |
Friends
Class CL_DEMO_OUTPUT has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Instance attribute | Private | Type reference (TYPE) | I | Header Level | 20121212 | ||
2 | ![]() |
Constant | Public | Type reference (TYPE) | STRING | 'HTML' | HTML Output Mode | 20121122 | |
3 | ![]() |
Static Attribute | Private | Type reference (TYPE) | STRING | 20121213 | |||
4 | ![]() |
Instance attribute | Private | Type reference (TYPE) | STRING | HTML_MODE | Output Mode (HTML or Text) | 20121212 | |
5 | ![]() |
Static Attribute | Private | Type reference (TYPE) | I | 20121212 | |||
6 | ![]() |
Static Attribute | Private | Type reference (TYPE) | STRING | 20121213 | |||
7 | ![]() |
Static Attribute | Private | Type reference (TYPE) | STRING | HTML_MODE | 20121212 | ||
8 | ![]() |
Static Attribute | Private | Object reference (TYPE REF TO) | CL_DEMO_OUTPUT_STREAM | 20121212 | |||
9 | ![]() |
Static Attribute | Private | Type reference (TYPE) | STRING | 20121213 | |||
10 | ![]() |
Instance attribute | Private | Object reference (TYPE REF TO) | CL_DEMO_OUTPUT_STREAM | Reference to Stream Object | 20121212 | ||
11 | ![]() |
Constant | Public | Type reference (TYPE) | STRING | 'TEXT' | Text Output Mode | 20121122 | |
12 | ![]() |
Static Attribute | Private | Type reference (TYPE) | STRING | 20121213 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Static method | Public | Method | Opens a header level | 20120910 |
2 | ![]() |
Static method | Public | Constructor | Opens output stream and registers event handler | 20120504 |
3 | ![]() |
Instance method | Public | Constructor | CONSTRUCTOR | 20121212 |
4 | ![]() |
Static method | Public | Method | Shows the current output and deletes it | 20120504 |
5 | ![]() |
Static method | Public | Method | Adds a data object to the output and shows the output | 20120504 |
6 | ![]() |
Static method | Public | Method | Adds HTML data to the output and shows the output | 20120511 |
7 | ![]() |
Static method | Public | Method | Adds JSON data to the output and shows the output | 20120902 |
8 | ![]() |
Static method | Public | Method | Adds text to the output and shows the output | 20120504 |
9 | ![]() |
Static method | Public | Method | Adds XML data to the output and shows the output | 20120510 |
10 | ![]() |
Static method | Public | Method | Closes a header level | 20120910 |
11 | ![]() |
Static method | Private | Method | Shared Implementation of BEGIN_SECTION | 20121212 |
12 | ![]() |
Static method | Private | Method | Shared Implementation of END_SECTION | 20121212 |
13 | ![]() |
Static method | Private | Method | Shared Implementation of WRITE | 20121213 |
14 | ![]() |
Static method | Private | Method | Shared Implementation of WRITE_DATA | 20121212 |
15 | ![]() |
Static method | Private | Method | Shared Implementation of WRITE_HTML | 20121212 |
16 | ![]() |
Static method | Private | Method | Shared Implementation of WRITE_JSON | 20121212 |
17 | ![]() |
Static method | Private | Method | Shared Implementation of WRITE_TEXT | 20121212 |
18 | ![]() |
Static method | Private | Method | Shared Implementation of WRITE_XML | 20121212 |
19 | ![]() |
Static method | Public | Method | Gets the current output and opens a new output | 20121213 |
20 | ![]() |
Static method | Private | Method | Gets name of data object (if possible) | 20130422 |
21 | ![]() |
Static method | Public | Method | Adds a horizontal HTML line | 20120910 |
22 | ![]() |
Static method | Public | Method | Creates an instance of the class and gets the reference | 20121212 |
23 | ![]() |
Static method | Public | Method | Closes header level and opens a new level | 20120920 |
24 | ![]() |
Instance method | Private | Method | Sets the handler for the stream (HTML or text) | 20121213 |
25 | ![]() |
Instance method | Private | Event handling method | Responds to end of HTML creation and gets HTML | 20121213 |
26 | ![]() |
Instance method | Private | Event handling method | Responds to end of text creation and gets text | 20121213 |
27 | ![]() |
Static method | Public | Method | Sets the static output mode (HTML or text) | 20121122 |
28 | ![]() |
Static method | Private | Method | Sets the handler for the stream (HTML or text) | 20121213 |
29 | ![]() |
Static method | Private | Event handling method | Responds to end of HTML creation and gets HTML | 20121213 |
30 | ![]() |
Static method | Private | Event handling method | Responds to end of text creation and gets text | 20121213 |
31 | ![]() |
Static method | Public | Method | Adds non-proportional text or data to the output | 20121213 |
32 | ![]() |
Static method | Public | Method | Adds a data object to the output | 20120504 |
33 | ![]() |
Static method | Public | Method | Adds HTML data to the output | 20120511 |
34 | ![]() |
Static method | Public | Method | Adds JSON data to the output | 20120902 |
35 | ![]() |
Static method | Public | Method | Adds text to the output | 20120504 |
36 | ![]() |
Static method | Public | Method | Adds XML data to the output | 20120510 |
Events
Class CL_DEMO_OUTPUT has no event.
Types
Class CL_DEMO_OUTPUT has no local type.
Method Signatures
Method BEGIN_SECTION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
TITLE | Call by reference | Type reference (TYPE) | CLIKE | Titel | 20120910 |
Method BEGIN_SECTION on class CL_DEMO_OUTPUT has no exception.
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_DEMO_OUTPUT has no parameter.
Method CLASS_CONSTRUCTOR on class CL_DEMO_OUTPUT has no exception.
Method CONSTRUCTOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
MODE | Call by reference | Type reference (TYPE) | STRING | HTML_MODE | HTML oder TEXT | 20121212 |
Method CONSTRUCTOR on class CL_DEMO_OUTPUT has no exception.
Method DISPLAY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
DATA | Call by reference | Type reference (TYPE) | ANY | Text oder Daten | 20121213 | ||
2 | ![]() |
NAME | Call by reference | Type reference (TYPE) | STRING | 20130422 |
Method DISPLAY on class CL_DEMO_OUTPUT has no exception.
Method DISPLAY_DATA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
NAME | Call by reference | Type reference (TYPE) | STRING | Name | 20130422 | ||
2 | ![]() |
VALUE | Call by reference | Type reference (TYPE) | DATA | 20120504 |
Method DISPLAY_DATA on class CL_DEMO_OUTPUT has no exception.
Method DISPLAY_HTML Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
HTML | Call by reference | Type reference (TYPE) | CSEQUENCE | 20120511 |
Method DISPLAY_HTML on class CL_DEMO_OUTPUT has no exception.
Method DISPLAY_JSON Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
JSON | Call by reference | Type reference (TYPE) | SIMPLE | 20120902 |
Method DISPLAY_JSON on class CL_DEMO_OUTPUT has no exception.
Method DISPLAY_TEXT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
TEXT | Call by reference | Type reference (TYPE) | CLIKE | 20120504 |
Method DISPLAY_TEXT on class CL_DEMO_OUTPUT has no exception.
Method DISPLAY_XML Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
XML | Call by reference | Type reference (TYPE) | SIMPLE | 20120510 |
Method DISPLAY_XML on class CL_DEMO_OUTPUT has no exception.
Method END_SECTION Signature
Method END_SECTION on class CL_DEMO_OUTPUT has no parameter.
Method END_SECTION on class CL_DEMO_OUTPUT has no exception.
Method EXEC_BEGIN_SECTION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
HEADING_LEVEL | Call by reference | Type reference (TYPE) | I | 20121212 | |||
2 | ![]() |
STREAM_HANDLE | Call by reference | Object reference (TYPE REF TO) | CL_DEMO_OUTPUT_STREAM | 20121212 | |||
3 | ![]() |
TITLE | Call by reference | Type reference (TYPE) | CLIKE | 20121212 |
Method EXEC_BEGIN_SECTION on class CL_DEMO_OUTPUT has no exception.
Method EXEC_END_SECTION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
HEADING_LEVEL | Call by reference | Type reference (TYPE) | I | 20121212 |
Method EXEC_END_SECTION on class CL_DEMO_OUTPUT has no exception.
Method EXEC_WRITE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
DATA | Call by reference | Type reference (TYPE) | ANY | 20121213 | |||
2 | ![]() |
NAME | Call by reference | Type reference (TYPE) | STRING | Name | 20130422 | ||
3 | ![]() |
STREAM_HANDLE | Call by reference | Object reference (TYPE REF TO) | CL_DEMO_OUTPUT_STREAM | Demo für XML-Ausgabestrom für ABAP-Daten | 20121213 |
Method EXEC_WRITE on class CL_DEMO_OUTPUT has no exception.
Method EXEC_WRITE_DATA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
NAME | Call by reference | Type reference (TYPE) | STRING | Name | 20130422 | ||
2 | ![]() |
STREAM_HANDLE | Call by reference | Object reference (TYPE REF TO) | CL_DEMO_OUTPUT_STREAM | 20121212 | |||
3 | ![]() |
VALUE | Call by reference | Type reference (TYPE) | DATA | 20121212 |
Method EXEC_WRITE_DATA on class CL_DEMO_OUTPUT has no exception.
Method EXEC_WRITE_HTML Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
HTML | Call by reference | Type reference (TYPE) | CSEQUENCE | 20121212 | |||
2 | ![]() |
STREAM_HANDLE | Call by reference | Object reference (TYPE REF TO) | CL_DEMO_OUTPUT_STREAM | 20121212 |
Method EXEC_WRITE_HTML on class CL_DEMO_OUTPUT has no exception.
Method EXEC_WRITE_JSON Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
JSON | Call by reference | Type reference (TYPE) | SIMPLE | 20121212 | |||
2 | ![]() |
STREAM_HANDLE | Call by reference | Object reference (TYPE REF TO) | CL_DEMO_OUTPUT_STREAM | 20121212 |
Method EXEC_WRITE_JSON on class CL_DEMO_OUTPUT has no exception.
Method EXEC_WRITE_TEXT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
STREAM_HANDLE | Call by reference | Object reference (TYPE REF TO) | CL_DEMO_OUTPUT_STREAM | 20121212 | |||
2 | ![]() |
TEXT | Call by reference | Type reference (TYPE) | CLIKE | 20121212 |
Method EXEC_WRITE_TEXT on class CL_DEMO_OUTPUT has no exception.
Method EXEC_WRITE_XML Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
STREAM_HANDLE | Call by reference | Object reference (TYPE REF TO) | CL_DEMO_OUTPUT_STREAM | 20121212 | |||
2 | ![]() |
XML | Call by reference | Type reference (TYPE) | SIMPLE | 20121212 |
Method EXEC_WRITE_XML on class CL_DEMO_OUTPUT has no exception.
Method GET Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
DATA | Call by reference | Type reference (TYPE) | ANY | Text oder Daten | 20121213 | ||
2 | ![]() |
NAME | Call by reference | Type reference (TYPE) | STRING | 20130422 | |||
3 | ![]() |
OUTPUT | Value transfer | Type reference (TYPE) | STRING | 20130422 |
Method GET on class CL_DEMO_OUTPUT has no exception.
Method GET_NAME Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
NAME | Value transfer | Type reference (TYPE) | STRING | Name | 20130422 |
Method GET_NAME on class CL_DEMO_OUTPUT has no exception.
Method LINE Signature
Method LINE on class CL_DEMO_OUTPUT has no parameter.
Method LINE on class CL_DEMO_OUTPUT has no exception.
Method NEW Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
MODE | Call by reference | Type reference (TYPE) | STRING | HTML_MODE | HTML oder TEXT | 20121212 | |
2 | ![]() |
OUTPUT | Value transfer | Object reference (TYPE REF TO) | IF_DEMO_OUTPUT | 20121212 |
Method NEW on class CL_DEMO_OUTPUT has no exception.
Method NEXT_SECTION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
TITLE | Call by reference | Type reference (TYPE) | CLIKE | Titel | 20120920 |
Method NEXT_SECTION on class CL_DEMO_OUTPUT has no exception.
Method SET_INSTANCE_HANDLER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
MODE | Call by reference | Type reference (TYPE) | STRING | HTML_MODE | HTML_MODE oder TEXT_MODE | 20121213 |
Method SET_INSTANCE_HANDLER on class CL_DEMO_OUTPUT has no exception.
Method SET_INSTANCE_HTML Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EV_HTML | Value transfer | Attribute reference (LIKE) | 20121213 |
Method SET_INSTANCE_HTML on class CL_DEMO_OUTPUT has no exception.
Method SET_INSTANCE_TEXT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EV_TEXT | Value transfer | Attribute reference (LIKE) | 20121213 |
Method SET_INSTANCE_TEXT on class CL_DEMO_OUTPUT has no exception.
Method SET_MODE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
MODE | Call by reference | Type reference (TYPE) | STRING | HTML_MODE | HTML_MODE oder TEXT_MODE | 20121122 |
Method SET_MODE on class CL_DEMO_OUTPUT has no exception.
Method SET_STATIC_HANDLER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
MODE | Call by reference | Type reference (TYPE) | STRING | HTML_MODE | HTML_MODE oder TEXT_MODE | 20121213 |
Method SET_STATIC_HANDLER on class CL_DEMO_OUTPUT has no exception.
Method SET_STATIC_HTML Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EV_HTML | Value transfer | Attribute reference (LIKE) | 20121213 |
Method SET_STATIC_HTML on class CL_DEMO_OUTPUT has no exception.
Method SET_STATIC_TEXT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EV_TEXT | Value transfer | Attribute reference (LIKE) | 20121213 |
Method SET_STATIC_TEXT on class CL_DEMO_OUTPUT has no exception.
Method WRITE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
DATA | Call by reference | Type reference (TYPE) | ANY | Text oder Daten | 20121213 | ||
2 | ![]() |
NAME | Call by reference | Type reference (TYPE) | STRING | Name | 20130422 |
Method WRITE on class CL_DEMO_OUTPUT has no exception.
Method WRITE_DATA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
NAME | Call by reference | Type reference (TYPE) | STRING | Name | 20130422 | ||
2 | ![]() |
VALUE | Call by reference | Type reference (TYPE) | DATA | 20120504 |
Method WRITE_DATA on class CL_DEMO_OUTPUT has no exception.
Method WRITE_HTML Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
HTML | Call by reference | Type reference (TYPE) | CSEQUENCE | 20120511 |
Method WRITE_HTML on class CL_DEMO_OUTPUT has no exception.
Method WRITE_JSON Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
JSON | Call by reference | Type reference (TYPE) | SIMPLE | 20120902 |
Method WRITE_JSON on class CL_DEMO_OUTPUT has no exception.
Method WRITE_TEXT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
TEXT | Call by reference | Type reference (TYPE) | CLIKE | Text | 20120504 |
Method WRITE_TEXT on class CL_DEMO_OUTPUT has no exception.
Method WRITE_XML Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
XML | Call by reference | Type reference (TYPE) | SIMPLE | 20120510 |
Method WRITE_XML on class CL_DEMO_OUTPUT has no exception.
History
Last changed by/on | SAP | 20140121 |
SAP Release Created in | 732 |