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 CL_COCF_SHIFT_NOTE 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 GO_CONTAINER Instance attribute Private Object reference (TYPE REF TO) CL_GUI_CUSTOM_CONTAINER Container for TextEdit Control 20090511
2 GO_EDITOR Instance attribute Private Object reference (TYPE REF TO) CL_GUI_TEXTEDIT SAP TextEdit Control 20090511
3 GO_INSTANCE_BUFFER Static Attribute Private Object reference (TYPE REF TO) CL_COCF_SN_CLASSIC_GUI Instance Created 20090511
4 GO_SN Instance attribute Public Object reference (TYPE REF TO) CL_COCF_SHIFT_NOTE Shift Note Object 20090511
5 GS_CHANGED Instance attribute Public Type reference (TYPE) TY_S_CHANGED Change Indicator 20090512
6 GS_HEADER Instance attribute Private Type reference (TYPE) THEAD SAPscript: Text Header for Shift Note Long Text 20090511
7 G_EDITOR_START_HASH Instance attribute Private Type reference (TYPE) HASH160 Hash Value of Starting Text of Note 20090511
8 G_GET_INSTANCE_ACTIVE Static Attribute Private Type reference (TYPE) FLAG Object Generated Via GET_INSTANCE 20090511
9 G_LTXCHARS_M Instance attribute Private Type reference (TYPE) I Maximum Number of Characters in TextEdit Control 20090527
10 G_LTXCHARS_O Instance attribute Private Type reference (TYPE) I Number of "Old" Characters in TextEdit Control 20090511
11 G_LTXLINES_O Instance attribute Private Type reference (TYPE) I Number of "Old" Lines in TextEdit Control 20090511
12 G_LTXWIDTH Instance attribute Private Type reference (TYPE) I Line Width for Long Text Editor 20090511
13 G_LTX_ATM Instance attribute Private Type reference (TYPE) I Offset from Timestamp for Attachments 20090511
14 G_LTX_BOR Instance attribute Private Type reference (TYPE) I Offset from Timestamp for Reference Object 20090511
15 G_LTX_CAT Instance attribute Private Type reference (TYPE) I Offset from Timestamp for Category 20090511
16 G_LTX_DLFL Instance attribute Private Type reference (TYPE) I Offset from Timestamp for Deletion Flag 20090511
17 G_LTX_HIST Instance attribute Private Type reference (TYPE) I Index in ITF Table Pointing to User Timestamp 20090511
18 G_LTX_INCE Instance attribute Private Type reference (TYPE) I Offset from Timestamp for Event End 20090511
19 G_LTX_INCS Instance attribute Private Type reference (TYPE) I Offset from Timestamp for Event Start 20090511
20 G_LTX_REPB Instance attribute Private Type reference (TYPE) I Offset from Timestamp for Reporter 20090511
Methods
# Method Level Visibility Method type Description Created on
1 BO_CREATE Instance method Public Method Creates Business Object for Reference Object 20090515
2 BO_DISPLAY Instance method Public Method Displays Reference Object 20090515
3 BO_FREE Instance method Public Method Deletes Business Object for Reference Object 20090515
4 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20090511
5 DELETE_TEXT_FROM_MEMORY Instance method Public Method Deletes Long Text from Text Buffer 20090525
6 EDITOR_ADD_HISTORY_LINES Instance method Public Method Adds Change History to Long Text 20090512
7 EDITOR_COMMIT_TEXT Instance method Public Method Saves Long Text 20090511
8 EDITOR_GET_TEXT Instance method Public Method Transfers Shift Note Long Text to TextEdit Control 20090511
9 EDITOR_SET_TEXT Instance method Public Method Transfers TextEdit Control in Shift Note Long Text 20090511
10 GET_INSTANCE Static method Public Method Generates an Object of Class 20090511
11 GET_INSTANCE_BUFFER Static method Public Method Gets Object from Buffer 20090512
12 _ADD_HIST_LINE Instance method Private Method Inserts Line into Long Text 20090511
13 _CALC_PROT_LINES Instance method Private Method Determines Number of Protected Lines 20090511
14 _GET_TEXT_MODULE Instance method Private Method Attaches Text Module to Long Text 20090511
15 _REMOVE_HIST_LINE 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 Importing I_MSGTYP Call by reference Type reference (TYPE) SYMSGTY Nachrichtentyp 20090515
2 Importing I_OBJ_KEY Call by reference Type reference (TYPE) SWO_TYPEID Objektschlüssel 20090515
3 Importing I_OBJ_TYP Call by reference Type reference (TYPE) SWO_OBJTYP Objekttyp 20090515
4 Returning 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 Importing I_OBJ_KEY Call by reference Type reference (TYPE) SWO_TYPEID Objektschlüssel 20090515
2 Importing 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 Importing 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 Importing IO_SHIFT_NOTE Call by reference Object reference (TYPE REF TO) CL_COCF_SHIFT_NOTE Schichtnotiz 20090511
# Exception Resumable Description Created on
1 CX_COCF_SRN_EXCEPTION 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 Changing CS_DYNF_SN Call by reference Type reference (TYPE) COCF_S_DYNF_SN Dynprofelder für Schichtnotiz 20090512
2 Changing CS_VIQMEL Call by reference Type reference (TYPE) VIQMEL Kopfdaten zur Meldung 20090512
3 Changing CT_ITF Call by reference Type reference (TYPE) TLINE_TAB Liste von Sapscript Zeilen 20090512
4 Changing C_ATM_CHANGED Call by reference Type reference (TYPE) FLAG Anlagen wurden geändert 20090512
5 Importing IS_DYNF_1ST Call by reference Type reference (TYPE) COCF_S_DYNF_SN Dynprofelder für Schichtnotiz 20090512
6 Importing IS_DYNF_SAV Call by reference Type reference (TYPE) COCF_S_DYNF_SN Dynprofelder für Schichtnotiz 20090512
7 Importing IT_ATTACH Call by reference Type reference (TYPE) CL_COCF_SHIFT_NOTE=>TY_T_ATTACH Anlagen (neu und alt) 20090512
8 Importing IT_ATTACH_DEL Call by reference Type reference (TYPE) CL_COCF_SHIFT_NOTE=>TY_T_ATTACH Zu löschende Anlagen 20090512
9 Importing 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 Importing 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 Importing IS_DYNF_SN Call by reference Type reference (TYPE) COCF_S_DYNF_SN Dynprofelder für Schichtnotiz 20090511
2 Importing IS_VIQMEL Call by reference Type reference (TYPE) VIQMEL Kopfdaten zur Meldung 20090511
3 Importing I_1STRUN Call by reference Type reference (TYPE) XFELD Erster Durchlauf 20090511
4 Importing I_AKTYP Call by reference Type reference (TYPE) AKTTYP Aktivitätstyp in Transaktion (H/V/A) 20090511
# Exception Resumable Description Created on
1 CX_COCF_SRN_EXCEPTION 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 Changing CS_DYNF_SN Call by reference Type reference (TYPE) COCF_S_DYNF_SN Dynprofelder für Schichtnotiz 20090511
2 Changing CS_VIQMEL Call by reference Type reference (TYPE) VIQMEL Kopfdaten zur Meldung 20090511
3 Changing C_ATM_CHANGED Call by reference Type reference (TYPE) FLAG Anlagen wurden geändert 20090511
4 Exporting E_TEXT_CHANGED Call by reference Type reference (TYPE) FLAG Text wurde von Benutzer geändert 20090511
5 Importing IS_DYNF_1ST Call by reference Type reference (TYPE) COCF_S_DYNF_SN Dynprofelder für Schichtnotiz 20090511
6 Importing IS_DYNF_SAV Call by reference Type reference (TYPE) COCF_S_DYNF_SN Dynprofelder für Schichtnotiz 20090511
7 Importing IT_ATTACH Call by reference Type reference (TYPE) CL_COCF_SHIFT_NOTE=>TY_T_ATTACH Anlagen (neu und alt) 20090511
8 Importing IT_ATTACH_DEL Call by reference Type reference (TYPE) CL_COCF_SHIFT_NOTE=>TY_T_ATTACH Zu löschende Anlagen 20090511
9 Importing I_AKTYP Call by reference Type reference (TYPE) AKTTYP Aktivitätstyp in Transaktion (H/V/A) 20090511
# Exception Resumable Description Created on
1 CX_COCF_SRN_EXCEPTION Exceptions zu Schichtbericht/-notiz 20090511

