SAP ABAP Class /XNFE/CL_NFE (Document of Inbound NF-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_NFE | |
| Short Description | Document of Inbound NF-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_NFE has no interface implemented.
Friends
Class /XNFE/CL_NFE 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_NFE=>S_NFE | Display Structure for NF-es | 20120131 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | /XNFE/CL_NFE=>T_EVENTS | All Data from Events for Selected NF-e | 20120131 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | Download/Display of DANFE | 20120321 | |
| 2 | Instance method | Public | Method | Returns Data for XML <-> ERP Comparison | 20120308 | |
| 3 | Instance method | Public | Method | Return Header, Assignments, and XML | 20140225 | |
| 4 | Instance method | Public | Method | Return All Event Data for Selected NF-e (Archive Only) | 20120307 | |
| 5 | Instance method | Public | Method | Returns and loads NF-e header for an ID | 20140311 | |
| 6 | Instance method | Public | Method | Returns relevant data for processing | 20120308 | |
| 7 | Instance method | Private | Method | Internal Formatting of Events | 20120131 | |
| 8 | Instance method | Private | Method | Return Data for a Selected NF-e | 20120131 |
Events
Class /XNFE/CL_NFE has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | S_EVENTS | Public | See coding | Event Data for a Document | 20120131 | begin of s_events,
tab_type type /xnfe/if_wd_event_constants=>event_tab_type,
table type ref to data,
end of s_events
|
|
| 2 | S_NFE | Public | See coding | Display Structure for FPM Header Areas of NF-es | 20120131 | begin of s_nfe,
guid_header type /xnfe/guid_16,
nfeid type /xnfe/id,
proctyp type /xnfe/proctyp,
cnpj_emit type /xnfe/cnpj_emit,
c_xnome type /xnfe/xnome_emit,
cnpj_dest type /xnfe/cnpj_dest,
e_xnome type /xnfe/xnome_dest,
s1_vnf type /xnfe/vnf,
serie type /xnfe/serie,
nnf type /xnfe/nnf,
type type /xnfe/type,
not_code type /xnfe/not_code,
notctr type /xnfe/notctr,
intctr type /xnfe/intctr,
logsys type logsys,
create_date type /xnfe/createdate,
struc_type type char2,
end of s_nfe
|
|
| 3 | T_EVENTS | Public | See coding | Table with Data of Events for a Document | 20120131 | t_events type standard table of s_events
|
Method Signatures
Method DOWNLOAD_DANFE 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 | 20120321 |
Method DOWNLOAD_DANFE on class /XNFE/CL_NFE has no exception.
Method GET_COMP_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_ICMS_TOT | Call by reference | Type reference (TYPE) | /XNFE/ERP_ICMS_TOT | Totals für ICMS Block W | 20140722 | |||
| 2 | ES_ISSQN_TOT | Call by reference | Type reference (TYPE) | /XNFE/ERP_ISSQN_TOT | Totals für ISSQN - Block V | 20140722 | |||
| 3 | ES_RETTRIB_TOT | Call by reference | Type reference (TYPE) | /XNFE/ERP_RETTRIB_TOT | Withholding taxes - Block V | 20140722 | |||
| 4 | ET_ITEM | Call by reference | Type reference (TYPE) | /XNFE/ERP_IN_ITEM_T | Tabellentyp zu /XNFE/ERP_IN_ITEM_S | 20140722 | |||
| 5 | ET_TAX | Call by reference | Type reference (TYPE) | /XNFE/ERP_IN_GOOD_TAX_T | Tabellentyp zu /XNFE/ERP_IN_GOOD_TAX_S | 20140723 | |||
| 6 | IO_MSG_HANDLER | Call by reference | Object reference (TYPE REF TO) | /XNFE/CL_NFE_MESSAGES | Allgemeiner Message Handler für NFE | 20120308 |
Method GET_COMP_DATA on class /XNFE/CL_NFE has no exception.
Method GET_CUSTOM_UI_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_HEADER | Call by reference | Type reference (TYPE) | /XNFE/INNFEHD | NF-e Incoming Kopfdaten | 20140225 | |||
| 2 | ES_XML | Call by reference | Type reference (TYPE) | /XNFE/INXML | NF-e Incoming XML Daten | 20140225 | |||
| 3 | ET_ASSIGN | Call by reference | Type reference (TYPE) | /XNFE/NFEASSIGN_T | xNFe: Tabellentyp zur Struktur /XNFE/NFEASSIGN | 20140225 | |||
| 4 | IO_MSG_HANDLER | Call by reference | Object reference (TYPE REF TO) | /XNFE/CL_NFE_MESSAGES | Allgemeiner Message Handler für NFE | 20140225 |
Method GET_CUSTOM_UI_DATA on class /XNFE/CL_NFE has no exception.
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 | 20120307 |
Method GET_EVENTS_DATA on class /XNFE/CL_NFE 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/INNFEHD | Kopfstruktur | 20140311 |
Method GET_HEADER_BY_ID on class /XNFE/CL_NFE 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/NFEASSIGN_T | xNFe: Tabellentyp zur Struktur /XNFE/NFEASSIGN | 20120308 | |||
| 2 | ET_ITEMS | Call by reference | Type reference (TYPE) | /XNFE/INNFEIT_T | NFe: Tabellentyp zu /XNFE/INNFEIT | 20120308 | |||
| 3 | ET_STATUS | Call by reference | Type reference (TYPE) | /XNFE/INHDSTA_T | xNFe: Tabellentyp zur Struktur /XNFE/INHDSTA | 20120308 | |||
| 4 | IO_MSG_HANDLER | Call by reference | Object reference (TYPE REF TO) | /XNFE/CL_NFE_MESSAGES | Allgemeiner Message Handler für NFE | 20120308 | |||
| 5 | IV_LOCK | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Sperre setzten | 20120308 |
Method GET_PROCESS_DATA on class /XNFE/CL_NFE 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 | 20120131 | |||
| 2 | IT_EVENT_HIST | Call by reference | Type reference (TYPE) | /XNFE/EVENT_HIST_T | Event-Historie | 20120131 | |||
| 3 | IT_EVENT_STAT | Call by reference | Type reference (TYPE) | /XNFE/EVENT_STAT_T | Events: Tabellentyp für Status | 20120131 | |||
| 4 | IT_EVENT_XML | Call by reference | Type reference (TYPE) | /XNFE/EVENT_XML_T | Events: Tabellentyp zur XML-Tabelle | 20120131 | |||
| 5 | IT_SYMSG | Call by reference | Type reference (TYPE) | /XNFE/SYMSG_T | Tabellentype zu /XNFE/SYMSG | 20120131 |
Method HANDLE_EVENTS on class /XNFE/CL_NFE has no exception.
Method LOAD_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_INNFEHD | Call by reference | Type reference (TYPE) | /XNFE/INNFEHD | NF-e Incoming Kopfdaten | 20130206 | |||
| 2 | ES_XML | Call by reference | Type reference (TYPE) | /XNFE/INXML | NF-e Incoming XML Daten | 20120131 | |||
| 3 | ET_HISTORY | Call by reference | Type reference (TYPE) | /XNFE/INNFHIST_T | NFe: Tabellentype zur Struktur /XNFE/INNFHIST | 20130206 | |||
| 4 | ET_ITEMS | Call by reference | Type reference (TYPE) | /XNFE/INNFEIT_T | NFe: Tabellentyp zu /XNFE/INNFEIT | 20130206 | |||
| 5 | ET_NFCL | Call by reference | Type reference (TYPE) | /XNFE/INNFENFCL_T | NF-e Incoming Tabellentyp Referenzierte klassische NFs | 20130206 | |||
| 6 | ET_NFEASSIGN | Call by reference | Type reference (TYPE) | /XNFE/NFEASSIGN_T | NFe: Tabellentyp zur Struktur /XNFE/NFEASSIGN | 20130206 | |||
| 7 | ET_REFNFE | Call by reference | Type reference (TYPE) | /XNFE/INNFENFE_T | NF-e Incoming Tabellentyp Referenzierte NF-es | 20130206 | |||
| 8 | ET_STATUS | Call by reference | Type reference (TYPE) | /XNFE/INHDSTA_T | NF-e Incoming Statustabelle | 20130206 | |||
| 9 | ET_STRUCTURES | Call by reference | Type reference (TYPE) | /XNFE/PROXY_STRUCTURES_T | Identifikation mit Referenz Proxystrukturen | 20120131 | |||
| 10 | ET_SYMSG | Call by reference | Type reference (TYPE) | /XNFE/SYMSG_T | Tabellentype zu /XNFE/SYMSG | 20120131 | |||
| 11 | IO_MSG_HANDLER | Call by reference | Object reference (TYPE REF TO) | /XNFE/CL_NFE_MESSAGES | Allgemeiner Message Handler für NFE | 20120131 | |||
| 12 | IV_GUID | Call by reference | Type reference (TYPE) | /XNFE/GUID_16 | Primärschlüssel als GUID im 'RAW' Format | 20120131 | |||
| 13 | IV_ID | Call by reference | Type reference (TYPE) | /XNFE/ID | 44-stelliger Zugriffsschlüssel | 20120131 | |||
| 14 | IV_LOCK | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Lesen der NF-e mit Sperre? | 20120131 | ||
| 15 | IV_XML_TRANSFORM | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | XML Transformation durchführen? | 20120131 | ||
| 16 | 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_NFE has no exception.
History
| Last changed by/on | SAP | 20141107 |
| SAP Release Created in | 900 |