SAP ABAP Class CL_ACT_DISTRIBUTION_CO (Distribution of Activity Differences to Receiver Groups)
Hierarchy
☛
EA-FIN (Software Component) EA-FIN
⤷ CO-OM-ACT (Application Component) Activity Types
⤷ CO_OM_ACT (Package) Enhancements for Activity Allocation
⤷ CO-OM-ACT (Application Component) Activity Types
⤷ CO_OM_ACT (Package) Enhancements for Activity Allocation
Properties
Class | CL_ACT_DISTRIBUTION_CO | |
Short Description | Distribution of Activity Differences to Receiver Groups | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | CO_OM_ACT | Enhancements for Activity Allocation |
Created | 20000627 | SAP |
Last change | 20110908 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | CO | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_ACT_DISTRIBUTION_CO has no interface implemented.
Friends
Class CL_ACT_DISTRIBUTION_CO has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | CD_CO_DOC_LINES | Constant | Private | Type reference (TYPE) | SYTABIX | 250 | Index of Internal Tables | 20080729 | |
2 | CON_ACTUAL | Constant | Private | Type reference (TYPE) | CO_WRTTP | '04' | Value Type | 20000718 | |
3 | CON_AWTYP_KADO | Constant | Private | Type reference (TYPE) | AWTYP | 'KADO' | Reference Transaction | 20000719 | |
4 | CON_OBART_OR | Constant | Private | Type reference (TYPE) | J_OBART | 'OR' | Object Type | 20020729 | |
5 | CON_VRGNG_ILV | Constant | Private | Type reference (TYPE) | CO_VORGANG | 'RKL' | CO Business Transaction | 20000719 | |
6 | CO_BELNR | Instance attribute | Public | Type reference (TYPE) | CO_BELNR | Document Number | 20001017 | ||
7 | DATE_FROM | Instance attribute | Private | Type reference (TYPE) | DATAB | Start Date for Distribution Run | 20000627 | ||
8 | DATE_TO | Instance attribute | Private | Type reference (TYPE) | DATBI | End Date for Distribution Run | 20000627 | ||
9 | DIST_TAB | Instance attribute | Public | Type reference (TYPE) | ACT_DISTRIBUTION_T | Transfer table Distribution Activity Differences | 20000627 | ||
10 | ET_RETURN | Instance attribute | Public | Type reference (TYPE) | BAPIRET2_T | Return Parameter Table | 20001023 | ||
11 | FYEAR | Instance attribute | Public | Type reference (TYPE) | GJAHR | Fiscal Year | 20000627 | ||
12 | INFO | Instance attribute | Private | Type reference (TYPE) | INFO_STRUC | Detail Parameters | 20000718 | ||
13 | MS_SENDER_OBJECT | Instance attribute | Private | Type reference (TYPE) | IONRA | General Object Number and Object Keys | 20080729 | ||
14 | SENDER | Instance attribute | Public | Type reference (TYPE) | J_OBJNR | Sender of Activity Allocations | 20000627 | ||
15 | VERSN | Instance attribute | Public | Type reference (TYPE) | VERSN | Version | 20000627 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ADD_ITEM | Instance method | Private | Method | Include new entry in list for CO document | 20080729 |
2 | CHECK_CO_DOCUMENT | Instance method | Private | Method | Check Whether Update Possible | 20080729 |
3 | CHECK_CO_DOCUMENT_SINGLE | Instance method | Private | Method | Check Whether Update Possible | 20080729 |
4 | CONSTRUCTOR | Instance method | Public | Constructor | Constructor | 20000627 |
5 | CONVERT_UNIT_OF_QTY | Instance method | Private | Method | Unit of Measure Conversion if Necessary | 20020729 |
6 | GET_DEFAULT_DISTRIBUTION | Instance method | Public | Method | Provides Default Distribution | 20000627 |
7 | GET_DEFAULT_TIME_INTERVALL | Instance method | Public | Method | Provides Default Time Interval | 20000627 |
8 | INCLUDE_CO_LINE_ITEM | Instance method | Private | Method | Inclusion of a CO Line Item in Proposed Distribution | 20020729 |
9 | MESSAGE | Instance method | Private | Method | Update of an Individual CO Document | 20080729 |
10 | POST_CO_DOCUMENT | Instance method | Private | Method | Post CO Document(s) | 20080729 |
11 | POST_CO_DOCUMENT_SINGLE | Instance method | Private | Method | Check Whether Update Possible for Individual CO Document | 20080729 |
12 | POST_DISTRIBUTION | Instance method | Public | Method | Posts an Activity Distribution | 20000627 |
13 | SUBTRACT_QTY_B_FROM_A | Instance method | Private | Method | Quantity A - Quantity B | 20020729 |
14 | SUM_UP_QTY | Instance method | Private | Method | Add Quantities | 20020729 |
Events
Class CL_ACT_DISTRIBUTION_CO has no event.
Types
Class CL_ACT_DISTRIBUTION_CO has no local type.
Method Signatures
Method ADD_ITEM Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | CT_DOC_ITEM | Call by reference | Type reference (TYPE) | BAPIAAITM_T | Line items: activity allocation - BAPI's actual postings | 20080729 | ||
2 | Importing | IS_AT_DUV | Value transfer | Type reference (TYPE) | ACT_DISTRIBUTION_S | Übergabestruktur Verteilung Leistungsdifferenzen | 20080729 | ||
3 | Importing | IS_DOC_ITEM_TEMP | Value transfer | Type reference (TYPE) | BAPIAAITM | Line items: activity allocation - BAPI's actual postings | 20080729 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ERROR | Fehler | 20080729 |
Method CHECK_CO_DOCUMENT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | ET_DOC_ITEM_ALL | Call by reference | Type reference (TYPE) | BAPIAAITM_T | Line items: activity allocation - BAPI's actual postings | 20080729 | ||
2 | Importing | IS_DOC_HEADER | Value transfer | Type reference (TYPE) | BAPIDOCHDRP | Document header: post act. alloc. - BAPI's actual postings | 20080729 | ||
3 | Importing | IS_DOC_ITEM_TEMP | Value transfer | Type reference (TYPE) | BAPIAAITM | Line items: activity allocation - BAPI's actual postings | 20080729 | ||
4 | Importing | IT_AT_DUV | Value transfer | Type reference (TYPE) | ACT_DISTRIBUTION_T | Übergabestruktur Verteilung Leistungsdifferenzen | 20080729 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ERROR | Fehler | 20080729 |
Method CHECK_CO_DOCUMENT_SINGLE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IS_DOC_HEADER | Value transfer | Type reference (TYPE) | BAPIDOCHDRP | Document header: post act. alloc. - BAPI's actual postings | 20080729 | ||
2 | Importing | IT_DOC_ITEM | Value transfer | Type reference (TYPE) | BAPIAAITM_T | Line items: activity allocation - BAPI's actual postings | 20080729 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ERROR | Fehler | 20080729 |
Method CONSTRUCTOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_FYEAR | Call by reference | Type reference (TYPE) | GJAHR | Geschäftsjahr | 20000712 | ||
2 | Importing | I_SENDER | Call by reference | Type reference (TYPE) | J_OBJNR | Objektnummer | 20000712 | ||
3 | Importing | I_VERSN | Call by reference | Type reference (TYPE) | VERSN | Version | 20000712 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | OBJECT_NOT_FOUND | Objekt nicht gefunden | 20000627 | |
2 | OBJECT_NOT_VALID | Nur Kostenstelle/Leistungsart oder Geschäftsprozess erlaubt | 20000718 |
Method CONVERT_UNIT_OF_QTY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_QUANTITY_IN | Value transfer | Type reference (TYPE) | MEGXXX | Menge gesamt | 20020729 | ||
2 | Importing | I_UNIT_IN | Value transfer | Type reference (TYPE) | MEINH | Mengeneinheit für Anzeige | 20020729 | ||
3 | Importing | I_UNIT_OUT | Value transfer | Type reference (TYPE) | MEINH | Mengeneinheit für Anzeige | 20020729 | ||
4 | Returning | R_QUANTITY_OUT | Value transfer | Type reference (TYPE) | MEGXXX | Menge gesamt | 20020729 |
Method CONVERT_UNIT_OF_QTY on class CL_ACT_DISTRIBUTION_CO has no exception.
Method GET_DEFAULT_DISTRIBUTION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_DATE_FROM | Call by reference | Type reference (TYPE) | DATAB | Datum gültig ab | 20000627 | ||
2 | Importing | I_DATE_TO | Call by reference | Type reference (TYPE) | DATBI | Datum gültig bis | 20000627 | ||
3 | Importing | I_QUANTITY | Call by reference | Type reference (TYPE) | MEGXXX | Menge gesamt | 20000627 | ||
4 | Importing | I_UNIT | Call by reference | Type reference (TYPE) | MEINH | Mengeneinheit für Anzeige | 20000627 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | NO_RECEIVER_FOUND | Kein gültiger Empfänger gefunden | 20000627 | |
2 | UNIT_CONVERSION_ERROR | Fehler bei der Mengenumrechnung | 20000719 | |
3 | WRONG_FISCAL_YEAR | Zeitinterval liegt nicht im gewählten Geschäftsjahr. | 20000718 |
Method GET_DEFAULT_TIME_INTERVALL Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | E_DATE_FROM | Call by reference | Type reference (TYPE) | DATAB | Datum gültig ab | 20000627 | ||
2 | Exporting | E_DATE_TO | Call by reference | Type reference (TYPE) | DATBI | Datum gültig bis | 20000627 | ||
3 | Importing | I_DATE_TO | Call by reference | Type reference (TYPE) | DATBI | Datum gültig bis | 20000718 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | WRONG_FISCAL_YEAR | Vorschlagsdatum liegt nicht im vorgesehenen Geschäftsjahr | 20000718 |
Method INCLUDE_CO_LINE_ITEM Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | CT_DISTRIBUTION | Call by reference | Type reference (TYPE) | ACT_DISTRIBUTION_T | Übergabetabelle Verteilung Leistungsdifferenzen | 20020729 | ||
2 | Changing | C_POSNR | Call by reference | Type reference (TYPE) | POSNR_DIST | Laufende Nummer für die Verteilung auf Kontierungsobjekte | 20020729 | ||
3 | Changing | C_TOTAL_QTY | Call by reference | Type reference (TYPE) | MEGXXX | Menge gesamt | 20020729 | ||
4 | Changing | C_UNIT_TOT_QTY | Call by reference | Type reference (TYPE) | MEINH | Mengeneinheit für Anzeige | 20020729 | ||
5 | Importing | IS_COVP | Value transfer | Type reference (TYPE) | COVP | Generierte Tabelle zum View COVP | 20020729 |
Method INCLUDE_CO_LINE_ITEM on class CL_ACT_DISTRIBUTION_CO has no exception.
Method MESSAGE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | ID_ID | Value transfer | Type reference (TYPE) | SYMSGID | 'C+' | Nachrichten, Nachrichtenklasse | 20080729 | |
2 | Importing | ID_MESSAGE_V1 | Value transfer | Type reference (TYPE) | SYMSGV | Nachrichten, Nachrichtenvariable | 20080729 | ||
3 | Importing | ID_MESSAGE_V2 | Value transfer | Type reference (TYPE) | SYMSGV | Nachrichten, Nachrichtenvariable | 20080729 | ||
4 | Importing | ID_MESSAGE_V3 | Value transfer | Type reference (TYPE) | SYMSGV | Nachrichten, Nachrichtenvariable | 20080729 | ||
5 | Importing | ID_MESSAGE_V4 | Value transfer | Type reference (TYPE) | SYMSGV | Nachrichten, Nachrichtenvariable | 20080729 | ||
6 | Importing | ID_NUMBER | Value transfer | Type reference (TYPE) | SYMSGNO | '099' | Nachrichten, Nachrichtennummer | 20080729 | |
7 | Importing | ID_TYPE | Value transfer | Type reference (TYPE) | BAPI_MTYPE | 'E' | Meldungstyp: S Success, E Error, W Warning, I Info, A Abort | 20080729 |
Method MESSAGE on class CL_ACT_DISTRIBUTION_CO has no exception.
Method POST_CO_DOCUMENT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IS_DOC_HEADER | Value transfer | Type reference (TYPE) | BAPIDOCHDRP | Document Header: Post Act. Alloc. - BAPI's Actual Postings | 20080729 | ||
2 | Importing | IT_DOC_ITEM_ALL | Value transfer | Type reference (TYPE) | BAPIAAITM_T | Line items: activity allocation - BAPI's actual postings | 20080729 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ERROR | Fehler | 20080729 |
Method POST_CO_DOCUMENT_SINGLE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IS_DOC_HEADER | Value transfer | Type reference (TYPE) | BAPIDOCHDRP | Document header: post act. alloc. - BAPI's actual postings | 20080729 | ||
2 | Importing | IT_DOC_ITEM | Value transfer | Type reference (TYPE) | BAPIAAITM_T | Line items: activity allocation - BAPI's actual postings | 20080729 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ERROR | Fehler | 20080729 |
Method POST_DISTRIBUTION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_CKMLDUVACT_DOC_NO | Value transfer | Type reference (TYPE) | CKMLDUV_BELNR | Belegnummer einer Leistungserfassung zur Verteilung | 20020308 | ||
2 | Importing | I_CKMLDUVACT_YEAR | Value transfer | Type reference (TYPE) | GJAHR | Geschäftsjahr | 20020308 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | UPDATE_ERROR | Fehler beim Erzeugen der Buchung | 20000627 |
Method SUBTRACT_QTY_B_FROM_A Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_QTY_A | Value transfer | Type reference (TYPE) | MEGXXX | Menge gesamt | 20020729 | ||
2 | Importing | I_QTY_B | Value transfer | Type reference (TYPE) | MEGXXX | Menge gesamt | 20020729 | ||
3 | Importing | I_UNIT_A | Value transfer | Type reference (TYPE) | MEINH | Mengeneinheit für Anzeige | 20020729 | ||
4 | Importing | I_UNIT_B | Value transfer | Type reference (TYPE) | MEINH | Mengeneinheit für Anzeige | 20020729 | ||
5 | Importing | I_UNIT_SUM | Value transfer | Type reference (TYPE) | MEINH | Mengeneinheit für Anzeige | 20020729 | ||
6 | Returning | R_SUM | Value transfer | Type reference (TYPE) | MEGXXX | Menge gesamt | 20020729 |
Method SUBTRACT_QTY_B_FROM_A on class CL_ACT_DISTRIBUTION_CO has no exception.
Method SUM_UP_QTY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_QTY_1 | Value transfer | Type reference (TYPE) | MEGXXX | Menge gesamt | 20020729 | ||
2 | Importing | I_QTY_2 | Value transfer | Type reference (TYPE) | MEGXXX | Menge gesamt | 20020729 | ||
3 | Importing | I_UNIT_1 | Value transfer | Type reference (TYPE) | MEINH | Mengeneinheit für Anzeige | 20020729 | ||
4 | Importing | I_UNIT_2 | Value transfer | Type reference (TYPE) | MEINH | Mengeneinheit für Anzeige | 20020729 | ||
5 | Importing | I_UNIT_SUM | Value transfer | Type reference (TYPE) | MEINH | Mengeneinheit für Anzeige | 20020729 | ||
6 | Returning | R_SUM | Value transfer | Type reference (TYPE) | MEGXXX | Menge gesamt | 20020729 |
Method SUM_UP_QTY on class CL_ACT_DISTRIBUTION_CO has no exception.
History
Last changed by/on | SAP | 20110908 |
SAP Release Created in | 46C |