SAP ABAP Class /TDAG/CPCL_PROD_BROWSER_CTRL (CP: CfP XML Viewer)
Hierarchy
☛
TDAGBCA (Software Component) TechniData Basic Components
⤷ EHS (Application Component) Environment, Health and Safety
⤷ /TDAG/CP (Package) Compliance for products
⤷ EHS (Application Component) Environment, Health and Safety
⤷ /TDAG/CP (Package) Compliance for products
Meta Relationship - Using
# | Relationship type | Using | Short Description | Created on |
---|---|---|---|---|
1 | Inheritance (c INHERITING FROM c_ref) | /TDAG/CPCL_MGR_VIEW_CTRL | CP: Basisklasse für Manager View Controller | 20070821 |
Properties
Class | /TDAG/CPCL_PROD_BROWSER_CTRL | |
Short Description | CP: CfP XML Viewer | |
Super Class | /TDAG/CPCL_MGR_VIEW_CTRL | CP: Basisklasse für Manager View Controller |
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | /TDAG/CP | Compliance for products |
Created | 20070821 | SAP |
Last change | 20141109 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
Class /TDAG/CPCL_PROD_BROWSER_CTRL has no forward declaration.
Interfaces
Class /TDAG/CPCL_PROD_BROWSER_CTRL has no interface implemented.
Friends
Class /TDAG/CPCL_PROD_BROWSER_CTRL has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | MC_CODE_BACK | Constant | Protected | Type reference (TYPE) | SYUCOMM | 'BACK' | Ok code to handle back buttone | 20071016 | |
2 | MC_CODE_CANCEL | Constant | Protected | Type reference (TYPE) | SYUCOMM | 'CANCEL' | OK code to handle cancel button | 20071016 | |
3 | MC_CODE_DISPLAY | Constant | Protected | Type reference (TYPE) | SYUCOMM | 'DISPL' | OK code to display XML file | 20070911 | |
4 | MC_CODE_ENTER | Constant | Protected | Type reference (TYPE) | SYUCOMM | 'OK' | OK code to handle enter / continue | 20071016 | |
5 | MC_CODE_EXIT | Constant | Protected | Type reference (TYPE) | SYUCOMM | 'EXIT' | OK code to handle exit button | 20071016 | |
6 | MC_CODE_INFO | Constant | Protected | Type reference (TYPE) | SYUCOMM | 'INFO' | OK Code to display document information | 20070911 | |
7 | MC_CODE_NEXT | Constant | Protected | Type reference (TYPE) | SYUCOMM | 'NEXT' | Ok code to show next HTML page | 20070911 | |
8 | MC_CODE_PREVIOUS | Constant | Protected | Type reference (TYPE) | SYUCOMM | 'PREV' | OK code to show previous HTML page | 20070911 | |
9 | MC_CODE_PRINT | Constant | Protected | Type reference (TYPE) | SYUCOMM | 'PRINT' | OK code to print currently displayed page | 20071008 | |
10 | MC_CODE_REFRESH | Constant | Protected | Type reference (TYPE) | SYUCOMM | 'REFRESH' | OK Code to refresh current HTML page | 20070911 | |
11 | MC_CODE_SAVE | Constant | Protected | Type reference (TYPE) | SYUCOMM | 'SAVE' | OK code to save current html page | 20071011 | |
12 | MC_CODE_STRUCT | Constant | Protected | Type reference (TYPE) | SYUCOMM | 'STRUCT' | OK Code to hide/display product structre | 20070911 | |
13 | MO_CONTAINER | Instance attribute | Protected | Object reference (TYPE REF TO) | CL_GUI_CONTAINER | Container for Custom Controls in the Screen Area | 20070821 | ||
14 | MO_CONTAINER_LEFT | Instance attribute | Protected | Object reference (TYPE REF TO) | CL_GUI_CONTAINER | Abstract Container for GUI Controls | 20070821 | ||
15 | MO_CONTAINER_RIGHT | Instance attribute | Protected | Object reference (TYPE REF TO) | CL_GUI_CONTAINER | Abstract Container for GUI Controls | 20070821 | ||
16 | MO_HTML_DATA | Instance attribute | Protected | Object reference (TYPE REF TO) | /TDAG/CPCL_HTML_DATA | CP: Data provider for HTML_VIEW_CTRL | 20070903 | ||
17 | MO_HTML_VIEW | Instance attribute | Protected | Object reference (TYPE REF TO) | /TDAG/CPCL_HTML_VIEW_CTRL | CP: Displays html file | 20070903 | ||
18 | MO_OBSERVER | Instance attribute | Protected | Type reference (TYPE) | REF TO /TDAG/CPIF_MGR_OBSERVER | Object being informed about changes in the product structure | 20071018 | ||
19 | MO_PROD_VIEW | Instance attribute | Protected | Object reference (TYPE REF TO) | /TDAG/CPCL_PROD_STRU_VIEW_CTRL | CP: Control the display of the product structure | 20070829 | ||
20 | MO_SPLITTER | Instance attribute | Protected | Object reference (TYPE REF TO) | CL_GUI_SPLITTER_CONTAINER | Parent splitter container | 20070821 | ||
21 | MO_XML_STRU_DATA | Instance attribute | Protected | Object reference (TYPE REF TO) | /TDAG/CPCL_XML_STRU_DATA | CP: Read product tree data from CfP XML | 20070822 | ||
22 | MT_MESSAGE | Instance attribute | Private | Type reference (TYPE) | /TDAG/CPY_MESSAGES | CP: Message table | 20071023 | ||
23 | MT_XML_FILE | Instance attribute | Protected | Object reference (TYPE REF TO) | DATA | Data, displayed in the viewer | 20070822 | ||
24 | M_FLT_VALUE | Instance attribute | Public | Type reference (TYPE) | /TDAG/CPE_VIEWERNO | Internal key of the document viewer | 20071010 | ||
25 | M_TREE_WIDTH | Instance attribute | Protected | Type reference (TYPE) | I | Width of the left column | 20070911 | ||
26 | M_XML_FILE_SIZE | Instance attribute | Protected | Type reference (TYPE) | I | Size of the CfP XML file | 20070829 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | CONSTRUCTOR | Instance method | Public | Constructor | Instance constructor | 20071010 |
2 | CREATE_CONTAINERS | Instance method | Private | Method | Create container objects | 20070821 |
3 | DISPLAY_MESSAGES | Instance method | Private | Method | Display collected messages | 20071023 |
4 | DISPLAY_XML | Instance method | Private | Method | Display the XML file in the old manner | 20070911 |
5 | GET_OBSERVER | Instance method | Public | Method | Returns the currently registered Observer Object | 20071018 |
6 | GET_PROD_STRU_DATA | Instance method | Public | Method | Returns object with product structure data | 20071018 |
7 | INIT_HTML_VIEW_CTRL | Instance method | Private | Method | Initialize html view cotrol | 20070903 |
8 | INIT_PROD_STRU_VIEW_CTRL | Instance method | Private | Method | Initialize product structure view control | 20070821 |
9 | ON_SELECTION_CHANGED | Instance method | Private | Event handling method | Handler for SELECTION_CHANGE event of the tree | 20070903 |
10 | PRINT_HTML | Instance method | Private | Method | Print currently displayed page in the HTML view control | 20071008 |
11 | REFRESH_PAGE | Instance method | Private | Method | Refresh the page in the html browser | 20070911 |
12 | SAVE_HTML | Instance method | Private | Method | Save currently displayed page in the HTML view control | 20071011 |
13 | SET_OBSERVER | Instance method | Public | Method | Allow observer object to register for changes in the product | 20071018 |
14 | SET_XML_FILE | Instance method | Public | Method | Set the file, which will be displayed in the viewer | 20070821 |
15 | SHOW_DOC_INFO | Instance method | Private | Method | Show |
20070911 |
16 | SHOW_NEXT_PAGE | Instance method | Private | Method | Display next page in the html browser | 20070911 |
17 | SHOW_PREV_PAGE | Instance method | Private | Method | Display previous page in the html browser | 20070911 |
18 | SHOW_PROD_TREE | Instance method | Private | Method | Display product structure view control | 20070911 |
Events
Class /TDAG/CPCL_PROD_BROWSER_CTRL has no event.
Types
Class /TDAG/CPCL_PROD_BROWSER_CTRL has no local type.
Method Signatures
Method CONSTRUCTOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_FLT_VAL | Call by reference | Type reference (TYPE) | /TDAG/CPE_VIEWERNO | BADI Filter value | 20071010 |
Method CONSTRUCTOR on class /TDAG/CPCL_PROD_BROWSER_CTRL has no exception.
Method CREATE_CONTAINERS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IO_PARENT | Call by reference | Object reference (TYPE REF TO) | CL_GUI_CONTAINER | Parent container für das ALV-Grid-Control (wenn I_CONTAINER_ | 20070821 | ||
2 | Importing | I_CONTAINER_NAME | Call by reference | Type reference (TYPE) | C | Name des Custom Controls auf dem Dynpro, dem das ALV-Grid zu | 20070821 | ||
3 | Importing | I_DYNPRO | Call by reference | Type reference (TYPE) | SYDYNNR | Nummer des Dynpros für das ALV-Grid (wenn IO_PARENT initial | 20070821 | ||
4 | Importing | I_PROGRAM | Call by reference | Type reference (TYPE) | SYREPID | Rahmenprogramm des Dynpros für das ALV-Grid (wenn IO_PARENT | 20070821 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CREATE_FAILED | Not all containers are successfully created | 20070829 |
Method DISPLAY_MESSAGES Signature
Method DISPLAY_MESSAGES on class /TDAG/CPCL_PROD_BROWSER_CTRL has no parameter.
Method DISPLAY_MESSAGES on class /TDAG/CPCL_PROD_BROWSER_CTRL has no exception.
Method DISPLAY_XML Signature
Method DISPLAY_XML on class /TDAG/CPCL_PROD_BROWSER_CTRL has no parameter.
Method DISPLAY_XML on class /TDAG/CPCL_PROD_BROWSER_CTRL has no exception.
Method GET_OBSERVER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | RO_OBSERVER | Value transfer | Object reference (TYPE REF TO) | /TDAG/CPIF_MGR_OBSERVER | Currently registered Observer Object | 20071018 |
Method GET_OBSERVER on class /TDAG/CPCL_PROD_BROWSER_CTRL has no exception.
Method GET_PROD_STRU_DATA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | RO_PROD_STRU_DATA | Value transfer | Object reference (TYPE REF TO) | /TDAG/CPIF_STRU_DATA | CP: Interface for product structure data | 20071018 |
Method GET_PROD_STRU_DATA on class /TDAG/CPCL_PROD_BROWSER_CTRL has no exception.
Method INIT_HTML_VIEW_CTRL Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IO_PARENT | Call by reference | Object reference (TYPE REF TO) | CL_GUI_CONTAINER | Abstract Container for GUI Controls | 20070903 | ||
2 | Importing | I_CONTAINER_NAME | Call by reference | Type reference (TYPE) | C | The name of the parent container | 20070903 | ||
3 | Importing | I_DYNPRO | Call by reference | Type reference (TYPE) | SYDYNNR | ABAP program, number of current screen | 20070903 | ||
4 | Importing | I_PROGRAM | Call by reference | Type reference (TYPE) | SYREPID | ABAP program, current main program | 20070903 | ||
5 | Importing | I_SCENARIO_ID | Call by reference | Type reference (TYPE) | /TDAG/CPE_SCENARIOID | Compliance scenario | 20070903 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | INIT_FAILED | Initialization failed | 20070903 |
Method INIT_PROD_STRU_VIEW_CTRL Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IO_PARENT | Call by reference | Object reference (TYPE REF TO) | CL_GUI_CONTAINER | Abstract Container for GUI Controls | 20070822 | ||
2 | Importing | I_CONTAINER_NAME | Call by reference | Type reference (TYPE) | C | The name of the parent container | 20070822 | ||
3 | Importing | I_DYNPRO | Call by reference | Type reference (TYPE) | SYDYNNR | ABAP program, number of current screen | 20070822 | ||
4 | Importing | I_PROGRAM | Call by reference | Type reference (TYPE) | SYREPID | ABAP program, current main program | 20070822 | ||
5 | Importing | I_SCENARIO_ID | Call by reference | Type reference (TYPE) | /TDAG/CPE_SCENARIOID | Compliance scenario | 20070822 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | INIT_FAILED | Initialization failed | 20070822 |
Method ON_SELECTION_CHANGED Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | PO_SENDER | Call by reference | Attribute reference (LIKE) | 20070903 | ||||
2 | Importing | PS_ADDINFO | Call by reference | Attribute reference (LIKE) | 20070903 | ||||
3 | Importing | PT_NODE_DATA | Call by reference | Attribute reference (LIKE) | 20070903 | ||||
4 | Importing | P_SCENARIO_ID | Call by reference | Attribute reference (LIKE) | 20070903 |
Method ON_SELECTION_CHANGED on class /TDAG/CPCL_PROD_BROWSER_CTRL has no exception.
Method PRINT_HTML Signature
Method PRINT_HTML on class /TDAG/CPCL_PROD_BROWSER_CTRL has no parameter.
Method PRINT_HTML on class /TDAG/CPCL_PROD_BROWSER_CTRL has no exception.
Method REFRESH_PAGE Signature
Method REFRESH_PAGE on class /TDAG/CPCL_PROD_BROWSER_CTRL has no parameter.
Method REFRESH_PAGE on class /TDAG/CPCL_PROD_BROWSER_CTRL has no exception.
Method SAVE_HTML Signature
Method SAVE_HTML on class /TDAG/CPCL_PROD_BROWSER_CTRL has no parameter.
Method SAVE_HTML on class /TDAG/CPCL_PROD_BROWSER_CTRL has no exception.
Method SET_OBSERVER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IO_OBSERVER | Call by reference | Object reference (TYPE REF TO) | /TDAG/CPIF_MGR_OBSERVER | Observer object that wants to register | 20071018 |
Method SET_OBSERVER on class /TDAG/CPCL_PROD_BROWSER_CTRL has no exception.
Method SET_XML_FILE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IT_XML_DATA | Call by reference | Type reference (TYPE) | STANDARD TABLE | Data to be displayed | 20070822 | ||
2 | Importing | I_FILE_SIZE | Call by reference | Type reference (TYPE) | I | Size of the xml file | 20070829 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | MISSING_DATA | IT_XML_DATA table is empty | 20070821 | |
2 | MISSING_FILE_SIZE | I_FILE_SIZE parameter is initial | 20070829 |
Method SHOW_DOC_INFO Signature
Method SHOW_DOC_INFO on class /TDAG/CPCL_PROD_BROWSER_CTRL has no parameter.
Method SHOW_DOC_INFO on class /TDAG/CPCL_PROD_BROWSER_CTRL has no exception.
Method SHOW_NEXT_PAGE Signature
Method SHOW_NEXT_PAGE on class /TDAG/CPCL_PROD_BROWSER_CTRL has no parameter.
Method SHOW_NEXT_PAGE on class /TDAG/CPCL_PROD_BROWSER_CTRL has no exception.
Method SHOW_PREV_PAGE Signature
Method SHOW_PREV_PAGE on class /TDAG/CPCL_PROD_BROWSER_CTRL has no parameter.
Method SHOW_PREV_PAGE on class /TDAG/CPCL_PROD_BROWSER_CTRL has no exception.
Method SHOW_PROD_TREE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_FLG_SHOW | Call by reference | Type reference (TYPE) | ESEBOOLE | Show product tree flag | 20070911 |
Method SHOW_PROD_TREE on class /TDAG/CPCL_PROD_BROWSER_CTRL has no exception.
History
Last changed by/on | SAP | 20141109 |
SAP Release Created in | 222_46C |