SAP ABAP Class CL_FKKINV_BILL_DOC (Billing Document)
Hierarchy
☛
FI-CA (Software Component) FI-CA
⤷
FI-CA-INV (Application Component) Invoicing to Contract Accounts Receivable and Payable
⤷
FKKINV (Package) Invoicing in Contract Accounts Receivable and Payable
⤷
⤷
Properties
| Class | CL_FKKINV_BILL_DOC | |
| Short Description | Billing Document | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | FKKINV | Invoicing in Contract Accounts Receivable and Payable |
| Created | 20041228 | SAP |
| Last change | 20070914 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_FKKINV_BILL_DOC has no forward declaration.
Interfaces
Class CL_FKKINV_BILL_DOC has no interface implemented.
Friends
Class CL_FKKINV_BILL_DOC has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Private | Object reference (TYPE REF TO) | IF_EX_FKKINV_BAPIBILL | BAdI Interface IF_EX_FKKINV_BAPIBILL | 20050303 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Private | Method | Check and Analyze Selection Criteria | 20050208 | |
| 2 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20050303 | |
| 3 | Static method | Public | Method | Convert Logical View in Database View | 20041228 | |
| 4 | Static method | Public | Method | Convert Logical View in Database View | 20041228 | |
| 5 | Static method | Private | Method | Copy Document Data to Structure FKKINVBILL | 20050216 | |
| 6 | Static method | Public | Method | Change Billing Document Header for Reversal | 20060404 | |
| 7 | Static method | Public | Method | Change Billing Document Header for Reversal | 20050310 | |
| 8 | Static method | Public | Method | Add Billing Document | 20041228 | |
| 9 | Static method | Public | Method | Check whether Billing Document Is Invoiced | 20060404 | |
| 10 | Static method | Public | Method | Check Existence of Document for Reference Document Number | 20041229 | |
| 11 | Static method | Public | Method | Read Documents | 20041228 | |
| 12 | Static method | Private | Method | Read Additional Items | 20050208 | |
| 13 | Static method | Private | Method | Read Document Headers and Items | 20050208 | |
| 14 | Static method | Private | Method | Read Tax Items | 20050208 | |
| 15 | Static method | Public | Method | Create FKKINV_TRIG for Billing Document | 20050221 |
Events
Class CL_FKKINV_BILL_DOC has no event.
Types
Class CL_FKKINV_BILL_DOC has no local type.
Method Signatures
Method CHECK_SEL_CRITERIA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | XY_SELECT | Call by reference | Type reference (TYPE) | TY_SELECT | 20050208 | ||||
| 2 | X_ACCEPT_REVERSAL | Call by reference | Type reference (TYPE) | XFELD | Feld zum Ankreuzen | 20050208 | |||
| 3 | X_ACCEPT_REVERSED | Call by reference | Type reference (TYPE) | XFELD | Feld zum Ankreuzen | 20050208 | |||
| 4 | X_ACCEPT_SIMULATED | Call by reference | Type reference (TYPE) | XFELD | Feld zum Ankreuzen | 20050208 | |||
| 5 | X_APPLK | Call by reference | Type reference (TYPE) | APPLK_KK | Anwendungsbereich | 20050208 | |||
| 6 | X_BILLDOCNO | Call by reference | Type reference (TYPE) | BILLDOCNO_KK | Nummer des Abrechnungsbelegs | 20050208 | |||
| 7 | X_BILLDOCNO_TAB | Call by reference | Type reference (TYPE) | FKKINV_BILLDOCNO_HTAB | Hash-Tabelle der Abrechnungsbelegnummern | 20050208 | |||
| 8 | X_DATE_FROM | Value transfer | Type reference (TYPE) | BILL_PERIOD_FROM_KK | Beginn des Belegzeitraums | 20050208 | |||
| 9 | X_DATE_TO | Value transfer | Type reference (TYPE) | BILL_PERIOD_TO_KK | Ende des Belegzeitraums | 20050208 | |||
| 10 | X_GPART | Call by reference | Type reference (TYPE) | GPART_KK | Geschäftspartnernummer | 20050208 | |||
| 11 | X_GPART_RANGE_TAB | Call by reference | Type reference (TYPE) | FKK_RT_GPART | range Tabelle GPART | 20050208 | |||
| 12 | X_HEADER_SELCRITERIA | Call by reference | Type reference (TYPE) | ANY | 20050208 | ||||
| 13 | X_LOG_SYSTEM | Call by reference | Type reference (TYPE) | LOGSYS | Logisches System | 20050208 | |||
| 14 | X_REFDOCNO | Call by reference | Type reference (TYPE) | REFDOCNO_KK | Belegnummer im externen System | 20050208 | |||
| 15 | X_VKONT | Call by reference | Type reference (TYPE) | VKONT_KK | Vertragskontonummer | 20050208 | |||
| 16 | X_VKONT_RANGE_TAB | Call by reference | Type reference (TYPE) | FKK_RT_VKONT | Range tabelle VKONT | 20050208 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20050208 |
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_FKKINV_BILL_DOC has no parameter.
Method CLASS_CONSTRUCTOR on class CL_FKKINV_BILL_DOC has no exception.
Method CONVERT_TO_DB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | X_ADDITEM_TAB | Call by reference | Type reference (TYPE) | FKKINVBILL_A_TAB | Standardtabelle zur Struktur FKKINVBILL_A | 20050208 | |||
| 2 | X_HEADER_TAB | Call by reference | Type reference (TYPE) | FKKINVBILL_H_TAB | Standardtabelle zur transparenten Tabelle DFKKINVBILL_H | 20041228 | |||
| 3 | X_ITEM_TAB | Call by reference | Type reference (TYPE) | FKKINVBILL_I_TAB | Standardtabelle zur transparenten Tabelle DFKKINVBILL_I | 20041228 | |||
| 4 | X_TAXITEM_TAB | Call by reference | Type reference (TYPE) | FKKINVBILL_T_TAB | Standardtabelle zur Struktur FKKINVBILL_T | 20041228 | |||
| 5 | Y_ADDITEM_TAB | Call by reference | Type reference (TYPE) | DFKKINVBILL_A_TAB | Standardtabelle zur Struktur DFKKINVBILL_A | 20050208 | |||
| 6 | Y_HEADER_TAB | Call by reference | Type reference (TYPE) | DFKKINVBILL_H_TAB | Standardtabelle zur transparenten Tabelle DFKKINVBILL_H | 20041228 | |||
| 7 | Y_ITEM_TAB | Call by reference | Type reference (TYPE) | DFKKINVBILL_I_TAB | Standardtabelle zur transparenten Tabelle DFKKINVBILL_I | 20041228 | |||
| 8 | Y_TAXITEM_TAB | Call by reference | Type reference (TYPE) | DFKKINVBILL_T_TAB | Standardtabelle zur transparenten Tabelle DFKKINVBILL_T | 20041228 |
Method CONVERT_TO_DB on class CL_FKKINV_BILL_DOC has no exception.
Method CONVERT_TO_LOG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | X_ADDITEM_TAB | Call by reference | Type reference (TYPE) | DFKKINVBILL_A_TAB | Standardtabelle zur Struktur DFKKINVBILL_A | 20050208 | |||
| 2 | X_HEADER_TAB | Call by reference | Type reference (TYPE) | DFKKINVBILL_H_TAB | Standardtabelle zur transparenten Tabelle DFKKINVBILL_H | 20041228 | |||
| 3 | X_ITEM_TAB | Call by reference | Type reference (TYPE) | DFKKINVBILL_I_TAB | Standardtabelle zur transparenten Tabelle DFKKINVBILL_I | 20041228 | |||
| 4 | X_TAXITEM_TAB | Call by reference | Type reference (TYPE) | DFKKINVBILL_T_TAB | Standardtabelle zur Struktur FKKINVBILL_T | 20041228 | |||
| 5 | Y_ADDITEM_TAB | Call by reference | Type reference (TYPE) | FKKINVBILL_A_TAB | Standardtabelle zur Struktur FKKINVBILL_A | 20050208 | |||
| 6 | Y_HEADER_TAB | Call by reference | Type reference (TYPE) | FKKINVBILL_H_TAB | Standardtabelle zur transparenten Tabelle DFKKINVBILL_H | 20041228 | |||
| 7 | Y_ITEM_TAB | Call by reference | Type reference (TYPE) | FKKINVBILL_I_TAB | Standardtabelle zur transparenten Tabelle DFKKINVBILL_I | 20041228 | |||
| 8 | Y_TAXITEM_TAB | Call by reference | Type reference (TYPE) | FKKINVBILL_T_TAB | Standardtabelle zur transparenten Tabelle DFKKINVBILL_T | 20041228 |
Method CONVERT_TO_LOG on class CL_FKKINV_BILL_DOC has no exception.
Method COPY_INTO_FKKINVBILL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_BILLDOC_TAB | Value transfer | Type reference (TYPE) | FKKINVBILL_TAB | Tabelle der Abrechnungsbelege | 20050216 | |||
| 2 | X_ADDITEM_TAB | Call by reference | Type reference (TYPE) | FKKINVBILL_A_TAB | Standardtabelle zur Struktur FKKINVBILL_A | 20050216 | |||
| 3 | X_HEADER_TAB | Call by reference | Type reference (TYPE) | FKKINVBILL_H_TAB | Standardtabelle zum Typ FKKINVBILL_H | 20050216 | |||
| 4 | X_ITEM_TAB | Call by reference | Type reference (TYPE) | FKKINVBILL_I_TAB | Standardtabelle zur Struktur FKKINVBILL_I | 20050216 | |||
| 5 | X_TAXITEM_TAB | Call by reference | Type reference (TYPE) | FKKINVBILL_T_TAB | Standardtabelle zur Struktur FKKINVBILL_T | 20050216 |
Method COPY_INTO_FKKINVBILL on class CL_FKKINV_BILL_DOC has no exception.
Method HEADER_CHANGE_ADJUSTMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | X_ADJUSTMENTDOC | Call by reference | Type reference (TYPE) | FKKINVBILL_H-ADJUSTMENTDOC | Nummer des Anpassungsabrechnungsbelegs | 20060404 | |||
| 2 | X_BILLDOCNO | Call by reference | Type reference (TYPE) | FKKINVBILL_H-BILLDOCNO | Nummer des Abrechnungsbelegs | 20060404 | |||
| 3 | X_TRIGGER_DELETED | Call by reference | Type reference (TYPE) | TRIGDELETED_KK | Kennzeichen Fakturierungsauftrag gelöscht | 20060404 |
Method HEADER_CHANGE_ADJUSTMENT on class CL_FKKINV_BILL_DOC has no exception.
Method HEADER_CHANGE_REVERSAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | X_BILLDOCNO | Call by reference | Type reference (TYPE) | FKKINVBILL_H-BILLDOCNO | Nummer des Abrechnungsbelegs | 20050310 | |||
| 2 | X_REVERSALDOC | Call by reference | Type reference (TYPE) | FKKINVBILL_H-REVERSALDOC | Nummer des Stornobeleges zum Abrechnungsbeleg | 20050310 | |||
| 3 | X_TRIGGER_DELETED | Call by reference | Type reference (TYPE) | TRIGDELETED_KK | Kennzeichen Fakturierungsauftrag gelöscht | 20060329 |
Method HEADER_CHANGE_REVERSAL on class CL_FKKINV_BILL_DOC has no exception.
Method INSERT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | X_ADDITEM_TAB | Call by reference | Type reference (TYPE) | DFKKINVBILL_A_TAB | Standardtabelle zur Struktur DFKKINVBILL_A | 20050208 | |||
| 2 | X_HEADER_TAB | Call by reference | Type reference (TYPE) | DFKKINVBILL_H_TAB | Standardtabelle zur transparenten Tabelle DFKKINVBILL_H | 20041228 | |||
| 3 | X_ITEM_TAB | Call by reference | Type reference (TYPE) | DFKKINVBILL_I_TAB | Standardtabelle zur transparenten Tabelle DFKKINVBILL_I | 20041228 | |||
| 4 | X_TAXITEM_TAB | Call by reference | Type reference (TYPE) | DFKKINVBILL_T_TAB | Standardtabelle zur transparenten Tabelle DFKKINVBILL_T | 20041228 |
Method INSERT on class CL_FKKINV_BILL_DOC has no exception.
Method IS_INVOICED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_IS_INVOICED | Value transfer | Type reference (TYPE) | XFELD | Feld zum Ankreuzen | 20060404 | |||
| 2 | X_FKKINVDOC_S_TAB | Call by reference | Type reference (TYPE) | FKKINVDOC_S_TAB | Standardtabelle zur Struktur FKKINVDOC_S | 20060404 | |||
| 3 | X_FKKINV_TRIG | Call by reference | Type reference (TYPE) | FKKINV_TRIG | Fakturierungsauftrag | 20060404 | |||
| 4 | X_HEADER | Call by reference | Type reference (TYPE) | FKKINVBILL_H | Abrechnungsbelegkopf | 20060404 | |||
| 5 | X_USE_FKKINV_TRIG | Call by reference | Type reference (TYPE) | XFELD | SPACE | Feld zum Ankreuzen | 20060404 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20060404 |
Method REFDOCNO_EXISTENCE_CHECK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_FOUND | Value transfer | Type reference (TYPE) | XFELD | Feld zum Ankreuzen | 20041229 | |||
| 2 | X_LOG_SYSTEM | Call by reference | Type reference (TYPE) | DFKKINVBILL_H-LOG_SYSTEM | Logisches System | 20050110 | |||
| 3 | X_REFDOCNO | Call by reference | Type reference (TYPE) | DFKKINVBILL_H-REFDOCNO | Belegnummer im externen System | 20041229 |
Method REFDOCNO_EXISTENCE_CHECK on class CL_FKKINV_BILL_DOC has no exception.
Method SELECT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | X_ACCEPT_REVERSAL | Call by reference | Type reference (TYPE) | XFELD | SPACE | Auch Stornobelege selektieren | 20050208 | ||
| 2 | X_ACCEPT_REVERSED | Call by reference | Type reference (TYPE) | XFELD | SPACE | Auch stornierte Belege selektieren | 20050208 | ||
| 3 | X_ACCEPT_SIMULATED | Call by reference | Type reference (TYPE) | XFELD | SPACE | Auch simulierte Belege selektieren | 20050208 | ||
| 4 | X_APPLK | Call by reference | Type reference (TYPE) | APPLK_KK | Anwendungsbereich | 20041228 | |||
| 5 | X_BILLDOCNO | Call by reference | Type reference (TYPE) | BILLDOCNO_KK | Nummer des Abrechnungsbelegs | 20041228 | |||
| 6 | X_BILLDOCNO_TAB | Value transfer | Type reference (TYPE) | FKKINV_BILLDOCNO_HTAB | Hash-Tabelle der Abrechnungsbelegnummern | 20041228 | |||
| 7 | X_DATE_FROM | Call by reference | Type reference (TYPE) | BILL_PERIOD_FROM_KK | Beginn des Belegzeitraums | 20050208 | |||
| 8 | X_DATE_TO | Call by reference | Type reference (TYPE) | BILL_PERIOD_TO_KK | Ende des Belegzeitraums | 20050208 | |||
| 9 | X_GPART | Call by reference | Type reference (TYPE) | GPART_KK | Geschäftspartnernummer | 20041228 | |||
| 10 | X_GPART_RANGE_TAB | Call by reference | Type reference (TYPE) | FKK_RT_GPART | range Tabelle GPART | 20050208 | |||
| 11 | X_HEADER_SELCRITERIA | Call by reference | Type reference (TYPE) | ANY | Zusätzliche Selektionskriterien für Tabelle FKKINVBILL_H | 20050208 | |||
| 12 | X_LOG_SYSTEM | Call by reference | Type reference (TYPE) | LOGSYS | Logisches System | 20050110 | |||
| 13 | X_REFDOCNO | Call by reference | Type reference (TYPE) | REFDOCNO_KK | Belegnummer im externen System | 20041228 | |||
| 14 | X_VKONT | Call by reference | Type reference (TYPE) | VKONT_KK | Vertragskontonummer | 20041228 | |||
| 15 | X_VKONT_RANGE_TAB | Call by reference | Type reference (TYPE) | FKK_RT_VKONT | Range tabelle VKONT | 20050208 | |||
| 16 | Y_ADDITEM_TAB | Call by reference | Type reference (TYPE) | FKKINVBILL_A_TAB | Standardtabelle zur Struktur FKKINVBILL_A | 20050208 | |||
| 17 | Y_BILLDOC_TAB | Call by reference | Type reference (TYPE) | FKKINVBILL_TAB | Tabelle der Abrechnungsbelege | 20050120 | |||
| 18 | Y_HEADER_TAB | Call by reference | Type reference (TYPE) | FKKINVBILL_H_TAB | Standardtabelle zum Typ FKKINVBILL_H | 20041228 | |||
| 19 | Y_ITEM_TAB | Call by reference | Type reference (TYPE) | FKKINVBILL_I_TAB | Standardtabelle zur Struktur FKKINVBILL_I | 20041228 | |||
| 20 | Y_TAXITEM_TAB | Call by reference | Type reference (TYPE) | FKKINVBILL_T_TAB | Standardtabelle zur Struktur FKKINVBILL_T | 20041228 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20041228 |
Method SELECT_ADDITEMS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | X_HEADER_TAB | Call by reference | Type reference (TYPE) | FKKINVBILL_H_TAB | Standardtabelle zum Typ FKKINVBILL_H | 20050208 | |||
| 2 | X_ITEM_TAB | Call by reference | Type reference (TYPE) | FKKINVBILL_I_TAB | Standardtabelle zur Struktur FKKINVBILL_I | 20050208 | |||
| 3 | X_SELECT | Call by reference | Type reference (TYPE) | TY_SELECT | 20050208 | ||||
| 4 | Y_ADDITEM_TAB | Call by reference | Type reference (TYPE) | FKKINVBILL_A_TAB | Standardtabelle zur Struktur FKKINVBILL_A | 20050208 |
Method SELECT_ADDITEMS on class CL_FKKINV_BILL_DOC has no exception.
Method SELECT_HEADER_ITEMS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | X_HEADER_SELCRITERIA | Call by reference | Type reference (TYPE) | ANY | 20050208 | ||||
| 2 | X_SELECT | Call by reference | Type reference (TYPE) | TY_SELECT | 20050208 | ||||
| 3 | Y_HEADER_TAB | Call by reference | Type reference (TYPE) | FKKINVBILL_H_TAB | Standardtabelle zum Typ FKKINVBILL_H | 20050208 | |||
| 4 | Y_ITEM_TAB | Call by reference | Type reference (TYPE) | FKKINVBILL_I_TAB | Standardtabelle zur Struktur FKKINVBILL_I | 20050208 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20050208 |
Method SELECT_TAXITEMS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | X_HEADER_TAB | Call by reference | Type reference (TYPE) | FKKINVBILL_H_TAB | Standardtabelle zum Typ FKKINVBILL_H | 20050208 | |||
| 2 | X_SELECT | Call by reference | Type reference (TYPE) | TY_SELECT | 20050208 | ||||
| 3 | Y_TAXITEM_TAB | Call by reference | Type reference (TYPE) | FKKINVBILL_T_TAB | Standardtabelle zur Struktur FKKINVBILL_T | 20050208 |
Method SELECT_TAXITEMS on class CL_FKKINV_BILL_DOC has no exception.
Method TRIGGER_FOR_BILLDOC_CREATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | X_ADDITEM_TAB | Call by reference | Type reference (TYPE) | FKKINVBILL_A_TAB | Standardtabelle zur Struktur FKKINVBILL_A | 20050221 | |||
| 2 | X_FKKVKP | Call by reference | Type reference (TYPE) | FKKVKP | Vertragskonto partnerspezifisch | 20050221 | |||
| 3 | X_HEADER | Call by reference | Type reference (TYPE) | FKKINVBILL_H | Abrechnungsbelegkopf | 20050221 | |||
| 4 | X_ITEM_TAB | Call by reference | Type reference (TYPE) | FKKINVBILL_I_TAB | Standardtabelle zur Struktur FKKINVBILL_I | 20050221 | |||
| 5 | X_REVERSED_INVDOC | Call by reference | Type reference (TYPE) | FKKINVDOC | Fakturierungsbeleg | 20050429 | |||
| 6 | X_TAXITEM_TAB | Call by reference | Type reference (TYPE) | FKKINVBILL_T_TAB | Standardtabelle zur Struktur FKKINVBILL_T | 20050221 | |||
| 7 | Y_TRIGGER | Call by reference | Type reference (TYPE) | FKKINV_TRIG | Fakturierungsauftrag | 20050221 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20050221 |
History
| Last changed by/on | SAP | 20070914 |
| SAP Release Created in | 600 |