SAP ABAP Class CL_J_1B_CIAP_OBJECT (General CIAP Object)
Hierarchy
☛
SAP_FIN (Software Component) SAP_FIN
⤷
FI-LOC (Application Component) Localization
⤷
ID-CIAP-BR (Package) CIAP solution for Brasil
⤷
⤷
Meta Relationship - Used By
| # | Relationship type | Used by | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_J_1B_CIAP_OBJECT_AA | CIAP Object handling in AA | 20041222 |
| 2 | Inheritance (c INHERITING FROM c_ref) | CL_J_1B_CIAP_OBJECT_CO | CIAP Object handling in CO | 20041209 |
| 3 | Inheritance (c INHERITING FROM c_ref) | CL_J_1B_CIAP_OBJECT_GM | CIAP Object generated from goods movements (GM) | 20040729 |
| 4 | Inheritance (c INHERITING FROM c_ref) | CL_J_1B_CIAP_OBJECT_IV | CIAP Object generated from invoice verification (IV) | 20040729 |
Properties
| Class | CL_J_1B_CIAP_OBJECT | |
| Short Description | General CIAP Object | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ID_CIAP_BR | |
| Program status | P | SAP Standard Production Program |
| Category | 0 | |
| Package | ID-CIAP-BR | CIAP solution for Brasil |
| Created | 20040715 | SAP |
| Last change | 20100310 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_J_1B_CIAP_OBJECT has no interface implemented.
Friends
Class CL_J_1B_CIAP_OBJECT has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | J_1BCIAP_STATUS | 200 | Asset | 20050623 | ||
| 2 | Constant | Public | Type reference (TYPE) | XFELD | ' ' | blank | 20050623 | ||
| 3 | Constant | Public | Type reference (TYPE) | CHAR2 | 'BR' | Country | 20050623 | ||
| 4 | Constant | Public | Type reference (TYPE) | J_1BCIAP_STATUS | 990 | Cancelled | 20050623 | ||
| 5 | Constant | Public | Type reference (TYPE) | J_1BCIAP_STATUS | 870 | changed manually | 20050623 | ||
| 6 | Constant | Public | Type reference (TYPE) | J_1BCIAP_STATUS | 100 | CO object not yet settled | 20050623 | ||
| 7 | Constant | Public | Type reference (TYPE) | J_1BCIAP_STATUS | 125 | document which changes the value | 20050623 | ||
| 8 | Constant | Public | Type reference (TYPE) | J_1BCIAP_STATUS | 970 | deactivated manually | 20050623 | ||
| 9 | Constant | Public | Type reference (TYPE) | J_1BCIAP_STATUS | 900 | deactivated by system | 20050623 | ||
| 10 | Constant | Public | Type reference (TYPE) | J_1BCIAP_STATUS | 370 | entered manually | 20050623 | ||
| 11 | Constant | Public | Type reference (TYPE) | J_1BCIAP_STATUS | 350 | entered by system | 20050623 | ||
| 12 | Constant | Public | Type reference (TYPE) | CHAR5 | 'ANLN1' | Asset | 20050623 | ||
| 13 | Constant | Public | Type reference (TYPE) | CHAR5 | 'AUFNR' | Internal order | 20050623 | ||
| 14 | Constant | Public | Type reference (TYPE) | CHAR5 | 'KOSTL' | Cost center | 20050623 | ||
| 15 | Constant | Public | Type reference (TYPE) | CHAR5 | 'MATNR' | Material | 20050623 | ||
| 16 | Constant | Public | Type reference (TYPE) | CHAR5 | 'NPLNR' | Net plan | 20050623 | ||
| 17 | Constant | Public | Type reference (TYPE) | CHAR5 | 'PRCTR' | Profit center | 20050623 | ||
| 18 | Constant | Public | Type reference (TYPE) | CHAR5 | 'PSBNR' | WBS element | 20050623 | ||
| 19 | Static Attribute | Private | Type reference (TYPE) | CIAP1_T_INSTANCES | GT_CIAP_INSTANCES | 20050217 | |||
| 20 | Static Attribute | Public | Type reference (TYPE) | TY_J_1B_CIAP_OBJ_NF | Ciap object data | 20050623 | |||
| 21 | Static Attribute | Public | Type reference (TYPE) | TY_MSEG | Document Segment: Material | 20050623 | |||
| 22 | Static Attribute | Public | Type reference (TYPE) | TY_RSEG | Document Item: Incoming Invoice | 20040803 | |||
| 23 | Constant | Public | Type reference (TYPE) | J_1BCIAP_STATUS | 80 | Material | 20050623 | ||
| 24 | Constant | Public | Type reference (TYPE) | J_1BCIAP_STATUS | 011 | not yet inserted to tables | 20050623 | ||
| 25 | Constant | Public | Type reference (TYPE) | XFELD | ' ' | Flag no | 20050623 | ||
| 26 | Constant | Public | Type reference (TYPE) | J_1BCIAP_STATUS | 150 | Other receiver than asset | 20050623 | ||
| 27 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_J_1B_CIAP_CONDITIONS | CIAP object conditions | 20041026 | |||
| 28 | Constant | Public | Type reference (TYPE) | J_1BCIAP_STATUS | 214 | keep serno, change val | 20050623 | ||
| 29 | Constant | Public | Type reference (TYPE) | J_1BCIAP_STATUS | 216 | keep serno, change val | 20050623 | ||
| 30 | Constant | Public | Type reference (TYPE) | J_1BCIAP_STATUS | 234 | serno++, new val | 20050623 | ||
| 31 | Constant | Public | Type reference (TYPE) | XFELD | 'X' | Flag yes | 20050623 | ||
| 32 | Constant | Public | Type reference (TYPE) | CHAR1 | 'x' | Flag yes | 20050623 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Adds another instance to the list. | 20050217 | |
| 2 | Static method | Public | Method | Check if the CIAP solution is active | 20050110 | |
| 3 | Static method | Public | Method | Check if object exists on CIAP-db | 20041207 | |
| 4 | Instance method | Public | Method | Builds CIAP data using stored data + inserts CIAP object | 20040720 | |
| 5 | Static method | Public | Method | Generates the kntyp from ciap document data | 20050228 | |
| 6 | Static method | Public | Method | Creates the logical key of a CIAP objects and returns it | 20041221 | |
| 7 | Static method | Public | Method | Determines the saldo of the ciap values for the same kntyp | 20050623 | |
| 8 | Static method | Public | Method | Determine Object information from KNTYP | 20050623 | |
| 9 | Static method | Public | Method | Determines the relevant tax information for a ciap object | 20040825 | |
| 10 | Static method | Public | Method | Check proconditions and creates instances and | 20050120 | |
| 11 | Static method | Public | Method | Get NFs from the CIAP object table | 20041207 | |
| 12 | Static method | Public | Method | Insert CIAP Object to database | 20040716 | |
| 13 | Static method | Public | Method | Lock CIAP object | 20050201 | |
| 14 | Static method | Protected | Method | Assigns general data to object when inserting CIAP object | 20041124 | |
| 15 | Static method | Protected | Method | Assigns transaction data to CIAP object | 20050623 | |
| 16 | Instance method | Protected | Method | Uses stored data to puzzle the CIAP data | 20040728 | |
| 17 | Static method | Public | Method | Reverse ciap objects | 20041215 | |
| 18 | Static method | Public | Method | Sets the status of this document | 20050318 | |
| 19 | Static method | Public | Method | Sets the sign of the value: S=pos, H=neg. | 20050318 | |
| 20 | Static method | Public | Method | Unlock CIAP object | 20050201 | |
| 21 | Static method | Public | Method | Update ciap data with the latest header data | 20050623 |
Events
Class CL_J_1B_CIAP_OBJECT has no event.
Types
Class CL_J_1B_CIAP_OBJECT has no local type.
Method Signatures
Method ADD_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_INSTANCE_REF | Call by reference | Object reference (TYPE REF TO) | OBJECT | Reference | 20050217 | |||
| 2 | IS_J_1BNFDOC | Call by reference | Type reference (TYPE) | J_1BNFDOC | Ciap Header Structure | 20050217 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | new CIAP solution is active | 20050217 | ||
| 2 | new CIAP solution is not active | 20050217 | ||
| 3 | company code is not brasil | 20050217 |
Method CHECK_CIAP_ACTIVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_BUKRS | Call by reference | Type reference (TYPE) | BUKRS | Company Code | 20050110 | |||
| 2 | RD_ACTIVE | Value transfer | Type reference (TYPE) | XFELD | Checkbox | 20050110 |
Method CHECK_CIAP_ACTIVE on class CL_J_1B_CIAP_OBJECT has no exception.
Method CHECK_IF_EXISTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ED_EXISTS | Call by reference | Type reference (TYPE) | XFELD | Checkbox | 20041207 | |||
| 2 | ET_CIAP_OBJECT | Call by reference | Type reference (TYPE) | TY_J_1B_CIAP_OBJECT | J_1B_CIAP_object | 20041208 | |||
| 3 | IS_CIAP_SEARCH_KEY | Call by reference | Type reference (TYPE) | STR_CIAP_SEARCH_KEY | search key in order to identify existing ciap objects | 20041207 |
Method CHECK_IF_EXISTS on class CL_J_1B_CIAP_OBJECT has no exception.
Method CREATE_CIAP_OBJECT Signature
Method CREATE_CIAP_OBJECT on class CL_J_1B_CIAP_OBJECT has no parameter.
Method CREATE_CIAP_OBJECT on class CL_J_1B_CIAP_OBJECT has no exception.
Method CREATE_KNTYP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_CIAP_OBJECT | Call by reference | Type reference (TYPE) | STR_CIAP_OBJ | CIAP document data | 20050623 | |||
| 2 | RD_KNTYP | Value transfer | Type reference (TYPE) | J_1BKNTYP | Object Assignment type | 20050228 |
Method CREATE_KNTYP on class CL_J_1B_CIAP_OBJECT has no exception.
Method CREATE_LOG_KEY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_CIAP_OBJECT | Call by reference | Type reference (TYPE) | STR_CIAP_OBJ_NF | CIAP document data | 20041221 | |||
| 2 | RD_LOG_KEY | Value transfer | Type reference (TYPE) | J_1BLOG_KEY_CHAR35 | unique logical key of 35 digits | 20041221 |
Method CREATE_LOG_KEY on class CL_J_1B_CIAP_OBJECT has no exception.
Method DETERMINE_CIAP_SALDO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ED_CIAP_SALDO | Call by reference | Type reference (TYPE) | J_1B_CIAP_TAXVAL | Tax Value | 20050623 | |||
| 2 | ID_BUDAT | Call by reference | Type reference (TYPE) | BUDAT | Posting Date in the Document | 20050623 | |||
| 3 | IS_CIAP_OBJECT | Call by reference | Type reference (TYPE) | STR_CIAP_OBJ | CIAP Object Structure | 20050623 | |||
| 4 | IT_CIAP_NEWSALDO | Call by reference | Type reference (TYPE) | TY_J_1B_CIAP_OBJECT | J_1B_CIAP_object data | 20050623 | |||
| 5 | IT_CIAP_OLDSALDO | Call by reference | Type reference (TYPE) | TY_J_1B_CIAP_OBJECT | J_1B_CIAP_object data | 20050623 |
Method DETERMINE_CIAP_SALDO on class CL_J_1B_CIAP_OBJECT has no exception.
Method DETERMINE_OBJECT_FROM_KNTYP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_KNTYP | Call by reference | Type reference (TYPE) | STR_KNTYP | Structure which describes the kntyp | 20050623 | |||
| 2 | IS_CIAP_OBJECT | Call by reference | Type reference (TYPE) | J_1B_CIAP_OBJECT | CIAP document data | 20050623 |
Method DETERMINE_OBJECT_FROM_KNTYP on class CL_J_1B_CIAP_OBJECT has no exception.
Method DETERMINE_TAX_INFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ED_DEDUCTIBLE | Call by reference | Type reference (TYPE) | XFELD | Flag | 20040825 | |||
| 2 | ED_TAXGRP | Call by reference | Type reference (TYPE) | J_1BTAXGRP | Tax group | 20040825 | |||
| 3 | ID_BUKRS | Call by reference | Type reference (TYPE) | BUKRS | Company Code | 20040825 | |||
| 4 | ID_TAXTYP | Call by reference | Type reference (TYPE) | J_1BTAXTYP | Tax type | 20040825 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | TAX_INFO_ERROR | 20040825 |
Method FACTORY_METHOD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ED_INSTANCE_EXISTS | Call by reference | Type reference (TYPE) | XFELD | Reference exist? | 20050217 | |||
| 2 | ED_INSTANCE_REF | Call by reference | Object reference (TYPE REF TO) | OBJECT | Reference | 20050217 | |||
| 3 | ID_BUKRS | Call by reference | Type reference (TYPE) | BUKRS | Company Code | 20050217 | |||
| 4 | IS_J_1BNFDOC | Call by reference | Type reference (TYPE) | J_1BNFDOC | Ciap Header Structure | 20050217 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | new CIAP solution is active | 20050217 | ||
| 2 | new CIAP solution is not active | 20050217 | ||
| 3 | company code is not brasil | 20050217 |
Method GET_NFS_OF_OBJ Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_CIAP_NFS | Call by reference | Type reference (TYPE) | TY_J_1B_CIAP_OBJECT | J_1B_CIAP_object | 20041207 | |||
| 2 | IS_KEY_DATA | Call by reference | Type reference (TYPE) | STR_CIAP | Contains a complete CIAP dataset | 20041207 |
Method GET_NFS_OF_OBJ on class CL_J_1B_CIAP_OBJECT has no exception.
Method INSERT_CIAP_OBJECT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_DOCNUM | Call by reference | Type reference (TYPE) | J_1BDOCNUM | NFNum; given when id_insert=yes | 20041203 | |||
| 2 | ID_INSERT | Call by reference | Type reference (TYPE) | XFELD | yes=insert to table; no=store in memory | 20041123 | |||
| 3 | IT_CIAP_OBJECT | Call by reference | Type reference (TYPE) | TY_J_1B_CIAP_OBJ_NF | Ciap objects; given when id_insert=no | 20041123 |
Method INSERT_CIAP_OBJECT on class CL_J_1B_CIAP_OBJECT has no exception.
Method LOCK_CIAP_OBJECT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_CIAP_OBJ | Call by reference | Type reference (TYPE) | STR_CIAP_OBJ | CIAP Object Structure | 20050201 |
Method LOCK_CIAP_OBJECT on class CL_J_1B_CIAP_OBJECT has no exception.
Method MOVE_DATA_TO_CIAP_OBJECT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_CIAP_OBJECT | Call by reference | Type reference (TYPE) | STR_CIAP_OBJ_NF | CIAP document data | 20041221 | |||
| 2 | ID_DOCNUM | Call by reference | Type reference (TYPE) | J_1BDOCNUM | Document number | 20041124 |
Method MOVE_DATA_TO_CIAP_OBJECT on class CL_J_1B_CIAP_OBJECT has no exception.
Method MOVE_T_DATA_TO_CIAP_OBJECT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_CIAP_OBJECT | Call by reference | Type reference (TYPE) | STR_CIAP_OBJ_NF | 20050623 |
Method MOVE_T_DATA_TO_CIAP_OBJECT on class CL_J_1B_CIAP_OBJECT has no exception.
Method PUZZLE_CIAP_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_CIAP_OBJECT | Call by reference | Type reference (TYPE) | TY_J_1B_CIAP_OBJECT | J_1B_CIAP_object data | 20040924 | |||
| 2 | ET_CIAP_OBJECT_NF | Call by reference | Type reference (TYPE) | TY_J_1B_CIAP_OBJ_NF | J_1B_CIAP_object with additional NF data | 20050623 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | not_a_ciap_object | 20050623 |
Method REV_CIAP_OBJ Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_CIAP_OBJECT | Call by reference | Type reference (TYPE) | TY_J_1B_CIAP_OBJECT | J_1B_CIAP_object | 20041215 |
Method REV_CIAP_OBJ on class CL_J_1B_CIAP_OBJECT has no exception.
Method SET_STATUS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_CIAP_OBJECT | Call by reference | Type reference (TYPE) | STR_CIAP_OBJ | CIAP document data | 20050318 | |||
| 2 | CS_CIAP_OBJ_NF | Call by reference | Type reference (TYPE) | STR_CIAP_OBJ_NF | CIAP document data | 20050318 |
Method SET_STATUS on class CL_J_1B_CIAP_OBJECT has no exception.
Method SET_VALUE_SIGN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_CIAP_OBJECT | Call by reference | Type reference (TYPE) | STR_CIAP_OBJ | CIAP document data | 20050318 | |||
| 2 | CS_CIAP_OBJ_NF | Call by reference | Type reference (TYPE) | STR_CIAP_OBJ_NF | CIAP document data | 20050318 |
Method SET_VALUE_SIGN on class CL_J_1B_CIAP_OBJECT has no exception.
Method UNLOCK_CIAP_OBJECT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_CIAP_OBJ | Call by reference | Type reference (TYPE) | STR_CIAP_OBJ | CIAP Object Structure | 20050201 |
Method UNLOCK_CIAP_OBJECT on class CL_J_1B_CIAP_OBJECT has no exception.
Method UPDATE_NF_HEADER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_CIAP_HEADER | Call by reference | Type reference (TYPE) | J_1BNFDOC | Nota Fiscal Header | 20050623 |
Method UPDATE_NF_HEADER on class CL_J_1B_CIAP_OBJECT has no exception.
History
| Last changed by/on | SAP | 20100310 |
| SAP Release Created in | 46C |