SAP ABAP Class CL_COCF_SN_CLASSIC_GUI (Shift Note: Methods for Classic GUI)
Hierarchy
☛
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
⤷
PP-SFC (Application Component) Production Orders
⤷
COCF (Package) Order and Confirmation Data
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_COCF_GLOBAL_CONSTANTS | Generally Valid Constants | 20090511 |
Properties
| Class | CL_COCF_SN_CLASSIC_GUI | |
| Short Description | Shift Note: Methods for Classic GUI | |
| Super Class | CL_COCF_GLOBAL_CONSTANTS | Generally Valid Constants |
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | COCF | Order and Confirmation Data |
| Created | 20090511 | SAP |
| Last change | 20110908 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
Interfaces
Class CL_COCF_SN_CLASSIC_GUI has no interface implemented.
Friends
Class CL_COCF_SN_CLASSIC_GUI has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_GUI_CUSTOM_CONTAINER | Container for TextEdit Control | 20090511 | |||
| 2 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_GUI_TEXTEDIT | SAP TextEdit Control | 20090511 | |||
| 3 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_COCF_SN_CLASSIC_GUI | Instance Created | 20090511 | |||
| 4 | Instance attribute | Public | Object reference (TYPE REF TO) | CL_COCF_SHIFT_NOTE | Shift Note Object | 20090511 | |||
| 5 | Instance attribute | Public | Type reference (TYPE) | TY_S_CHANGED | Change Indicator | 20090512 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | THEAD | SAPscript: Text Header for Shift Note Long Text | 20090511 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | HASH160 | Hash Value of Starting Text of Note | 20090511 | |||
| 8 | Static Attribute | Private | Type reference (TYPE) | FLAG | Object Generated Via GET_INSTANCE | 20090511 | |||
| 9 | Instance attribute | Private | Type reference (TYPE) | I | Maximum Number of Characters in TextEdit Control | 20090527 | |||
| 10 | Instance attribute | Private | Type reference (TYPE) | I | Number of "Old" Characters in TextEdit Control | 20090511 | |||
| 11 | Instance attribute | Private | Type reference (TYPE) | I | Number of "Old" Lines in TextEdit Control | 20090511 | |||
| 12 | Instance attribute | Private | Type reference (TYPE) | I | Line Width for Long Text Editor | 20090511 | |||
| 13 | Instance attribute | Private | Type reference (TYPE) | I | Offset from Timestamp for Attachments | 20090511 | |||
| 14 | Instance attribute | Private | Type reference (TYPE) | I | Offset from Timestamp for Reference Object | 20090511 | |||
| 15 | Instance attribute | Private | Type reference (TYPE) | I | Offset from Timestamp for Category | 20090511 | |||
| 16 | Instance attribute | Private | Type reference (TYPE) | I | Offset from Timestamp for Deletion Flag | 20090511 | |||
| 17 | Instance attribute | Private | Type reference (TYPE) | I | Index in ITF Table Pointing to User Timestamp | 20090511 | |||
| 18 | Instance attribute | Private | Type reference (TYPE) | I | Offset from Timestamp for Event End | 20090511 | |||
| 19 | Instance attribute | Private | Type reference (TYPE) | I | Offset from Timestamp for Event Start | 20090511 | |||
| 20 | Instance attribute | Private | Type reference (TYPE) | I | Offset from Timestamp for Reporter | 20090511 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Creates Business Object for Reference Object | 20090515 | |
| 2 | Instance method | Public | Method | Displays Reference Object | 20090515 | |
| 3 | Instance method | Public | Method | Deletes Business Object for Reference Object | 20090515 | |
| 4 | Instance method | Public | Constructor | CONSTRUCTOR | 20090511 | |
| 5 | Instance method | Public | Method | Deletes Long Text from Text Buffer | 20090525 | |
| 6 | Instance method | Public | Method | Adds Change History to Long Text | 20090512 | |
| 7 | Instance method | Public | Method | Saves Long Text | 20090511 | |
| 8 | Instance method | Public | Method | Transfers Shift Note Long Text to TextEdit Control | 20090511 | |
| 9 | Instance method | Public | Method | Transfers TextEdit Control in Shift Note Long Text | 20090511 | |
| 10 | Static method | Public | Method | Generates an Object of Class | 20090511 | |
| 11 | Static method | Public | Method | Gets Object from Buffer | 20090512 | |
| 12 | Instance method | Private | Method | Inserts Line into Long Text | 20090511 | |
| 13 | Instance method | Private | Method | Determines Number of Protected Lines | 20090511 | |
| 14 | Instance method | Private | Method | Attaches Text Module to Long Text | 20090511 | |
| 15 | Instance method | Private | Method | Removes Line from Long Text | 20090511 |
Events
Class CL_COCF_SN_CLASSIC_GUI has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TY_S_CHANGED | Public | See coding | 20090512 | BEGIN OF ty_s_changed,
text TYPE flag,
bo TYPE flag,
attach TYPE flag,
END OF ty_s_changed
|
Method Signatures
Method BO_CREATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_MSGTYP | Call by reference | Type reference (TYPE) | SYMSGTY | Nachrichtentyp | 20090515 | |||
| 2 | I_OBJ_KEY | Call by reference | Type reference (TYPE) | SWO_TYPEID | Objektschlüssel | 20090515 | |||
| 3 | I_OBJ_TYP | Call by reference | Type reference (TYPE) | SWO_OBJTYP | Objekttyp | 20090515 | |||
| 4 | R_HANDLE | Value transfer | Type reference (TYPE) | SWO_OBJHND | Numer des Laufzeitobjektes | 20090515 |
Method BO_CREATE on class CL_COCF_SN_CLASSIC_GUI has no exception.
Method BO_DISPLAY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_OBJ_KEY | Call by reference | Type reference (TYPE) | SWO_TYPEID | Objektschlüssel | 20090515 | |||
| 2 | I_OBJ_TYP | Call by reference | Type reference (TYPE) | SWO_OBJTYP | Objekttyp | 20090515 |
Method BO_DISPLAY on class CL_COCF_SN_CLASSIC_GUI has no exception.
Method BO_FREE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_HANDLE | Value transfer | Type reference (TYPE) | SWO_OBJHND | Numer des Laufzeitobjektes | 20090515 |
Method BO_FREE on class CL_COCF_SN_CLASSIC_GUI has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_SHIFT_NOTE | Call by reference | Object reference (TYPE REF TO) | CL_COCF_SHIFT_NOTE | Schichtnotiz | 20090511 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions zu Schichtbericht/-notiz | 20090511 |
Method DELETE_TEXT_FROM_MEMORY Signature
Method DELETE_TEXT_FROM_MEMORY on class CL_COCF_SN_CLASSIC_GUI has no parameter.
Method DELETE_TEXT_FROM_MEMORY on class CL_COCF_SN_CLASSIC_GUI has no exception.
Method EDITOR_ADD_HISTORY_LINES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_DYNF_SN | Call by reference | Type reference (TYPE) | COCF_S_DYNF_SN | Dynprofelder für Schichtnotiz | 20090512 | |||
| 2 | CS_VIQMEL | Call by reference | Type reference (TYPE) | VIQMEL | Kopfdaten zur Meldung | 20090512 | |||
| 3 | CT_ITF | Call by reference | Type reference (TYPE) | TLINE_TAB | Liste von Sapscript Zeilen | 20090512 | |||
| 4 | C_ATM_CHANGED | Call by reference | Type reference (TYPE) | FLAG | Anlagen wurden geändert | 20090512 | |||
| 5 | IS_DYNF_1ST | Call by reference | Type reference (TYPE) | COCF_S_DYNF_SN | Dynprofelder für Schichtnotiz | 20090512 | |||
| 6 | IS_DYNF_SAV | Call by reference | Type reference (TYPE) | COCF_S_DYNF_SN | Dynprofelder für Schichtnotiz | 20090512 | |||
| 7 | IT_ATTACH | Call by reference | Type reference (TYPE) | CL_COCF_SHIFT_NOTE=>TY_T_ATTACH | Anlagen (neu und alt) | 20090512 | |||
| 8 | IT_ATTACH_DEL | Call by reference | Type reference (TYPE) | CL_COCF_SHIFT_NOTE=>TY_T_ATTACH | Zu löschende Anlagen | 20090512 | |||
| 9 | I_AKTYP | Call by reference | Type reference (TYPE) | AKTTYP | Aktivitätstyp in Transaktion (H/V/A) | 20090512 |
Method EDITOR_ADD_HISTORY_LINES on class CL_COCF_SN_CLASSIC_GUI has no exception.
Method EDITOR_COMMIT_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_AKTYP | Call by reference | Type reference (TYPE) | AKTTYP | Aktivitätstyp in Transaktion (H/V/A) | 20090511 |
Method EDITOR_COMMIT_TEXT on class CL_COCF_SN_CLASSIC_GUI has no exception.
Method EDITOR_GET_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_DYNF_SN | Call by reference | Type reference (TYPE) | COCF_S_DYNF_SN | Dynprofelder für Schichtnotiz | 20090511 | |||
| 2 | IS_VIQMEL | Call by reference | Type reference (TYPE) | VIQMEL | Kopfdaten zur Meldung | 20090511 | |||
| 3 | I_1STRUN | Call by reference | Type reference (TYPE) | XFELD | Erster Durchlauf | 20090511 | |||
| 4 | I_AKTYP | Call by reference | Type reference (TYPE) | AKTTYP | Aktivitätstyp in Transaktion (H/V/A) | 20090511 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions zu Schichtbericht/-notiz | 20090511 |
Method EDITOR_SET_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_DYNF_SN | Call by reference | Type reference (TYPE) | COCF_S_DYNF_SN | Dynprofelder für Schichtnotiz | 20090511 | |||
| 2 | CS_VIQMEL | Call by reference | Type reference (TYPE) | VIQMEL | Kopfdaten zur Meldung | 20090511 | |||
| 3 | C_ATM_CHANGED | Call by reference | Type reference (TYPE) | FLAG | Anlagen wurden geändert | 20090511 | |||
| 4 | E_TEXT_CHANGED | Call by reference | Type reference (TYPE) | FLAG | Text wurde von Benutzer geändert | 20090511 | |||
| 5 | IS_DYNF_1ST | Call by reference | Type reference (TYPE) | COCF_S_DYNF_SN | Dynprofelder für Schichtnotiz | 20090511 | |||
| 6 | IS_DYNF_SAV | Call by reference | Type reference (TYPE) | COCF_S_DYNF_SN | Dynprofelder für Schichtnotiz | 20090511 | |||
| 7 | IT_ATTACH | Call by reference | Type reference (TYPE) | CL_COCF_SHIFT_NOTE=>TY_T_ATTACH | Anlagen (neu und alt) | 20090511 | |||
| 8 | IT_ATTACH_DEL | Call by reference | Type reference (TYPE) | CL_COCF_SHIFT_NOTE=>TY_T_ATTACH | Zu löschende Anlagen | 20090511 | |||
| 9 | I_AKTYP | Call by reference | Type reference (TYPE) | AKTTYP | Aktivitätstyp in Transaktion (H/V/A) | 20090511 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions zu Schichtbericht/-notiz | 20090511 |
Method GET_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_SHIFT_NOTE | Call by reference | Object reference (TYPE REF TO) | CL_COCF_SHIFT_NOTE | Schichtnotiz | 20090511 | |||
| 2 | RO_GUI | Value transfer | Object reference (TYPE REF TO) | CL_COCF_SN_CLASSIC_GUI | Schichtnotiz: Methoden für klassisches GUI | 20090511 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions zu Schichtbericht/-notiz | 20090511 |
Method GET_INSTANCE_BUFFER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RO_GUI | Value transfer | Object reference (TYPE REF TO) | CL_COCF_SN_CLASSIC_GUI | Schichtnotiz: Methoden für klassisches GUI | 20090512 |
Method GET_INSTANCE_BUFFER on class CL_COCF_SN_CLASSIC_GUI has no exception.
Method _ADD_HIST_LINE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_ITF | Call by reference | Type reference (TYPE) | TLINE_TAB | Liste von Sapscript Zeilen | 20090511 | |||
| 2 | C_CNT | Call by reference | Type reference (TYPE) | I | Anzahl hinzugefügter SapScript Zeilen | 20090511 | |||
| 3 | I_INDEX | Call by reference | Type reference (TYPE) | SYTABIX | Position an der die Zeile eingefügt werden soll | 20090511 | |||
| 4 | I_LINE | Call by reference | Type reference (TYPE) | STRING | Zeile die hinzugefügt wird | 20090511 |
Method _ADD_HIST_LINE on class CL_COCF_SN_CLASSIC_GUI has no exception.
Method _CALC_PROT_LINES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_OLD_LINES | Call by reference | Type reference (TYPE) | I | Anzahl "alter" Zeilen | 20090511 | |||
| 2 | R_LINES | Value transfer | Type reference (TYPE) | I | Anzahl geschützter Zeilen | 20090511 |
Method _CALC_PROT_LINES on class CL_COCF_SN_CLASSIC_GUI has no exception.
Method _GET_TEXT_MODULE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_TEXT | Call by reference | Type reference (TYPE) | TLINE_TAB | Liste von Sapscript Zeilen | 20090511 | |||
| 2 | I_BOTYP | Call by reference | Type reference (TYPE) | SWO_OBJTYP | Objekttyp | 20090511 | |||
| 3 | I_MAX_CHARS | Call by reference | Type reference (TYPE) | I | Anzahl maximaler Zeichen inkl. Textbaustein | 20090527 | |||
| 4 | I_MODULE | Call by reference | Type reference (TYPE) | TDOBNAME | Name | 20090511 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions zu Schichtbericht/-notiz | 20090511 |
Method _REMOVE_HIST_LINE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_ITF | Call by reference | Type reference (TYPE) | TLINE_TAB | Liste von Sapscript Zeilen | 20090511 | |||
| 2 | C_CNT | Call by reference | Type reference (TYPE) | I | Anzahl hinzugefügter SapScript Zeilen | 20090511 | |||
| 3 | I_INDEX | Call by reference | Type reference (TYPE) | SYTABIX | Position der zu löschenden Zeile | 20090511 |
Method _REMOVE_HIST_LINE on class CL_COCF_SN_CLASSIC_GUI has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 605 |