SAP ABAP Class CL_COCF_SR_PDF_TOP (Super Class for Shift Report Creation)
Hierarchy
☛
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
⤷ PP-SFC (Application Component) Production Orders
⤷ COCF (Package) Order and Confirmation Data
⤷ PP-SFC (Application Component) Production Orders
⤷ COCF (Package) Order and Confirmation Data
Meta Relationship - Used By
# | Relationship type | Used by | Short Description | Created on |
---|---|---|---|---|
1 | Inheritance (c INHERITING FROM c_ref) | CL_COCF_SR_PDF | Generation of Shift Report | 20060821 |
2 | Inheritance (c INHERITING FROM c_ref) | CL_COCF_SR_PDF_EAM | Generation of Shift Report (Technical Object) | 20070712 |
Properties
Class | CL_COCF_SR_PDF_TOP | |
Short Description | Super Class for Shift Report Creation | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | COCF | Order and Confirmation Data |
Created | 20060821 | SAP |
Last change | 20100310 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
Class CL_COCF_SR_PDF_TOP has no forward declaration.
Interfaces
Class CL_COCF_SR_PDF_TOP has no interface implemented.
Friends
Class CL_COCF_SR_PDF_TOP has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | CON_CRLF | Constant | Public | Type reference (TYPE) | CHAR7 | ' ' | Unicode Character for New Line | 20060918 | |
2 | CON_TAG_DUMMY_NODE | Constant | Public | Type reference (TYPE) | STRING | ' |
Dummy Node | 20081021 | |
3 | CON_TAG_SHIFTNOTE | Constant | Protected | Type reference (TYPE) | STRING | 'SHIFTNOTE' | TAG Section Shift Note | 20090226 | |
4 | CON_TAG_SHIFTNOTEGROUP | Constant | Protected | Type reference (TYPE) | STRING | 'SHIFTNOTEGROUP' | TAG Shift Note Group | 20090226 | |
5 | CON_TAG_SHIFTNOTE_FILTERED | Constant | Protected | Type reference (TYPE) | STRING | 'SHIFTNOTE_FILTERED' | TAG for Shift Note List | 20090226 | |
6 | CON_TAG_SHIFTNOTE_NODEP | Constant | Protected | Type reference (TYPE) | STRING | 'SHIFTNOTE_NODEP' | TAG Section Shift Note | 20090226 | |
7 | CON_TAG_SHIFTNOTE_TABLE | Constant | Protected | Type reference (TYPE) | STRING | 'SHIFTNOTE_TABLE' | TAG for Shift Note List | 20090226 | |
8 | CON_TAG_SHIFTNOTE_TITLE | Constant | Protected | Type reference (TYPE) | STRING | 'SHIFTNOTE_TITLE' | TAG for Heading of Shift Note List | 20090226 | |
9 | CON_X | Constant | Public | Type reference (TYPE) | FLAG | 'X' | General Flag | 20060821 | |
10 | GT_PREVIEW | Static Attribute | Protected | Type reference (TYPE) | COCF_T_SR_PREVIEW_DATA | Shift Report: Data of Preview | 20090226 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | APPLY_LAYOUT_TO_TABLE | Static method | Public | Method | Filter, Sort, Aggregate Table According to Layout | 20060821 |
2 | CHECK_COL | Static method | Public | Method | Checks in Layout Whether Column Exists | 20090226 |
3 | CHECK_RANGE | Static method | Public | Method | Checks Whether Interval 1 Lies in Interval 2 | 20060913 |
4 | CONVERT_ITF_TO_STRING | Static method | Public | Method | Converts SAPscript Table into a String | 20060918 |
5 | GET_1ST_LONGTEXT_LINE | Static method | Public | Method | Gets First Line of Long Text | 20090226 |
6 | GET_ALV_LAYOUT | Static method | Public | Method | Provide Data for ALV Layout | 20060821 |
7 | GET_CONF_LONGTEXT | Static method | Public | Method | Gets Long Text for Confirmation | 20060918 |
8 | GET_MEASDOC_LONGTEXT | Static method | Public | Method | Gets Long Text for Measurement Document | 20070807 |
9 | GET_NOTIF_LONGTEXT | Static method | Public | Method | Gets Long Text for Message Header | 20060913 |
10 | GET_ORDER_LONGTEXT | Static method | Public | Method | Gets Long Text for Order Header | 20070806 |
11 | GET_USER_NAME | Static method | Public | Method | Get Complete Name for User | 20060830 |
12 | _CUT_LONGTEXT | Static method | Protected | Method | Shortens Long Text to First Line | 20090226 |
13 | _SN_CREATE_GROUP | Static method | Protected | Method | Generates Table for Shift Note Group | 20090226 |
14 | _SN_CREATE_PREVIEW_DATA | Static method | Protected | Method | Generates Data for Preview Navigation List | 20090226 |
15 | _SN_GET_GRP_CUST | Static method | Protected | Method | Determines Customizing of a Group | 20090226 |
Events
Class CL_COCF_SR_PDF_TOP has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | TY_S_GROUPS | Protected | See coding | 20090226 | BEGIN OF ty_s_groups,
grpcnt1 TYPE i,
grpcnt2 TYPE i,
grpcnt3 TYPE i,
content1 TYPE cocf_sr_sngroup_content,
content2 TYPE cocf_sr_sngroup_content,
content3 TYPE cocf_sr_sngroup_content,
title1 TYPE string,
title2 TYPE string,
title3 TYPE string,
sn_layout TYPE slis_vari,
lines_sn TYPE cocf_cu_sr_lines,
lines_sn_beg TYPE cocf_cu_sr_lines_beg,
lines_sn_end TYPE cocf_cu_sr_lines_end,
title TYPE string,
snote_tab TYPE cocf_t_sn_list,
END OF ty_s_groups
|
||
2 | TY_T_GROUPS | Protected | See coding | 20090226 | ty_t_groups TYPE SORTED TABLE OF ty_s_groups
WITH UNIQUE KEY grpcnt1 content1 grpcnt2 content2 grpcnt3 content3
|
Method Signatures
Method APPLY_LAYOUT_TO_TABLE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | ET_FILTERED | Call by reference | Object reference (TYPE REF TO) | DATA | Tabelle mit gefilterten Daten | 20080123 | ||
2 | Exporting | ET_LAYOUT | Call by reference | Type reference (TYPE) | COCF_T_LAYOUT | Vereinfachtes ALV-Layout mit Sortierung und Filter | 20060821 | ||
3 | Exporting | ET_TABLE | Call by reference | Object reference (TYPE REF TO) | DATA | Aggregierte und reduizierte Tabelle | 20060821 | ||
4 | Importing | IT_LAYOUT | Call by reference | Type reference (TYPE) | COCF_T_LAYOUT | Vereinfachtes ALV-Layout mit Sortierung und Filter | 20060821 | ||
5 | Importing | IT_TABLE | Call by reference | Type reference (TYPE) | STANDARD TABLE | Tabelle mit Daten | 20060821 | ||
6 | Importing | I_CNT_FIELD | Call by reference | Type reference (TYPE) | LVC_FNAME | Spalte für Gruppenzähler | 20060821 | ||
7 | Importing | I_CNT_GROUP | Call by reference | Type reference (TYPE) | LVC_FNAME | Spalte mit Gruppen-ID | 20060821 |
Method APPLY_LAYOUT_TO_TABLE on class CL_COCF_SR_PDF_TOP has no exception.
Method CHECK_COL Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IT_LAYOUT | Call by reference | Type reference (TYPE) | COCF_T_LAYOUT | Vereinfachtes ALV-Layout mit Sortierung und Filter | 20090226 | ||
2 | Importing | I_COLUMN | Call by reference | Type reference (TYPE) | LVC_FNAME | ALV-Control: Feldname internes Tabellenfeld | 20090226 | ||
3 | Returning | R_EXIST | Value transfer | Type reference (TYPE) | XFELD | 'X' = Spalte wird angezeigt | 20090226 |
Method CHECK_COL on class CL_COCF_SR_PDF_TOP has no exception.
Method CHECK_RANGE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_INT1_ENDD | Call by reference | Type reference (TYPE) | DATS | Endedatum Intervall 1 | 20060913 | ||
2 | Importing | I_INT1_ENDT | Call by reference | Type reference (TYPE) | TIMS | Endezeit Intervall 1 | 20060913 | ||
3 | Importing | I_INT1_STARTD | Call by reference | Type reference (TYPE) | DATS | Startdatum Intervall 1 | 20060913 | ||
4 | Importing | I_INT1_STARTT | Call by reference | Type reference (TYPE) | TIMS | Startzeit Intervall 1 | 20060913 | ||
5 | Importing | I_INT2_ENDD | Call by reference | Type reference (TYPE) | DATS | Endedatum Intervall 2 | 20060913 | ||
6 | Importing | I_INT2_ENDT | Call by reference | Type reference (TYPE) | TIMS | Endezeit Intervall 2 | 20060913 | ||
7 | Importing | I_INT2_STARTD | Call by reference | Type reference (TYPE) | DATS | Startdatum Intervall 2 | 20060913 | ||
8 | Importing | I_INT2_STARTT | Call by reference | Type reference (TYPE) | TIMS | Startzeit Intervall 2 | 20060913 | ||
9 | Returning | R_RESULT | Value transfer | Type reference (TYPE) | CHAR1 | ' '=außerhalb, 'X'=innerhalb 'S'/'E'=Start/Ende enthalten | 20060913 |
Method CHECK_RANGE on class CL_COCF_SR_PDF_TOP has no exception.
Method CONVERT_ITF_TO_STRING Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | E_STRING | Call by reference | Type reference (TYPE) | STRING | Text als String | 20060918 | ||
2 | Importing | IT_ITF | Call by reference | Type reference (TYPE) | TLINE_TAB | Liste von Sapscript Zeilen | 20060918 |
Method CONVERT_ITF_TO_STRING on class CL_COCF_SR_PDF_TOP has no exception.
Method GET_1ST_LONGTEXT_LINE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_LONGTEXT | Call by reference | Type reference (TYPE) | STRING | Langtext | 20090226 | ||
2 | Importing | I_NO_EMPTY | Call by reference | Type reference (TYPE) | XFELD | CON_X | Keine Leerzeilen | 20090226 | |
3 | Returning | R_1ST_LINE | Value transfer | Type reference (TYPE) | STRING | Erste Zeile | 20090226 |
Method GET_1ST_LONGTEXT_LINE on class CL_COCF_SR_PDF_TOP has no exception.
Method GET_ALV_LAYOUT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | ET_LAYOUT | Call by reference | Type reference (TYPE) | COCF_T_LAYOUT | Vereinfachtes ALV-Layout mit Sortierung und Filter | 20060821 | ||
2 | Exporting | ET_LAYOUT_INFO | Call by reference | Type reference (TYPE) | LVC_S_LAYO | ALV-Control: Layoutstruktur | 20060822 | ||
3 | Importing | I_GROUP | Call by reference | Type reference (TYPE) | SLIS_LOGGR | Gruppe für ALV Layout | 20060821 | ||
4 | Importing | I_HANDLE | Call by reference | Type reference (TYPE) | SLIS_HANDL | VerwaltungsID für Mehrfachaufrufe aus dem selben Programm | 20060821 | ||
5 | Importing | I_IS_STRUCTURE | Call by reference | Type reference (TYPE) | TABNAME | Struktur aus Auftragsinfosystem (Ersetzung von Spaltentiteln | 20060821 | ||
6 | Importing | I_LAYOUT | Call by reference | Type reference (TYPE) | SLIS_VARI | Layout | 20060821 | ||
7 | Importing | I_LINES | Call by reference | Type reference (TYPE) | COCF_CU_SR_LINES | 1 | Max. Anzahl Zeilen pro Tabellenzelle (nicht für Langtext) | 20060901 | |
8 | Importing | I_LINES_BEG | Call by reference | Type reference (TYPE) | COCF_CU_SR_LINES_BEG | 5 | Anzahl Zeilen ab Anfang des Langtextes | 20060901 | |
9 | Importing | I_LINES_END | Call by reference | Type reference (TYPE) | COCF_CU_SR_LINES_END | 0 | Anzahl Zeilen bis Ende des Langtextes | 20060901 | |
10 | Importing | I_REPORT | Call by reference | Type reference (TYPE) | REPID | Abap-Reportname | 20060821 | ||
11 | Importing | I_STRUCTURE | Call by reference | Type reference (TYPE) | TABNAME | Struktur für die das Layout gilt | 20060821 |
Method GET_ALV_LAYOUT on class CL_COCF_SR_PDF_TOP has no exception.
Method GET_CONF_LONGTEXT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | E_LONGTEXT | Call by reference | Type reference (TYPE) | STRING | Langtext | 20060918 | ||
2 | Importing | I_CONFIRMATION | Call by reference | Type reference (TYPE) | CO_RUECK | Rückmeldenummer des Vorgangs | 20060918 | ||
3 | Importing | I_CONF_COUNTER | Call by reference | Type reference (TYPE) | CO_RMZHL | Zähler der Rückmeldung | 20060918 | ||
4 | Importing | I_ORDER_CATEGORY | Call by reference | Type reference (TYPE) | AUFTYP | Auftragstyp | 20060918 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | INTERNAL_ERROR | Interner Fehler | 20060918 |
Method GET_MEASDOC_LONGTEXT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | E_LONGTEXT | Call by reference | Type reference (TYPE) | STRING | Langtext | 20070807 | ||
2 | Importing | I_MDOCM | Call by reference | Type reference (TYPE) | IMRC_MDOCM | Meßbeleg | 20070807 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | INTERNAL_ERROR | Interner Fehler | 20070807 |
Method GET_NOTIF_LONGTEXT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | E_LONGTEXT | Call by reference | Type reference (TYPE) | STRING | Langtext | 20060913 | ||
2 | Importing | I_LANGUAGE | Call by reference | Type reference (TYPE) | KZMLA | Kennzeichen: Textsegment in Leitsprache | 20070911 | ||
3 | Importing | I_NOTIF_NUMBER | Call by reference | Type reference (TYPE) | QMNUM | Meldungsnummer | 20060913 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | INTERNAL_ERROR | Interner Fehler | 20060913 |
Method GET_ORDER_LONGTEXT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | E_LONGTEXT | Call by reference | Type reference (TYPE) | STRING | Langtext | 20070806 | ||
2 | Importing | I_ORDER_NUMBER | Call by reference | Type reference (TYPE) | AUFNR | Auftragsnummer | 20070806 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | INTERNAL_ERROR | Interner Fehler | 20070806 |
Method GET_USER_NAME Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_USER | Call by reference | Type reference (TYPE) | XUBNAME | Benutzername im Benutzerstamm | 20060830 | ||
2 | Returning | R_NAME | Value transfer | Type reference (TYPE) | AD_NAMTEXT | Vollständiger Name der Person | 20060830 |
Method GET_USER_NAME on class CL_COCF_SR_PDF_TOP has no exception.
Method _CUT_LONGTEXT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | CT_DATA | Call by reference | Type reference (TYPE) | STANDARD TABLE | Tabelle mit Feld LONGTEXT | 20090226 |
Method _CUT_LONGTEXT on class CL_COCF_SR_PDF_TOP has no exception.
Method _SN_CREATE_GROUP Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | CT_SNOTE | Call by reference | Type reference (TYPE) | COCF_T_SN_LIST | Schichtnotizen | 20090226 | ||
2 | Changing | C_XML | Call by reference | Type reference (TYPE) | COCF_XML_STREAM | Schichtnotizen als XML Stream | 20090226 | ||
3 | Importing | I_LAYOUT | Call by reference | Type reference (TYPE) | SLIS_VARI | Layout | 20090226 | ||
4 | Importing | I_LINES | Call by reference | Type reference (TYPE) | COCF_CU_SR_LINES | Max. Anzahl Zeilen pro Tabellenzelle (nicht für Langtext) | 20090226 | ||
5 | Importing | I_LINES_BEG | Call by reference | Type reference (TYPE) | COCF_CU_SR_LINES_BEG | Anzahl Zeilen ab Anfang des Langtextes | 20090226 | ||
6 | Importing | I_LINES_END | Call by reference | Type reference (TYPE) | COCF_CU_SR_LINES_END | Anzahl Zeilen bis Ende des Langtextes | 20090226 | ||
7 | Importing | I_REPORT | Call by reference | Type reference (TYPE) | REPID | Abap-Reportname | 20090226 | ||
8 | Importing | I_TITLE | Call by reference | Type reference (TYPE) | STRING | Titel der Gruppe | 20090226 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | INTERNAL_ERROR | Interner Fehler | 20090226 |
Method _SN_CREATE_PREVIEW_DATA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | CT_GROUPS | Call by reference | Type reference (TYPE) | TY_T_GROUPS | Gruppierte Schichtrnotizen | 20090226 | ||
2 | Importing | I_CLASS_COUNTER | Call by reference | Type reference (TYPE) | COCF_CLASS_ORDER | Anzeigereihenfolge der Klassen im Schichtbericht | 20090226 | ||
3 | Importing | I_GRPCNT | Call by reference | Type reference (TYPE) | I | Anzahl Gruppen | 20090226 | ||
4 | Importing | I_REPORT | Call by reference | Type reference (TYPE) | REPID | Abap-Reportname | 20090226 | ||
5 | Importing | I_SRTYPE | Call by reference | Type reference (TYPE) | COCF_SR_SRTYPE | Schichtberichtstyp | 20090303 |
Method _SN_CREATE_PREVIEW_DATA on class CL_COCF_SR_PDF_TOP has no exception.
Method _SN_GET_GRP_CUST Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | CS_GRPSORT | Call by reference | Type reference (TYPE) | TY_S_GROUPS | 20090226 | |||
2 | Changing | C_CONTENT | Call by reference | Type reference (TYPE) | COCF_SR_SNGROUP_CONTENT | Feldinhalt | 20090226 | ||
3 | Changing | C_GRPCNT | Call by reference | Type reference (TYPE) | I | Reihenfolge der Schichtnotizgruppe | 20090226 | ||
4 | Changing | C_TITLE | Call by reference | Type reference (TYPE) | STRING | Titel der Gruppe | 20090226 | ||
5 | Importing | IS_SNGROUP | Call by reference | Type reference (TYPE) | COCF_SR_SNGRP | Schichtnotizgruppe | 20090226 | ||
6 | Importing | IS_SNOTE | Call by reference | Type reference (TYPE) | COCF_S_SN_LIST | Schichtnotiz | 20090226 | ||
7 | Importing | I_MAXGROUP | Call by reference | Type reference (TYPE) | COCF_SR_SNGROUP | Schichtnotizgruppe | 20090226 | ||
8 | Importing | I_ORIGIN | Call by reference | Type reference (TYPE) | COCF_SRN_ORIGIN | Herkunft oder Verwendung der Schichtnotiz bzw. -berichts | 20091112 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | INTERNAL_ERROR | Interner Fehler | 20090226 |
History
Last changed by/on | SAP | 20100310 |
SAP Release Created in | 700 |