SAP ABAP Class CL_CON_FIN_REPLACE_ASSIGNMENT (Substitute Account Assignment and Validation)
Hierarchy
☛
IS-CWM (Software Component) Industry Solution Catch Weight Management
⤷
IS-CWM (Application Component) Industry Solution Catch Weight Management
⤷
CON_FIN_SERVICES (Package) Connector: Financials Services
⤷
⤷
Properties
| Class | CL_CON_FIN_REPLACE_ASSIGNMENT | |
| Short Description | Substitute Account Assignment and Validation | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | CON_FIN_SERVICES | Connector: Financials Services |
| Created | 20041129 | SAP |
| Last change | 20050411 | 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_CON_FIN_REPLACE_ASSIGNMENT has no interface implemented.
Friends
Class CL_CON_FIN_REPLACE_ASSIGNMENT has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | CON_FIN_ASSIGNMENT_TYPE | 'C' | Account Assignment Type: Cost Center | 20041206 | ||
| 2 | Constant | Public | Type reference (TYPE) | CON_FIN_ASSIGNMENT_TYPE | 'F' | Account Assignment Type: Asset | 20041130 | ||
| 3 | Constant | Public | Type reference (TYPE) | CON_FIN_ASSIGNMENT_TYPE | 'N' | Account Assignment Type: Network | 20050120 | ||
| 4 | Constant | Public | Type reference (TYPE) | CON_FIN_ASSIGNMENT_TYPE | 'O' | Account Assignment Type: Order | 20041206 | ||
| 5 | Constant | Public | Type reference (TYPE) | CON_FIN_ASSIGNMENT_TYPE | 'W' | Account Assignment Type: WBS Element | 20041206 | ||
| 6 | Constant | Public | Type reference (TYPE) | CON_FIN_ASSIGNMENT_TYPE | 'v' | Account Assignment Type: Transaction | 20050120 | ||
| 7 | Constant | Public | Type reference (TYPE) | DOKHL-OBJECT | 'KOSTL' | Documentation Object: Cost Center | 20041216 | ||
| 8 | Constant | Public | Type reference (TYPE) | DOKHL-OBJECT | 'ANLN1' | Documentation Object: Asset | 20041216 | ||
| 9 | Constant | Public | Type reference (TYPE) | DOKHL-OBJECT | 'NPLNR' | Documentation Object: Network | 20050120 | ||
| 10 | Constant | Public | Type reference (TYPE) | DOKHL-OBJECT | 'AUFNR' | Documentation Object: Order | 20041216 | ||
| 11 | Constant | Public | Type reference (TYPE) | DOKHL-OBJECT | 'PS_POSNR' | Documentation Object: WBS Element | 20041216 | ||
| 12 | Constant | Public | Type reference (TYPE) | DOKHL-OBJECT | 'VORNR' | Documentation Object: Transaction | 20050120 | ||
| 13 | Constant | Public | Type reference (TYPE) | SY-MSGID | 'CON_FIN_SERVICES' | Messages, Message Class | 20041216 | ||
| 14 | Constant | Public | Type reference (TYPE) | FIELDNAME | 'NEW' | Substitute Account Assignment Field | 20041216 | ||
| 15 | Constant | Public | Type reference (TYPE) | FIELDNAME | 'OLD' | Original Account Assignment Value | 20041216 | ||
| 16 | Static Attribute | Private | Type reference (TYPE) | DATUM | Date | 20050217 | |||
| 17 | Static Attribute | Private | Type reference (TYPE) | XFELD | 'X': Customizing Loaded | 20041130 | |||
| 18 | Static Attribute | Private | Type reference (TYPE) | BAPIRET2 | Return Parameters | 20041216 | |||
| 19 | Static Attribute | Private | Type reference (TYPE) | CON_FIN_ASGREPL_TABL | CWM: Substitute Account Assignments | 20041130 | |||
| 20 | Static Attribute | Private | Type reference (TYPE) | TT_RESULT | Buffer Table | 20050127 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Validate Account Assignment | 20050127 | |
| 2 | Static method | Public | Method | Validate Asset Accounting | 20041129 | |
| 3 | Static method | Public | Method | F1 Help for Account Assignment Types | 20041216 | |
| 4 | Static method | Public | Method | Determine Substitute Account Assignment | 20041129 | |
| 5 | Static method | Public | Method | F4 Help for Account Assignment Types | 20041130 |
Events
Class CL_CON_FIN_REPLACE_ASSIGNMENT has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TS_RESULT | Private | See coding | Buffer for Results | 20050127 | BEGIN OF ts_result,
assign_type TYPE con_fin_assignment_type,
assignment TYPE con_fin_source_assignment,
assignment_sub TYPE con_fin_source_assignment,
controlling_area TYPE kokrs,
posting_date TYPE budat,
transaction_key TYPE ktosl,
business_transaction TYPE glvor,
transaction_type TYPE vorgn,
company_code TYPE bukrs,
amount TYPE wrbtr,
currency TYPE waers,
quantity TYPE menge,
measurement_unit TYPE meins,
goods_receipt_date TYPE webud,
sender_company TYPE bukrs,
error TYPE boole,
END OF ts_result
|
|
| 2 | TT_RESULT | Private | See coding | Buffer table | 20050127 | tt_result TYPE STANDARD TABLE OF ts_result
|
Method Signatures
Method CHECK_ASSIGNMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_AMOUNT | Call by reference | Type reference (TYPE) | ANY | Betrag in Belegwährung | 20050127 | |||
| 2 | ID_ASSIGNMENT | Call by reference | Type reference (TYPE) | ANY | Hauptkontierung | 20050127 | |||
| 3 | ID_ASSIGNMENT_SUB | Call by reference | Type reference (TYPE) | ANY | Position der Kontierung | 20050127 | |||
| 4 | ID_ASSIGN_TYPE | Call by reference | Type reference (TYPE) | ANY | Kontierungstyp | 20050127 | |||
| 5 | ID_BTATYPE | Call by reference | Type reference (TYPE) | ANY | Geschäftsvorfallstyp | 20050127 | |||
| 6 | ID_BYPASS_BUFFER | Call by reference | Type reference (TYPE) | BOOLE | Puffer vorbeilesen | 20050127 | |||
| 7 | ID_COMPANY_CODE | Call by reference | Type reference (TYPE) | ANY | Buchungskreis | 20050127 | |||
| 8 | ID_CONTROLLING_AREA | Call by reference | Type reference (TYPE) | ANY | Kostenrechnungskreis | 20050127 | |||
| 9 | ID_CURRENCY | Call by reference | Type reference (TYPE) | ANY | Währungsschlüssel | 20050127 | |||
| 10 | ID_GOODS_RECEIPT_DATE | Call by reference | Type reference (TYPE) | ANY | Buchungdatum Wareneingang | 20050127 | |||
| 11 | ID_MEASUREMENT_UNIT | Call by reference | Type reference (TYPE) | ANY | Basismengeneinheit | 20050127 | |||
| 12 | ID_POSTING_DATE | Call by reference | Type reference (TYPE) | ANY | Buchungsdatum | 20050127 | |||
| 13 | ID_QUANTITY | Call by reference | Type reference (TYPE) | ANY | Materialstammview: Alternativmenge zum Material | 20050127 | |||
| 14 | ID_SENDER_COMPANY | Call by reference | Type reference (TYPE) | ANY | Sender Buchungskreis | 20050127 | |||
| 15 | ID_TRANSACTION_KEY | Call by reference | Type reference (TYPE) | ANY | Vorgangsschlüssel | 20050127 | |||
| 16 | RD_RC | Value transfer | Type reference (TYPE) | SY-SUBRC | Rückgabewert, Rückgabewert nach ABAP-Anweisungen | 20050127 |
Method CHECK_ASSIGNMENT on class CL_CON_FIN_REPLACE_ASSIGNMENT has no exception.
Method CHECK_FIXED_ASSET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_AMOUNT | Call by reference | Type reference (TYPE) | ANY | Betrag in Belegwährung | 20041206 | |||
| 2 | ID_COMPANY_CODE | Call by reference | Type reference (TYPE) | ANY | Buchungskreis | 20041206 | |||
| 3 | ID_CURRENCY | Call by reference | Type reference (TYPE) | ANY | Währungsschlüssel | 20041206 | |||
| 4 | ID_FIXED_ASSET_MAIN | Call by reference | Type reference (TYPE) | ANY | Anlagen-Hauptnummer | 20041206 | |||
| 5 | ID_FIXED_ASSET_SUB | Call by reference | Type reference (TYPE) | ANY | Anlagenunternummer | 20041206 | |||
| 6 | ID_GOODS_RECEIPT_DATE | Call by reference | Type reference (TYPE) | ANY | Buchungdatum Wareneingang | 20050124 | |||
| 7 | ID_MEASUREMENT_UNIT | Call by reference | Type reference (TYPE) | ANY | Basismengeneinheit | 20041206 | |||
| 8 | ID_QUANTITY | Call by reference | Type reference (TYPE) | ANY | Materialstammview: Alternativmenge zum Material | 20041206 | |||
| 9 | ID_SENDER_COMPANY | Call by reference | Type reference (TYPE) | ANY | Sender Buchungskreis | 20041217 | |||
| 10 | RD_RC | Value transfer | Type reference (TYPE) | SY-SUBRC | Rückgabewert, Rückgabewert nach ABAP-Anweisungen | 20041130 |
Method CHECK_FIXED_ASSET on class CL_CON_FIN_REPLACE_ASSIGNMENT has no exception.
Method DISPLAY_DOCU Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_ASSIGN_TYPE | Call by reference | Type reference (TYPE) | CON_FIN_ASSIGNMENT_TYPE | Kontierungsart | 20041216 |
Method DISPLAY_DOCU on class CL_CON_FIN_REPLACE_ASSIGNMENT has no exception.
Method REPLACE_ASSIGNMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CD_ASSIGNMENT | Call by reference | Type reference (TYPE) | ANY | Kontierung | 20041206 | |||
| 2 | CD_ASSIGNMENT_SUB | Call by reference | Type reference (TYPE) | ANY | Position der Kontierung | 20050120 | |||
| 3 | CD_ASSIGN_TYPE | Call by reference | Type reference (TYPE) | ANY | Kontierungsart | 20041206 | |||
| 4 | CD_COMPANY_CODE | Call by reference | Type reference (TYPE) | ANY | Buchungskreis | 20041206 | |||
| 5 | CD_CONTROLLING_AREA | Call by reference | Type reference (TYPE) | ANY | Kostenrechnungskreis | 20041206 | |||
| 6 | ED_ORDITMTYPE | Call by reference | Type reference (TYPE) | CON_FIN_ORDITMTYPE | Auftragspositionstyp (entspricht FIN_ORDITMTYPE) | 20041206 | |||
| 7 | ED_ORDTYPE | Call by reference | Type reference (TYPE) | CON_FIN_ORDTYPE | Auftragstyp | 20041206 | |||
| 8 | ED_RC | Call by reference | Type reference (TYPE) | SY-SUBRC | Rückgabewert, Rückgabewert nach ABAP-Anweisungen | 20041216 | |||
| 9 | ET_MESSAGE | Call by reference | Type reference (TYPE) | BAPIRETTAB | Meldungen | 20041216 | |||
| 10 | ID_BTATYPE | Call by reference | Type reference (TYPE) | CON_FIN_BTATYPE | IF_CON_FIN_CNST_2=>GC_VAL_BTCAT_GRIR | Geschäftsvorfallstyp | 20050203 | ||
| 11 | ID_DATE | Call by reference | Type reference (TYPE) | DATUM | SY-DATUM | Ersatzkontierung gültig ab | 20041206 |
Method REPLACE_ASSIGNMENT on class CL_CON_FIN_REPLACE_ASSIGNMENT has no exception.
Method VALUE_HELP_ASSIGNMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CD_ASSIGNMENT | Call by reference | Type reference (TYPE) | CON_FIN_SOURCE_ASSIGNMENT | Kontierungswert | 20041130 | |||
| 2 | CD_ASSIGNMENT_SUB | Call by reference | Type reference (TYPE) | CON_FIN_SOURCE_ASSIGNMENT | Position der Kontierung | 20050120 | |||
| 3 | CD_BUKRS | Call by reference | Type reference (TYPE) | BUKRS | Buchungskreis | 20041130 | |||
| 4 | CD_KOKRS | Call by reference | Type reference (TYPE) | KOKRS | Kostenrechnungskreis | 20041130 | |||
| 5 | ID_ASSIGN_TYPE | Call by reference | Type reference (TYPE) | CON_FIN_ASSIGNMENT_TYPE | Kontierungsart | 20041130 | |||
| 6 | ID_VALUE_POSITION | Call by reference | Type reference (TYPE) | FIELDNAME | 'OLD' / 'NEW' | 20041216 |
Method VALUE_HELP_ASSIGNMENT on class CL_CON_FIN_REPLACE_ASSIGNMENT has no exception.
History
| Last changed by/on | SAP | 20050411 |
| SAP Release Created in | 200 |