SAP ABAP Class /XNFE/CL_CTE (Document Inbound CT-e)
Hierarchy
☛
SLL-NFE (Software Component) xNFE
⤷
SLL-NFE-MGM (Application Component) NF-e: Communication Management & Monitoring
⤷
/XNFE/USIB2B (Package) NF-e: User Interface - Inbound
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | /XNFE/CL_DOCUMENT | Base Class of Document | 20120131 |
Properties
| Class | /XNFE/CL_CTE | |
| Short Description | Document Inbound CT-e | |
| Super Class | /XNFE/CL_DOCUMENT | Base Class of Document |
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | /XNFE/USIB2B | NF-e: User Interface - Inbound |
| Created | 20120131 | SAP |
| Last change | 20141107 | |
| 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) | |
| 2 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... | |
| 3 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class /XNFE/CL_CTE has no interface implemented.
Friends
Class /XNFE/CL_CTE has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Type reference (TYPE) | /XNFE/CL_CTE=>S_CTE | Display Structure for CT-es | 20120131 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | /XNFE/CL_CTE=>T_EVENTS | All Event Data for Selected CT-e | 20130829 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Return All Event Data for Selected NF-e (Archive Only) | 20130829 | |
| 2 | Instance method | Public | Method | Returns and loads CT-e header for an ID | 20140311 | |
| 3 | Instance method | Public | Method | Returns relevant data for processing | 20130325 | |
| 4 | Instance method | Public | Method | Return the referenced NF-es for a CT-e | 20130325 | |
| 5 | Instance method | Private | Method | Internal Formatting of Events | 20130829 | |
| 6 | Instance method | Private | Method | Return Data for a Selected CT-e | 20120131 |
Events
Class /XNFE/CL_CTE has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | S_CTE | Public | See coding | Display Structure for CT-es | 20120131 | begin of s_cte,
guid type /xnfe/guid_16,
cteid type /xnfe/cteid,
proctyp type /xnfe/proctyp,
cnpj_emit type /xnfe/cte_cnpj_emit,
xnome_emit type /xnfe/cte_xnome_emit,
cnpj_derived_tom type /xnfe/cte_cnpj_tomador,
xnome_derived_tom type /xnfe/cte_xnome_emit,
modal type /xnfe/cte_modal,
toma type /xnfe/cte_toma,
serie type /xnfe/cte_serie,
nct type /xnfe/cte_nct,
not_code type /xnfe/not_code,
notctr type /xnfe/notctr,
intctr type /xnfe/cte_intctr,
create_date type /xnfe/createdate,
logsys type logsys,
struc_type type char2,
end of s_cte
|
|
| 2 | S_EVENTS | Public | See coding | 20130829 | begin of s_events,
tab_type type /xnfe/if_wd_event_constants=>event_tab_type,
table type ref to data,
end of s_events
|
||
| 3 | T_EVENTS | Public | See coding | 20130829 | t_events type standard table of s_events
|
Method Signatures
Method GET_EVENTS_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_EVENTS_DATA | Call by reference | Type reference (TYPE) | /XNFE/CL_NFE=>T_EVENTS | Tabelle mit Guids von Events zu einem Dokument | 20130829 |
Method GET_EVENTS_DATA on class /XNFE/CL_CTE has no exception.
Method GET_HEADER_BY_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_MSG_HANDLER | Call by reference | Object reference (TYPE REF TO) | /XNFE/CL_NFE_MESSAGES | Allgemeiner Message Handler für NFE | 20140311 | |||
| 2 | IV_ID | Call by reference | Type reference (TYPE) | /XNFE/ID | 44-stelliger Zugriffsschlüssel | 20140311 | |||
| 3 | RS_HEADER | Value transfer | Type reference (TYPE) | /XNFE/INCTEHD | Kopfstruktur | 20140311 |
Method GET_HEADER_BY_ID on class /XNFE/CL_CTE has no exception.
Method GET_PROCESS_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_ASSIGN | Call by reference | Type reference (TYPE) | /XNFE/CTEASSIGN_T | CT-e: Tabellentyp zur Struktur /XNFE/CTEASSIGN | 20130325 | |||
| 2 | ET_STATUS | Call by reference | Type reference (TYPE) | /XNFE/INHDSTA_T | xNFe: Tabellentyp zur Struktur /XNFE/INHDSTA | 20130325 | |||
| 3 | IO_MSG_HANDLER | Call by reference | Object reference (TYPE REF TO) | /XNFE/CL_NFE_MESSAGES | Allgemeiner Message Handler für NFE | 20130325 | |||
| 4 | IV_LOCK | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Sperre setzten | 20130325 |
Method GET_PROCESS_DATA on class /XNFE/CL_CTE has no exception.
Method GET_REFERENCE_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_MSG_HANDLER | Call by reference | Object reference (TYPE REF TO) | /XNFE/CL_NFE_MESSAGES | Allgemeiner Message Handler für NFE | 20130325 | |||
| 2 | IV_LOCK | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Sperre setzten | 20130325 | ||
| 3 | RT_REFNFE | Value transfer | Type reference (TYPE) | /XNFE/INCTENFE_T | CT-e Incoming Tabellentyp Referenzierte NF-es | 20130325 |
Method GET_REFERENCE_DATA on class /XNFE/CL_CTE has no exception.
Method HANDLE_EVENTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_EVENTS | Call by reference | Type reference (TYPE) | /XNFE/EVENTS_T | Nota Fiscal Eletronica (NFe): Events | 20130829 | |||
| 2 | IT_EVENT_HIST | Call by reference | Type reference (TYPE) | /XNFE/EVENT_HIST_T | Event-Historie | 20130829 | |||
| 3 | IT_EVENT_STAT | Call by reference | Type reference (TYPE) | /XNFE/EVENT_STAT_T | Events: Tabellentyp für Status | 20130829 | |||
| 4 | IT_EVENT_XML | Call by reference | Type reference (TYPE) | /XNFE/EVENT_XML_T | Events: Tabellentyp zur XML-Tabelle | 20130829 | |||
| 5 | IT_SYMSG | Call by reference | Type reference (TYPE) | /XNFE/SYMSG_T | Tabellentype zu /XNFE/SYMSG | 20130829 |
Method HANDLE_EVENTS on class /XNFE/CL_CTE has no exception.
Method LOAD_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_INCTEHD | Call by reference | Type reference (TYPE) | /XNFE/INCTEHD | CT-e Incoming Kopfdaten | 20130325 | |||
| 2 | ES_XML | Call by reference | Type reference (TYPE) | /XNFE/INCTEXML | CT-e Incoming XML Daten | 20120131 | |||
| 3 | ET_CTEASSIGN | Call by reference | Type reference (TYPE) | /XNFE/CTEASSIGN_T | CT-e: Tabellentyp zur Struktur /XNFE/CTEASSIGN | 20130325 | |||
| 4 | ET_HISTORY | Call by reference | Type reference (TYPE) | /XNFE/INNFHIST_T | xNFe: Tabellentype zur Struktur /XNFE/INNFHIST | 20130325 | |||
| 5 | ET_REFNF | Call by reference | Type reference (TYPE) | /XNFE/INCTENFCL_T | CT-e Incoming Tabellentyp Referenzierte klassische NFs | 20130325 | |||
| 6 | ET_REFNFE | Call by reference | Type reference (TYPE) | /XNFE/INCTENFE_T | CT-e Incoming Tabellentyp Referenzierte NF-es | 20130325 | |||
| 7 | ET_STATUS | Call by reference | Type reference (TYPE) | /XNFE/INHDSTA_T | xNFe: Tabellentyp zur Struktur /XNFE/INHDSTA | 20130325 | |||
| 8 | ET_STRUCTURES | Call by reference | Type reference (TYPE) | /XNFE/PROXY_STRUCTURES_T | Identifikation mit Referenz Proxystrukturen | 20120131 | |||
| 9 | ET_SYMSG | Call by reference | Type reference (TYPE) | /XNFE/SYMSG_T | System Nachrichten zum Prozessfluss | 20120131 | |||
| 10 | IO_MSG_HANDLER | Call by reference | Object reference (TYPE REF TO) | /XNFE/CL_NFE_MESSAGES | Allgemeiner Message Handler für NFE | 20120131 | |||
| 11 | IV_GUID | Call by reference | Type reference (TYPE) | /XNFE/GUID_16 | Primärschlüssel als GUID im 'RAW' Format | 20120131 | |||
| 12 | IV_ID | Call by reference | Type reference (TYPE) | /XNFE/CTEID | CT-e: 44-stelliger Zugriffsschlüssel | 20120131 | |||
| 13 | IV_LOCK | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Lesen der CT-e mit Sperre? | 20120131 | ||
| 14 | IV_XML_TRANSFORM | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | XML Transformation durchführen? | 20120131 | ||
| 15 | IV_XML_TYPE | Call by reference | Type reference (TYPE) | CHAR2 | /XNFE/IF_WD_CONSTANTS=>CV_XML-NORMAL | Welches XML (Normal, Stornierung, Skip) soll gezeigt werden? | 20120131 |
Method LOAD_DATA on class /XNFE/CL_CTE has no exception.
History
| Last changed by/on | SAP | 20141107 |
| SAP Release Created in | 900 |