SAP ABAP Class CL_COCF_SN_API (API for Shift Notes)
Hierarchy
☛
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
⤷
PP-SFC (Application Component) Production Orders
⤷
COCF (Package) Order and Confirmation Data
⤷
⤷
Properties
| Class | CL_COCF_SN_API | |
| Short Description | API for Shift Notes | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | COCF | Order and Confirmation Data |
| Created | 20070803 | SAP |
| Last change | 20110908 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_COCF_SN_API has no forward declaration.
Interfaces
Class CL_COCF_SN_API has no interface implemented.
Friends
Class CL_COCF_SN_API has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | COCF_SRN_ORIGIN | 02 | Shift Note Category EAM | 20070810 | ||
| 2 | Constant | Private | Type reference (TYPE) | COCF_SRN_ORIGIN | 01 | Shift Note Category PP | 20070814 | ||
| 3 | Instance attribute | Private | Type reference (TYPE) | BAPIRETTAB | Table with BAPI Return Information | 20080229 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | Check the Parameters | 20070806 | |
| 2 | Instance method | Private | Method | Check the Parameters | 20070813 | |
| 3 | Instance method | Private | Method | Check the Parameters | 20070814 | |
| 4 | Instance method | Private | Method | Check Notifications in Notification Table | 20070806 | |
| 5 | Instance method | Private | Method | Map System Message in Return Table | 20070803 | |
| 6 | Instance method | Private | Method | Raise Exception with System Message | 20080229 | |
| 7 | Instance method | Private | Method | Create Shift Note | 20070803 | |
| 8 | Instance method | Public | Method | Create Shift Note for Technical Object | 20070813 | |
| 9 | Instance method | Public | Method | Create Shift Note for Work Center | 20070814 | |
| 10 | Instance method | Public | Method | Read Content of a Shift Note | 20091209 |
Events
Class CL_COCF_SN_API has no event.
Types
Class CL_COCF_SN_API has no local type.
Method Signatures
Method CHECK_INPUT_PARAMETER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_RIQS5 | Call by reference | Type reference (TYPE) | RIQS5 | Kopfdaten für neue Meldung | 20080228 | |||
| 2 | CT_LONGTEXT | Call by reference | Type reference (TYPE) | TLINE_TAB | Liste von Sapscript Zeilen | 20070823 | |||
| 3 | I_BO_KEY | Call by reference | Type reference (TYPE) | SWO_TYPEID | Schlüssel des Bor Objekts | 20070806 | |||
| 4 | I_BO_TYP | Call by reference | Type reference (TYPE) | SWO_OBJTYP | Bor Objekttyp | 20070806 | |||
| 5 | I_CATEGORY | Call by reference | Type reference (TYPE) | COCF_SN_CATEGORY | Kategorie | 20070806 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions zu Schichtbericht/-notiz | 20070806 |
Method CHECK_INPUT_PARAMETER_EAM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_RIQS5 | Call by reference | Type reference (TYPE) | RIQS5 | Kopfdaten für neue Meldung | 20080228 | |||
| 2 | CT_LONGTEXT | Call by reference | Type reference (TYPE) | TLINE_TAB | Liste von Sapscript Zeilen | 20070823 | |||
| 3 | I_BO_KEY | Call by reference | Type reference (TYPE) | SWO_TYPEID | Schlüssel des Bor Objekts | 20070813 | |||
| 4 | I_BO_TYP | Call by reference | Type reference (TYPE) | SWO_OBJTYP | Bor Objekttyp | 20070813 | |||
| 5 | I_CATEGORY | Call by reference | Type reference (TYPE) | COCF_SN_CATEGORY | Kategorie | 20070813 | |||
| 6 | I_EQUIPMENT | Call by reference | Type reference (TYPE) | EQUNR | Equipmentnummer | 20070813 | |||
| 7 | I_FUNC_LOCATION | Call by reference | Type reference (TYPE) | TPLNR | Technischer Platz | 20070813 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions zu Schichtbericht/-notiz | 20070813 |
Method CHECK_INPUT_PARAMETER_PP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_RIQS5 | Call by reference | Type reference (TYPE) | RIQS5 | Kopfdaten für neue Meldung | 20080228 | |||
| 2 | CT_LONGTEXT | Call by reference | Type reference (TYPE) | TLINE_TAB | Liste von Sapscript Zeilen | 20070823 | |||
| 3 | I_BO_KEY | Call by reference | Type reference (TYPE) | SWO_TYPEID | Schlüssel des Bor Objekts | 20070814 | |||
| 4 | I_BO_TYP | Call by reference | Type reference (TYPE) | SWO_OBJTYP | Bor Objekttyp | 20070814 | |||
| 5 | I_CATEGORY | Call by reference | Type reference (TYPE) | COCF_SN_CATEGORY | Kategorie | 20070814 | |||
| 6 | I_HIERARCHY | Call by reference | Type reference (TYPE) | COCF_SRN_WCGRP | Kennzeichen ob es sich um eine Hierarchie handelt | 20070814 | |||
| 7 | I_PLANT | Call by reference | Type reference (TYPE) | WERKS_D | Werk | 20070814 | |||
| 8 | I_WORKCENTER | Call by reference | Type reference (TYPE) | COCF_SRN_ARBHI | Arbeitsplatz | 20070814 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions zu Schichtbericht/-notiz | 20070814 |
Method CHECK_RETURN_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NUMBER_OF_ERRORS | Call by reference | Type reference (TYPE) | INT4 | Anzahl Fehlermeldungen | 20070806 | |||
| 2 | NUMBER_OF_INFO_SUCCESS | Call by reference | Type reference (TYPE) | INT4 | Anzahl Info-/Erfolgsmeldungen | 20070806 | |||
| 3 | NUMBER_OF_MESSAGES | Call by reference | Type reference (TYPE) | INT4 | Anzahl der Meldungen | 20070806 | |||
| 4 | NUMBER_OF_WARNINGS | Call by reference | Type reference (TYPE) | INT4 | Anzahl Warnungen | 20070806 |
Method CHECK_RETURN_TABLE on class CL_COCF_SN_API has no exception.
Method MESSAGE_TO_RETURN Signature
Method MESSAGE_TO_RETURN on class CL_COCF_SN_API has no parameter.
Method MESSAGE_TO_RETURN on class CL_COCF_SN_API has no exception.
Method RAISE_MESSAGE Signature
Method RAISE_MESSAGE on class CL_COCF_SN_API has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions zu Schichtbericht/-notiz | 20080229 |
Method SHIFT_NOTE_CREATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_SN_NUMBER | Call by reference | Type reference (TYPE) | COCF_SN_NOTIFNUM | Schichtnotiznummer | 20070817 | |||
| 2 | IS_RIQS5 | Call by reference | Type reference (TYPE) | RIQS5 | PM/SM/QM-Meldungen: I/O-Daten für Anlegen Meldung | 20080228 | |||
| 3 | IT_LONGTEXT | Call by reference | Type reference (TYPE) | TLINE_TAB | Texttabelle | 20070823 | |||
| 4 | I_BO_KEY | Call by reference | Type reference (TYPE) | SWO_TYPEID | Business Objekt | 20070808 | |||
| 5 | I_BO_TYP | Call by reference | Type reference (TYPE) | SWO_OBJTYP | Business Objekttyp | 20070806 |
Method SHIFT_NOTE_CREATE on class CL_COCF_SN_API has no exception.
Method SHIFT_NOTE_CREATE_EAM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_RETURN | Call by reference | Type reference (TYPE) | BAPIRETTAB | Tabelle mit BAPI Return Informationen | 20070823 | |||
| 2 | E_SN_NUMBER | Call by reference | Type reference (TYPE) | COCF_SN_NOTIFNUM | Schichtnotiznummer | 20070817 | |||
| 3 | IS_RIQS5 | Call by reference | Type reference (TYPE) | RIQS5 | PM/SM/QM-Meldungen: I/O-Daten für Anlegen Meldung | 20080228 | |||
| 4 | IT_LONGTEXT | Call by reference | Type reference (TYPE) | TLINE_TAB | Texttabelle | 20070823 | |||
| 5 | I_BO_KEY | Call by reference | Type reference (TYPE) | SWO_TYPEID | Business Objekt | 20070813 | |||
| 6 | I_BO_TYP | Call by reference | Type reference (TYPE) | SWO_OBJTYP | Business Objekttyp | 20070813 | |||
| 7 | I_CATEGORY | Call by reference | Type reference (TYPE) | COCF_SN_CATEGORY | Kategorie | 20070813 | |||
| 8 | I_EQUIPMENT | Call by reference | Type reference (TYPE) | EQUNR | Equipmentnummer | 20070813 | |||
| 9 | I_FUNC_LOCATION | Call by reference | Type reference (TYPE) | TPLNR | Technischer Platz | 20070813 | |||
| 10 | I_INCIDENT_END_DATE | Call by reference | Type reference (TYPE) | COCF_SN_INCIDENT_END_DATE | Datum an dem das Ereignis beendet war | 20080228 | |||
| 11 | I_INCIDENT_END_TIME | Call by reference | Type reference (TYPE) | COCF_SN_INCIDENT_END_TIME | Uhrzeit an dem das Ereignis beendet war | 20080228 | |||
| 12 | I_INCIDENT_OPEN_END | Call by reference | Type reference (TYPE) | COCF_SN_INCIDENT_OPEN_END | Ereignisende ist noch unbekannt | 20080228 | |||
| 13 | I_INCIDENT_START_DATE | Call by reference | Type reference (TYPE) | COCF_SN_INCIDENT_START_DATE | Datum, an dem das Ereignis stattgefunden bzw. begonnen hat | 20080228 | |||
| 14 | I_INCIDENT_START_TIME | Call by reference | Type reference (TYPE) | COCF_SN_INCIDENT_START_TIME | Uhrzeit an dem das Ereignis stattgefunden bzw. begonnen hat | 20080228 | |||
| 15 | I_SN_NUMBER_EXT | Call by reference | Type reference (TYPE) | COCF_SN_NOTIFNUM | Schichtnotiznummer bei externer Nummernvergabe | 20080228 |
Method SHIFT_NOTE_CREATE_EAM on class CL_COCF_SN_API has no exception.
Method SHIFT_NOTE_CREATE_PP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_RETURN | Call by reference | Type reference (TYPE) | BAPIRETTAB | Tabelle mit BAPI Return Informationen | 20070823 | |||
| 2 | E_SN_NUMBER | Call by reference | Type reference (TYPE) | COCF_SN_NOTIFNUM | Schichtnotiznummer | 20070817 | |||
| 3 | IS_RIQS5 | Call by reference | Type reference (TYPE) | RIQS5 | PM/SM/QM-Meldungen: I/O-Daten für Anlegen Meldung | 20080228 | |||
| 4 | IT_LONGTEXT | Call by reference | Type reference (TYPE) | TLINE_TAB | Texttabelle | 20070823 | |||
| 5 | I_BO_KEY | Call by reference | Type reference (TYPE) | SWO_TYPEID | Business Objekt | 20070814 | |||
| 6 | I_BO_TYP | Call by reference | Type reference (TYPE) | SWO_OBJTYP | Business Objekttyp | 20070814 | |||
| 7 | I_CATEGORY | Call by reference | Type reference (TYPE) | COCF_SN_CATEGORY | Kategorie | 20070814 | |||
| 8 | I_HIERARCHY | Call by reference | Type reference (TYPE) | COCF_SRN_WCGRP | Kennzeichen ob es sich um eine Hierarchie handelt | 20070814 | |||
| 9 | I_INCIDENT_END_DATE | Call by reference | Type reference (TYPE) | COCF_SN_INCIDENT_END_DATE | Datum an dem das Ereignis beendet war | 20080228 | |||
| 10 | I_INCIDENT_END_TIME | Call by reference | Type reference (TYPE) | COCF_SN_INCIDENT_END_TIME | Uhrzeit an dem das Ereignis beendet war | 20080228 | |||
| 11 | I_INCIDENT_OPEN_END | Call by reference | Type reference (TYPE) | COCF_SN_INCIDENT_OPEN_END | Ereignisende ist noch unbekannt | 20080228 | |||
| 12 | I_INCIDENT_START_DATE | Call by reference | Type reference (TYPE) | COCF_SN_INCIDENT_START_DATE | Datum, an dem das Ereignis stattgefunden bzw. begonnen hat | 20080228 | |||
| 13 | I_INCIDENT_START_TIME | Call by reference | Type reference (TYPE) | COCF_SN_INCIDENT_START_TIME | Uhrzeit an dem das Ereignis stattgefunden bzw. begonnen hat | 20080228 | |||
| 14 | I_PLANT | Call by reference | Type reference (TYPE) | WERKS_D | Werk | 20070814 | |||
| 15 | I_SN_NUMBER_EXT | Call by reference | Type reference (TYPE) | COCF_SN_NOTIFNUM | Schichtnotiznummer bei externer Nummernvergabe | 20080228 | |||
| 16 | I_WORKCENTER | Call by reference | Type reference (TYPE) | COCF_SRN_ARBHI | Name des Arbeitsplatzes oder der Hierarchie | 20070814 |
Method SHIFT_NOTE_CREATE_PP on class CL_COCF_SN_API has no exception.
Method SHIFT_NOTE_READ Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_SNOTE | Call by reference | Type reference (TYPE) | COCF_S_SN_LIST | Schichtnotiz | 20091209 | |||
| 2 | ET_ATTACH | Call by reference | Type reference (TYPE) | COCF_T_SN_ATTACH | Anlagen zur Schichtnotiz | 20091209 | |||
| 3 | ET_LONGTEXT | Call by reference | Type reference (TYPE) | TLINE_TAB | Liste von Sapscript Zeilen | 20091209 | |||
| 4 | ET_RETURN | Call by reference | Type reference (TYPE) | BAPIRETTAB | Tabelle mit BAPI Return Informationen | 20091209 | |||
| 5 | I_SN_NUMBER | Call by reference | Type reference (TYPE) | COCF_SN_NOTIFNUM | Meldungsnummer der Schichtnotiz | 20091209 |
Method SHIFT_NOTE_READ on class CL_COCF_SN_API has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 603 |