SAP ABAP Class CL_CIAP_NF_FREIGHT (CIAP class for freight notas fiscais.)
Hierarchy
☛
SAP_APPL (Software Component) Logistics and Accounting
⤷ FI-LOC (Application Component) Localization
⤷ INT_TMF_CIAP (Package) TMF Integration Features: CIAP
⤷ FI-LOC (Application Component) Localization
⤷ INT_TMF_CIAP (Package) TMF Integration Features: CIAP
Meta Relationship - Using
# | Relationship type | Using | Short Description | Created on |
---|---|---|---|---|
1 | Inheritance (c INHERITING FROM c_ref) | CL_CIAP_NF | Generic class for notas fiscais. | 20131118 |
Properties
Class | CL_CIAP_NF_FREIGHT | |
Short Description | CIAP class for freight notas fiscais. | |
Super Class | CL_CIAP_NF | Generic class for notas fiscais. |
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | INT_TMF_CIAP | TMF Integration Features: CIAP |
Created | 20130913 | SAP |
Last change | 20140121 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | CL_CIAP_DA | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
Interfaces
Class CL_CIAP_NF_FREIGHT has no interface implemented.
Friends
# | Friend | Modeled only | Created on | Description |
---|---|---|---|---|
1 | CL_AUNIT_ASSERT | 20131118 | ABAP Unit: Assertions (see Longtext) |
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | MC_NF_FREIGHT | Constant | Public | Type reference (TYPE) | CIAP_NF_REC_REL | '2' | CIAP Nota Fiscal relationship | 20131118 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | CREATE_BY_NF | Static method | Public | Method | Constructs NF freight using Nota Fiscal | 20131118 |
2 | INSERT_DB | Instance method | Private | Method | Inserts into CIAP_D_NF table | 20131118 |
3 | LOAD_BY_RECORD | Static method | Public | Method | Loads object by a record | 20131118 |
4 | MAP_DATA_FOR_REPORT | Instance method | Public | Method | Maps data for CIAP_REPORT and others ALVs | 20131118 |
5 | READ_NF_ITEM_PERCENTAGE | Instance method | Private | Method | Calculate the percentage that the NF Item represents | 20131118 |
6 | SPLIT_ICMS | Instance method | Private | Method | Calculate the ICMS for each Nota Fiscal | 20131118 |
7 | UPDATE_RECORD_WITH_CTE | Instance method | Public | Method | Update Record with CTe information | 20131118 |
Events
Class CL_CIAP_NF_FREIGHT has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | TTY_NF_FREIGHT | Public | See coding | 20131118 | tty_nf_freight TYPE TABLE OF ty_nf_freight
|
||
2 | TT_NF_ITEM_PERCENTAGE | Public | See coding | 20131118 | tt_nf_item_percentage TYPE STANDARD TABLE OF ty_nf_item_percentage
|
||
3 | TY_NF_FREIGHT | Public | Object reference (TYPE REF TO) | CL_CIAP_NF_FREIGHT | CIAP class for freight notas fiscais. | 20131118 |
|
4 | TY_NF_ITEM_PERCENTAGE | Public | See coding | 20131118 | BEGIN OF ty_nf_item_percentage,
docnum TYPE j_1bdocnum,
itmnum TYPE j_1bitmnum,
percen(10) TYPE p DECIMALS 10,
END OF ty_nf_item_percentage
|
Method Signatures
Method CREATE_BY_NF Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IS_NFHEADER | Call by reference | Type reference (TYPE) | J_1BNFDOC | Nota Fiscal Header | 20131118 | ||
2 | Importing | IS_NFITEM | Call by reference | Type reference (TYPE) | J_1BNFLIN | Nota Fiscal line items | 20131118 | ||
3 | Returning | RO_NF_FREIGHT | Value transfer | Object reference (TYPE REF TO) | CL_CIAP_NF_FREIGHT | CIAP class for freight notas fiscais. | 20131118 |
Method CREATE_BY_NF on class CL_CIAP_NF_FREIGHT has no exception.
Method INSERT_DB Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_CIAP_RECORD_ID | Call by reference | Type reference (TYPE) | GUID | Globally Unique Identifier | 20131118 |
Method INSERT_DB on class CL_CIAP_NF_FREIGHT has no exception.
Method LOAD_BY_RECORD Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IS_CIAP_RECORD | Call by reference | Type reference (TYPE) | CIAP_D_RECORD | CIAP Record | 20131118 | ||
2 | Returning | RO_NF_FREIGHT | Value transfer | Object reference (TYPE REF TO) | CL_CIAP_NF_FREIGHT | CIAP class for freight notas fiscais. | 20131118 |
Method LOAD_BY_RECORD on class CL_CIAP_NF_FREIGHT has no exception.
Method MAP_DATA_FOR_REPORT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | CS_RECORD_DATA | Call by reference | Type reference (TYPE) | CIAP_RECORD_DATA | CIAP Record data | 20131118 |
Method MAP_DATA_FOR_REPORT on class CL_CIAP_NF_FREIGHT has no exception.
Method READ_NF_ITEM_PERCENTAGE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | ET_NF_ITEM_PERCENTAGE | Call by reference | Type reference (TYPE) | TT_NF_ITEM_PERCENTAGE | 20131118 | |||
2 | Importing | IT_NFITEM | Call by reference | Type reference (TYPE) | J_1BNFLIN_TAB | Table of Nota Fiscal Items (J_1BNFLIN) | 20131118 | ||
3 | Importing | IV_TOTAL_VALUE_CTE | Call by reference | Type reference (TYPE) | J_1BCTE_REF_VAL | Document Amount | 20131118 |
Method READ_NF_ITEM_PERCENTAGE on class CL_CIAP_NF_FREIGHT has no exception.
Method SPLIT_ICMS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IS_CTE_DOCREF | Call by reference | Type reference (TYPE) | J_1BCTE_D_DOCREF | Reference to the NF-e being transported | 20131118 | ||
2 | Importing | IT_CTE_TAXES | Call by reference | Type reference (TYPE) | J_1BNFSTX_TAB | Table of Nota Fiscal Tax Lines (J_1BNFSTX) | 20131118 | ||
3 | Importing | IT_NFITEMS | Call by reference | Type reference (TYPE) | J_1BNFLIN_TAB | Table of Nota Fiscal Items (J_1BNFLIN) | 20131118 | ||
4 | Importing | IT_NF_ITEM_PERCENTAGE | Call by reference | Type reference (TYPE) | TT_NF_ITEM_PERCENTAGE | 20131118 | |||
5 | Importing | IV_RECORD_ID | Call by reference | Type reference (TYPE) | GUID | Globally Unique Identifier | 20131118 |
Method SPLIT_ICMS on class CL_CIAP_NF_FREIGHT has no exception.
Method UPDATE_RECORD_WITH_CTE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IS_CTE_DOCREF | Call by reference | Type reference (TYPE) | J_1BCTE_D_DOCREF | Reference to the NF-e being transported | 20131118 | ||
2 | Importing | IT_CTE_TAXES | Call by reference | Type reference (TYPE) | J_1BNFSTX_TAB | Table of Nota Fiscal Tax Lines (J_1BNFSTX) | 20131118 | ||
3 | Importing | IV_DOCNUM | Call by reference | Type reference (TYPE) | J_1BDOCNUM | Document Number | 20131118 | ||
4 | Importing | IV_TOT_TRANSPORTED | Call by reference | Type reference (TYPE) | J_1BCTE_REF_VAL | Document Amount | 20131118 |
Method UPDATE_RECORD_WITH_CTE on class CL_CIAP_NF_FREIGHT has no exception.
History
Last changed by/on | SAP | 20140121 |
SAP Release Created in |