Method GET_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_SHIFT_NOTE Call by reference Object reference (TYPE REF TO) CL_COCF_SHIFT_NOTE Schichtnotiz 20090511
2 Returning 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 CX_COCF_SRN_EXCEPTION 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 Returning 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 Changing CT_ITF Call by reference Type reference (TYPE) TLINE_TAB Liste von Sapscript Zeilen 20090511
2 Changing C_CNT Call by reference Type reference (TYPE) I Anzahl hinzugefügter SapScript Zeilen 20090511
3 Importing I_INDEX Call by reference Type reference (TYPE) SYTABIX Position an der die Zeile eingefügt werden soll 20090511
4 Importing 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 Importing I_OLD_LINES Call by reference Type reference (TYPE) I Anzahl "alter" Zeilen 20090511
2 Returning 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 Changing CT_TEXT Call by reference Type reference (TYPE) TLINE_TAB Liste von Sapscript Zeilen 20090511
2 Importing I_BOTYP Call by reference Type reference (TYPE) SWO_OBJTYP Objekttyp 20090511
3 Importing I_MAX_CHARS Call by reference Type reference (TYPE) I Anzahl maximaler Zeichen inkl. Textbaustein 20090527
4 Importing I_MODULE Call by reference Type reference (TYPE) TDOBNAME Name 20090511
# Exception Resumable Description Created on
1 CX_COCF_SRN_EXCEPTION 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 Changing CT_ITF Call by reference Type reference (TYPE) TLINE_TAB Liste von Sapscript Zeilen 20090511
2 Changing C_CNT Call by reference Type reference (TYPE) I Anzahl hinzugefügter SapScript Zeilen 20090511
3 Importing 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