SAP ABAP Class CL_FAA_POSTING_REV_SERVICES (Services for Revenue on Retirement)
Hierarchy
☛
EA-FIN (Software Component) EA-FIN
⤷
FI-AA-AA (Application Component) Basic Functions
⤷
FAA_TP_TC (Package) Doc.creation
⤷
⤷
Properties
| Class | CL_FAA_POSTING_REV_SERVICES | |
| Short Description | Services for Revenue on Retirement | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | FAA_TP_TC | Doc.creation |
| Created | 20130225 | SAP |
| Last change | 20131127 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
Class CL_FAA_POSTING_REV_SERVICES has no interface implemented.
Friends
Class CL_FAA_POSTING_REV_SERVICES has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Protected | Type reference (TYPE) | REVDMETH | New Input Values | 20130304 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Protected | Method | Calculate Net Book Value and Gain/Loss at the End | 20130226 | |
| 2 | Static method | Protected | Method | Add Remaining Differences | 20130226 | |
| 3 | Static method | Protected | Method | Revenue/Retmt Costs to Be Distributed for Book Deprec. Area | 20130226 | |
| 4 | Static method | Public | Method | Revenue Distribution for Retirement | 20130225 | |
| 5 | Static method | Protected | Method | Determine Revenue Amount from New Book Value | 20130228 | |
| 6 | Static method | Protected | Method | Determine Revenue Amount from Area Passed On | 20130508 | |
| 7 | Static method | Protected | Method | Call of Class CL_FAA_DOCUMENT | 20130225 | |
| 8 | Static method | Protected | Method | Make Distribution | 20130226 | |
| 9 | Static method | Protected | Method | Retirement: Determine Base Amounts (NBV) for Rev. Dist. | 20130917 | |
| 10 | Static method | Public | Method | Set Distribution Rule | 20130304 | |
| 11 | Static method | Protected | Method | Total the Amounts for the Distribution | 20130226 |
Events
Class CL_FAA_POSTING_REV_SERVICES has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TY_S_DISTRIBUTION_DONE | Public | See coding | Structure for Those Not Yet Distributed | 20130226 | BEGIN OF ty_s_distribution_done,
lfdnr TYPE anepi-lfdnr,
lnran TYPE anepi-lnran.
TYPES END OF ty_s_distribution_done
|
|
| 2 | TY_S_DISTRIBUTION_FOR_REVENUE | Public | See coding | Structure for Revenue Distribution | 20130225 | BEGIN OF ty_s_distribution_for_revenue,
bukrs TYPE anepi-bukrs,
afabe TYPE anepi-afabe,
waers TYPE anepi-waers,
curtp TYPE anepi-curtp,
rbwrt TYPE anepi-rbwrt, "Restbuchwert
anbtr TYPE anepi-bbtrv, "AHK-Betrag
count TYPE anepi-rbwrt, "Anzahl Anlagen
abska TYPE anepi-bbtrv, "Absolutbet. alle AfA
absav TYPE anepi-bbtrv, "Absolutbet. alle Werte
sgain TYPE anepi-erlbt, "Mehrerlös
sloss TYPE anepi-erlbt, "Mindererlös
erlbt TYPE anepi-erlbt,
verko TYPE anepi-verko,
verko_rest TYPE anepi-verko,
erlbt_rest TYPE anepi-erlbt,
lfdnr TYPE anepi-lfdnr,
lnran_rest TYPE anepi-lnran,
lnran_none TYPE anepi-lnran,
xmark TYPE anepi-xawbt.
TYPES: END OF ty_s_distribution_for_revenue
|
|
| 3 | TY_T_DISTRIBUTION_FOR_REVENUE | Public | See coding | Table Type for TY_S_DISTRIBUTION_FOR_REVENUE | 20130225 | ty_t_distribution_for_revenue TYPE TABLE OF ty_s_distribution_for_revenue
|
Method Signatures
Method CALCULATE_NBV Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_AREAVALUES | Call by reference | Type reference (TYPE) | IF_FAA_POSTING_TYPES=>TY_S_AREAVALUES | 20130226 |
Method CALCULATE_NBV on class CL_FAA_POSTING_REV_SERVICES has no exception.
Method DETERMINE_REST_AMOUNT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_AREAVALUES | Call by reference | Type reference (TYPE) | IF_FAA_POSTING_TYPES=>TY_T_AREAVALUES | 20130226 | ||||
| 2 | IT_DISTRIBUTION_FOR_REV | Call by reference | Type reference (TYPE) | TY_T_DISTRIBUTION_FOR_REVENUE | 20130226 |
Method DETERMINE_REST_AMOUNT on class CL_FAA_POSTING_REV_SERVICES has no exception.
Method DETERMINE_REVENUE_FOR_DIST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_DISTRIBUTION_FOR_REV | Call by reference | Type reference (TYPE) | TY_T_DISTRIBUTION_FOR_REVENUE | Tabellentyp für TY_S_DISTRIBUTION_FOR_REVENUE | 20130226 | |||
| 2 | CT_DISTRIBUTION_SUM | Call by reference | Type reference (TYPE) | TY_T_DISTRIBUTION_FOR_REVENUE | Tabellentyp für TY_S_DISTRIBUTION_FOR_REVENUE | 20130226 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | T100 Meldungen FIAA | 20130227 |
Method DETERMINE_REVENUE_FOR_RET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_DOCUMENT | Call by reference | Object reference (TYPE REF TO) | IF_FAA_DOCUMENT | Beleg aus FIAA-Sicht (Business Logik) | 20130508 | |||
| 2 | IT_TRANSACTION | Call by reference | Type reference (TYPE) | IF_FAA_POSTING_TYPES=>TY_T_POSTING_REF | Beleg aus FIAA Sicht | 20130225 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | T100 Meldungen FIAA Buchen | 20130226 |
Method DETERMINE_REVENUE_FROM_NBV Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_AREAVALUES | Call by reference | Type reference (TYPE) | IF_FAA_POSTING_TYPES=>TY_T_AREAVALUES | 20130228 | ||||
| 2 | CT_RLAMBU | Call by reference | Type reference (TYPE) | TY_RLAMBU | 20130228 | ||||
| 3 | IT_TRANSACTION | Call by reference | Type reference (TYPE) | IF_FAA_POSTING_TYPES=>TY_T_POSTING_REF | 20130327 |
Method DETERMINE_REVENUE_FROM_NBV on class CL_FAA_POSTING_REV_SERVICES has no exception.
Method DETERMINE_REV_AMOUNT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ED_AMOUNT | Call by reference | Type reference (TYPE) | RLAMBU-ERLBT | Erlös aus Anlagenverkauf | 20130508 | |||
| 2 | ID_AFABE | Call by reference | Type reference (TYPE) | RLAMBU-AFABE | Basisbertungsbereich für Restbuchwertermittlung | 20130518 | |||
| 3 | IO_DOCUMENT | Call by reference | Object reference (TYPE REF TO) | IF_FAA_DOCUMENT | Beleg aus FIAA-Sicht (Business Logik) | 20130508 | |||
| 4 | IT_AREAVALUES | Call by reference | Type reference (TYPE) | IF_FAA_POSTING_TYPES=>TY_T_AREAVALUES | 20130514 |
Method DETERMINE_REV_AMOUNT on class CL_FAA_POSTING_REV_SERVICES has no exception.
Method DETERMINE_SUM_NET_BOOK_VALUE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_AREAVALUES | Call by reference | Type reference (TYPE) | IF_FAA_POSTING_TYPES=>TY_T_AREAVALUES | 20130226 | ||||
| 2 | IT_RLAMBU | Call by reference | Type reference (TYPE) | TY_RLAMBU | Hilfsstruktur Buchungszeile Anlagenbuchung | 20130226 | |||
| 3 | IT_TRANSACTION | Call by reference | Type reference (TYPE) | IF_FAA_POSTING_TYPES=>TY_T_POSTING_REF | 20130327 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | T100 Meldungen FIAA Buchen | 20130228 |
Method DISTRIBUTE_REVENUE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_AREAVALUES | Call by reference | Type reference (TYPE) | IF_FAA_POSTING_TYPES=>TY_T_AREAVALUES | 20130226 | ||||
| 2 | CT_DISTRIBUTION_FOR_REV | Call by reference | Type reference (TYPE) | TY_T_DISTRIBUTION_FOR_REVENUE | Tabellentyp für TY_S_DISTRIBUTION_FOR_REVENUE | 20130226 |
Method DISTRIBUTE_REVENUE on class CL_FAA_POSTING_REV_SERVICES has no exception.
Method REVENUE_SHARE_CAL_BASEVAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ED_ABSKA | Call by reference | Type reference (TYPE) | ANEPI-ANBTR | Buchungsbetrag | 20130917 | |||
| 2 | ED_ABSVA | Call by reference | Type reference (TYPE) | ANEPI-ANBTR | Buchungsbetrag | 20130917 | |||
| 3 | ID_ANEPI | Call by reference | Type reference (TYPE) | ANEPI | Interface-Struktur zum Buchen auf Anlage | 20130917 |
Method REVENUE_SHARE_CAL_BASEVAL on class CL_FAA_POSTING_REV_SERVICES has no exception.
Method SET_DIST_RULE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_DIST_RULE | Call by reference | Type reference (TYPE) | REVDMETH | Methode zur Erlösverteilung bei Anlagenabgang | 20130304 |
Method SET_DIST_RULE on class CL_FAA_POSTING_REV_SERVICES has no exception.
Method SUMUP_AMOUNTS_FOR_DISTRIBUTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_DISTRIBUTION_FOR_REV | Call by reference | Type reference (TYPE) | TY_T_DISTRIBUTION_FOR_REVENUE | Tabellentyp für TY_S_DISTRIBUTION_FOR_REVENUE | 20130226 | |||
| 2 | ET_DISTRIBUTION_SUM | Call by reference | Type reference (TYPE) | TY_T_DISTRIBUTION_FOR_REVENUE | Tabellentyp für TY_S_DISTRIBUTION_FOR_REVENUE | 20130226 | |||
| 3 | IS_RLAMBU | Call by reference | Type reference (TYPE) | RLAMBU | Hilfsstruktur Buchungszeile Anlagenbuchung | 20130226 | |||
| 4 | IT_AREAVALUES | Call by reference | Type reference (TYPE) | IF_FAA_POSTING_TYPES=>TY_T_AREAVALUES | 20130226 | ||||
| 5 | IT_CURRVAL | Call by reference | Type reference (TYPE) | ACCCR_T | Schnittstelle ins Rechnungswesen: Währungsinformation | 20130226 |
Method SUMUP_AMOUNTS_FOR_DISTRIBUTION on class CL_FAA_POSTING_REV_SERVICES has no exception.
History
| Last changed by/on | SAP | 20131127 |
| SAP Release Created in | 617 |