SAP ABAP Class CL_NF_UNIT_PRICE (Adapt Unit Prices of Similar Nota Fiscal Items)
Hierarchy
☛
BBPCRM (Software Component) BBPCRM
⤷
CRM-LOC-BR (Application Component) Brazil
⤷
J1BA (Package) Localization Brazil
⤷
⤷
Properties
| Class | CL_NF_UNIT_PRICE | |
| Short Description | Adapt Unit Prices of Similar Nota Fiscal Items | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | J1BA | Localization Brazil |
| Created | 20041220 | SAP |
| Last change | 20050109 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_NF_UNIT_PRICE has no forward declaration.
Interfaces
Class CL_NF_UNIT_PRICE has no interface implemented.
Friends
Class CL_NF_UNIT_PRICE has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Private | Type reference (TYPE) | J_1BNFDOC | Nota Fiscal Header | 20041220 | |||
| 2 | Static Attribute | Private | Type reference (TYPE) | MTY_GROUP_TAB | Table of Nota Fiscal Items for SD | 20041220 | |||
| 3 | Static Attribute | Private | Type reference (TYPE) | J_1BNFLIN_SD_TAB | Table of Nota Fiscal Items for SD | 20041220 | |||
| 4 | Static Attribute | Private | Type reference (TYPE) | J_1BNFSTX_TAB | Table of Nota Fiscal Tax Lines (J_1BNFSTX) | 20041220 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Adapt Unit Prices of Similar Nota Fiscal Ite | 20041220 | |
| 2 | Static method | Private | Method | Change Unit Prices of Items in Group | 20041220 | |
| 3 | Static method | Private | Method | Compare tax lines of two NF items | 20041220 | |
| 4 | Static method | Private | Method | Group Items | 20041220 | |
| 5 | Static method | Private | Method | Determine Unit Price for Group | 20041220 | |
| 6 | Static method | Private | Method | Add Item to Group Table | 20041220 |
Events
Class CL_NF_UNIT_PRICE has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | MTY_GROUP_ITEM_TAB | Private | See coding | 20041220 | mty_group_item_tab TYPE STANDARD TABLE OF j_1bnflin-itmnum
WITH KEY table_line
|
||
| 2 | MTY_GROUP_LINE | Private | See coding | 20041220 | BEGIN OF mty_group_line,
matnr TYPE j_1bnflin-matnr,
bwkey TYPE j_1bnflin-bwkey,
bwtar TYPE j_1bnflin-bwtar,
nbm TYPE j_1bnflin-nbm,
matuse TYPE j_1bnflin-matuse,
custusage TYPE j_1btxsdu,
tax_tab TYPE mty_group_tax_tab,
item_tab TYPE mty_group_item_tab,
END OF mty_group_line
|
||
| 3 | MTY_GROUP_TAB | Private | See coding | 20041220 | mty_group_tab TYPE SORTED TABLE OF mty_group_line
WITH NON-UNIQUE KEY matnr bwkey bwtar nbm matuse custusage
|
||
| 4 | MTY_GROUP_TAX | Private | See coding | 20041220 | BEGIN OF mty_group_tax,
taxtyp TYPE j_1bnfstx-taxtyp,
rate TYPE j_1bnfstx-rate,
END OF mty_group_tax
|
||
| 5 | MTY_GROUP_TAX_TAB | Private | See coding | 20041220 | mty_group_tax_tab TYPE STANDARD TABLE OF mty_group_tax
WITH DEFAULT KEY
|
Method Signatures
Method ADAPT_PRICES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_NF_ITEMS | Call by reference | Type reference (TYPE) | J_1BNFLIN_SD_TAB | Tabelle Nota-Fiscal-Positionen für SD | 20041220 | |||
| 2 | IS_NF_HEADER | Call by reference | Type reference (TYPE) | J_1BNFDOC | Nota-Fiscal-Kopf | 20041220 | |||
| 3 | IT_NF_ITEMS | Call by reference | Type reference (TYPE) | J_1BNFLIN_SD_TAB | Tabelle Nota-Fiscal-Positionen für SD | 20041220 | |||
| 4 | IT_NF_TAX | Call by reference | Type reference (TYPE) | J_1BNFSTX_TAB | Tabelle Nota-Fiscal-Steuerpositionen (J_1BNFSTX) | 20041220 |
Method ADAPT_PRICES on class CL_NF_UNIT_PRICE has no exception.
Method CHANGE_ITEM_PRICES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_GROUP | Call by reference | Type reference (TYPE) | MTY_GROUP_LINE | 20041220 | ||||
| 2 | IV_PRICE | Call by reference | Type reference (TYPE) | J_1BNETPRI | 20041220 |
Method CHANGE_ITEM_PRICES on class CL_NF_UNIT_PRICE has no exception.
Method COMPARE_TAX Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_EQUAL | Call by reference | Type reference (TYPE) | XFELD | 20041220 | ||||
| 2 | IT_GROUP_TAX | Call by reference | Type reference (TYPE) | MTY_GROUP_TAX_TAB | 20041220 | ||||
| 3 | IV_ITEM_NUMBER | Call by reference | Type reference (TYPE) | J_1BNFLIN-ITMNUM | 20041220 |
Method COMPARE_TAX on class CL_NF_UNIT_PRICE has no exception.
Method CREATE_GROUPS Signature
Method CREATE_GROUPS on class CL_NF_UNIT_PRICE has no parameter.
Method CREATE_GROUPS on class CL_NF_UNIT_PRICE has no exception.
Method GET_GROUP_PRICE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_PRICE | Call by reference | Type reference (TYPE) | J_1BNETPRI | 20041220 | ||||
| 2 | IS_GROUP | Call by reference | Type reference (TYPE) | MTY_GROUP_LINE | 20041220 |
Method GET_GROUP_PRICE on class CL_NF_UNIT_PRICE has no exception.
Method GROUP_ITEM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_NF_ITEM | Call by reference | Type reference (TYPE) | J_1BNFLIN_SD | 20041220 |
Method GROUP_ITEM on class CL_NF_UNIT_PRICE has no exception.
History
| Last changed by/on | SAP | 20050109 |
| SAP Release Created in |