SAP ABAP Class CL_CIAP_DA (Data Acess class for CIAP)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   FI-LOC (Application Component) Localization
     INT_TMF_CIAP (Package) TMF Integration Features: CIAP
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  TD_CIAP_DA Test Double for Data Access in CIAP 20131118
Properties
Class CL_CIAP_DA  
Short Description Data Acess class for CIAP    
Super Class    
Instantiability of a Class 1  Protected 
Final    
General Data
Message Class    
Program status     
Category 0   
Package INT_TMF_CIAP   TMF Integration Features: CIAP 
Created 20130913   SAP 
Last change 20140121   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_CIAP_DA has no interface implemented.
Friends
Class CL_CIAP_DA has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GO_INSTANCE Static Attribute Protected Object reference (TYPE REF TO) CL_CIAP_DA Instance for singleton pattern 20131118
Methods
# Method Level Visibility Method type Description Created on
1 DELETE_RECORD Instance method Public Method Removes the record and all its references 20131118
2 GET_INSTANCE Static method Public Method Returns class instance (singleton) 20131118
3 GET_RECORDS_ID_BY_FILTER Instance method Public Method Get records ID by filter 20131118
4 HAS_RECORD_BY_NF Instance method Public Method Check if the NF is in database 20131118
5 INSERT_CREDIT_FACTOR Instance method Public Method Insert Credit Factor into DB 20131118
6 INSERT_FI_DOCUMENT Instance method Public Method Posts FI document using FM 20131118
7 INSERT_FREIGHT Instance method Public Method Create the freight record in CIAP_D_NF 20131118
8 INSERT_QUOTA Instance method Public Method Inserts Quota in Database ITMF_CIAP_QUOTA 20131118
9 INSERT_RECORD Instance method Public Method Create the record - database access 20131118
10 INSERT_RETIREMENT Instance method Public Method Create the retirement acess - database acess 20131118
11 IS_PERIOD_DETERMINED Instance method Public Method Check if the determination has occurred for a period 20131118
12 MAP_NF_OBJ_TO_STRUC Instance method Protected Method Map a NF object to to a DB structure 20131118
13 MAP_QUOTA_OBJ_TO_STRUC Instance method Public Method Map Quota object to database structure 20131118
14 MAP_QUOTA_STRUC_TO_OBJ Instance method Private Method Creates quota object from db structure 20131118
15 MAP_RECORD_OBJ_TO_STRUC Instance method Protected Method Map Record object to a structure 20131118
16 MAP_RECORD_STRUC_TO_OBJ Instance method Public Method Map Record structure to object 20131118
17 READ_ASSET_FROM_SETTLEMENT Instance method Public Method Read final asset from rules settlement for Order or WBS 20131118
18 READ_ASSET_INFO_IN_PO Instance method Public Method Read Asset info from Account assignment in Purchase Document 20131118
19 READ_ASSET_MASTER_DATA Instance method Public Method Read Asset info from Master Data 20131118
20 READ_CIAP_CFOP Instance method Public Method Return CIAP CFOP 20131118
21 READ_CIAP_NF_BY_ID Instance method Public Method Read Nota Fiscal CIAP related to Record ID 20131118
22 READ_CIAP_NF_BY_NF Instance method Public Method Read CIAP Record related to Nota Fiscal 20131118
23 READ_COST_CENTER_FROM_ASSET Instance method Public Method Read the cost center from an asset 20131121
24 READ_COUNTRY_BY_COMPANY_CODE Instance method Public Method Read the Company Code country 20131118
25 READ_DOC_TYPE_BY_TRANS_TYPE Instance method Public Method Read the document type using the transaction type 20131118
26 READ_FI_ACCOUNTS Instance method Public Method Read FI accounts customizing 20131118
27 READ_LATEST_CREDIT_FACTOR Instance method Public Method Gets latest entry from Credit Factor table 20131118
28 READ_NFE_KEY Instance method Public Method Read the NF-E access key 20131118
29 READ_NFHEADER Instance method Public Method Read Nota Fiscal Header 20131118
30 READ_NFITEM Instance method Public Method Read Nota Fiscal Item 20131118
31 READ_NFITEMS Instance method Public Method Read all the items of a Nota Fiscal 20131118
32 READ_NFTAXES Instance method Public Method Read all taxes of a Nota Fiscal 20131118
33 READ_NF_DOCNUM_FROM_CTE Instance method Public Method Get DOCNUM from CTe nota fiscal informarion 20131118
34 READ_NF_ITEM_TOTAL_VALUE Instance method Public Method Read total value of an item of the NF (including taxes) 20131118
35 READ_NF_TOTAL_VALUES_FOR_CTE Instance method Public Method Get the total value transported by the CTe 20131118
36 READ_ONE_ASSET_INFO_IN_PO Instance method Public Method Read Asset info for one Asset/WBS 20131118
37 READ_ORDER_MASTER_DATA Instance method Public Method Read Order information 20131118
38 READ_PLANTS_BY_COMPANY_CODE Instance method Public Method Reads Plants that belong to a Company Code 20131118
39 READ_PO_TYPE Instance method Public Method Indicates that the Purchase Order is an STO 20131118
40 READ_PROJECT_WBS_TREE Instance method Private Method Read the Project WBS tree 20131118
41 READ_QUOTAS_BY_RECORD_ID Instance method Public Method Returns credited quotas from a CIAP record 20131118
42 READ_QUOTA_CUSTOMIZING Instance method Public Method Read quota customizing 20131118
43 READ_QUOTA_CUST_BY_BUS_PLACE Instance method Protected Method Read quota customizing by company code/business place 20131118
44 READ_QUOTA_CUST_BY_CNTRY_STATE Instance method Protected Method Read quota customizing by country/state 20131118
45 READ_RECORDS_BY_MATERIAL Instance method Public Method Read CIAP records by its material. 20131118
46 READ_RECORDS_BY_ORDER Instance method Public Method Read CIAP records for components of Assets w/ Order number 20131118
47 READ_RECORDS_BY_WBS Instance method Public Method Read CIAP records for components of Assets 20131118
48 READ_RECORDS_FOR_DETERMINATION Instance method Public Method Read CIAP records by company code, status and period 20131118
49 READ_RECORD_BY_ID Instance method Public Method Read CIAP record from DB by ID 20131118
50 READ_RECORD_IDS_BY_DOCNUM Instance method Public Method Read all records related to a set of NF 20131118
51 READ_RETIRED_RECORD_ID Instance method Public Method Read the retirement record 20131118
52 READ_STATE_BY_PLANTS Instance method Public Method Reads State from a Plant 20131118
53 READ_WBS_MASTER_DATA Instance method Public Method Read WBS info from Master Data 20131118
54 UPDATE_RECORD Instance method Public Method Update Record values 20131118
55 UPDATE_RECORDS_STATUS Instance method Public Method Updates the Status of multiple Records 20131118
Events
Class CL_CIAP_DA has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TTY_ACCOUNTING_TABLE Public See coding 20131118 tty_accounting_table TYPE STANDARD TABLE OF bseg
2 TTY_QUOTAS Public See coding 20131118 tty_quotas TYPE TABLE OF REF TO cl_ciap_quota
3 TT_ASSETS Public See coding 20131118 tt_assets TYPE TABLE OF anln1
4 TT_ASSET_IN_PO Public See coding 20131118 tt_asset_in_po TYPE TABLE OF ekkn
5 TT_PLANTS Public See coding 20131118 tt_plants TYPE TABLE OF werks_d
6 TT_RECORD Public See coding 20131118 tt_record TYPE STANDARD TABLE OF REF TO cl_ciap_record
7 TT_RECORD_ID Public See coding 20131118 tt_record_id TYPE SORTED TABLE OF ty_record_id WITH UNIQUE KEY id
8 TT_WBS_HIERARCHY Public See coding Table type for WBS hierarchy 20131118 tt_wbs_hierarchy TYPE TABLE OF prhi
9 TY_ID_NFNUM Public See coding 20131118 BEGIN OF ty_id_nfnum, ciap_record_id TYPE guid, nf_itmnum TYPE j_1bnflin-itmnum, END OF ty_id_nfnum
10 TY_RECORD_ID Public See coding 20131118 BEGIN OF ty_record_id, id TYPE guid, END OF ty_record_id
Method Signatures

Method DELETE_RECORD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_RECORD_ID Call by reference Type reference (TYPE) CIAP_RECORD_ID CIAP Record Unique ID 20131118

Method DELETE_RECORD on class CL_CIAP_DA has no exception.

Method GET_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RO_INSTANCE Value transfer Object reference (TYPE REF TO) CL_CIAP_DA 20131118

Method GET_INSTANCE on class CL_CIAP_DA has no exception.

Method GET_RECORDS_ID_BY_FILTER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_DATE_FILTER Call by reference Type reference (TYPE) RSDSSELOPT_T Table Type of RSDSSELOPT 20131118
2 Importing IT_MATERIAL_NUMBER Call by reference Type reference (TYPE) RSDSSELOPT_T Table Type of RSDSSELOPT 20131118
3 Importing IT_NF_DOCNUM_FILTER Call by reference Type reference (TYPE) RSDSSELOPT_T Table Type of RSDSSELOPT 20131118
4 Importing IT_STATUS_FILTER Call by reference Type reference (TYPE) RSDSSELOPT_T Table Type of RSDSSELOPT 20131118
5 Returning RT_CIAP_RECORD_ID Value transfer Type reference (TYPE) TT_RECORD_ID 20131118

Method GET_RECORDS_ID_BY_FILTER on class CL_CIAP_DA has no exception.

Method HAS_RECORD_BY_NF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_DOCNUM Call by reference Type reference (TYPE) J_1BDOCNUM Document Number 20131118
2 Returning RV_RESULT Value transfer Type reference (TYPE) ABAP_BOOL 20131118

Method HAS_RECORD_BY_NF on class CL_CIAP_DA has no exception.

Method INSERT_CREDIT_FACTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_COMPANY_CODE Call by reference Type reference (TYPE) BUKRS Company Code 20131118
2 Importing IV_CREDIT_FACTOR Call by reference Type reference (TYPE) CIAP_CREDIT_FACTOR CIAP Credit Factor 20131118
3 Importing IV_PERIOD Call by reference Type reference (TYPE) CIAP_PERIOD Period (month/year) in which the record was created 20131118

Method INSERT_CREDIT_FACTOR on class CL_CIAP_DA has no exception.

Method INSERT_FI_DOCUMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_ACCHD Call by reference Type reference (TYPE) ACCHD Interface to Accounting: Header Information 20131118
2 Returning RV_FI_DOCNUM Value transfer Type reference (TYPE) BELNR_D Accounting Document Number 20131118
# Exception Resumable Description Created on
1 CX_CIAP_FI_ACCBELNR_GET Exception class for fails calling FI_ACCBELNR_GET. 20131118

Method INSERT_FREIGHT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_CIAP_NF_FREIGHT Call by reference Object reference (TYPE REF TO) CL_CIAP_NF_FREIGHT CIAP class for freight notas fiscais. 20131118
2 Importing IV_CIAP_RECORD_ID Call by reference Type reference (TYPE) GUID Globally Unique Identifier 20131118

Method INSERT_FREIGHT on class CL_CIAP_DA has no exception.

Method INSERT_QUOTA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_QUOTA Call by reference Object reference (TYPE REF TO) CL_CIAP_QUOTA 20131118

Method INSERT_QUOTA on class CL_CIAP_DA has no exception.

Method INSERT_RECORD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_CIAP_RECORD Call by reference Object reference (TYPE REF TO) CL_CIAP_RECORD Class for a CIAP record 20131118
2 Returning RV_NEW_RECORD_ID Value transfer Type reference (TYPE) CIAP_RECORD_ID CIAP Record Unique ID 20131118

Method INSERT_RECORD on class CL_CIAP_DA has no exception.

Method INSERT_RETIREMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_CIAP_NF_RET Call by reference Object reference (TYPE REF TO) CL_CIAP_NF_RET Returning nota fiscal document class. 20131118
2 Importing IV_CIAP_RECORD_ID Call by reference Type reference (TYPE) GUID Globally Unique Identifier 20131118

Method INSERT_RETIREMENT on class CL_CIAP_DA has no exception.

Method IS_PERIOD_DETERMINED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_POSTING_DATE Call by reference Type reference (TYPE) J_1BPSTDAT Posting date 20131118
2 Returning RV_PERIOD_DETERMINED Value transfer Type reference (TYPE) ABAP_BOOL Period Determined flag 20131118

Method IS_PERIOD_DETERMINED on class CL_CIAP_DA has no exception.

Method MAP_NF_OBJ_TO_STRUC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_NF Call by reference Object reference (TYPE REF TO) CL_CIAP_NF The NF that will be mapped to a DB structure. 20131118
2 Returning RS_NF Value transfer Type reference (TYPE) CIAP_D_NF The returned structure. 20131118

Method MAP_NF_OBJ_TO_STRUC on class CL_CIAP_DA has no exception.

Method MAP_QUOTA_OBJ_TO_STRUC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_QUOTA Call by reference Object reference (TYPE REF TO) CL_CIAP_QUOTA 20131118
2 Returning RS_QUOTA Value transfer Type reference (TYPE) CIAP_D_QUOTA 20131118

Method MAP_QUOTA_OBJ_TO_STRUC on class CL_CIAP_DA has no exception.

Method MAP_QUOTA_STRUC_TO_OBJ Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_QUOTA Call by reference Type reference (TYPE) CIAP_D_QUOTA 20131118
2 Returning RO_QUOTA Value transfer Object reference (TYPE REF TO) CL_CIAP_QUOTA 20131118

Method MAP_QUOTA_STRUC_TO_OBJ on class CL_CIAP_DA has no exception.

Method MAP_RECORD_OBJ_TO_STRUC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_RECORD Call by reference Object reference (TYPE REF TO) CL_CIAP_RECORD 20131118
2 Returning RS_RECORD Value transfer Type reference (TYPE) CIAP_D_RECORD 20131118

Method MAP_RECORD_OBJ_TO_STRUC on class CL_CIAP_DA has no exception.

Method MAP_RECORD_STRUC_TO_OBJ Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_RECORD Call by reference Type reference (TYPE) CIAP_D_RECORD CIAP Record 20131118
2 Returning RO_RECORD Value transfer Object reference (TYPE REF TO) CL_CIAP_RECORD Class for a CIAP record 20131118

Method MAP_RECORD_STRUC_TO_OBJ on class CL_CIAP_DA has no exception.

Method READ_ASSET_FROM_SETTLEMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_ASSET_ID Call by reference Type reference (TYPE) ANLN1 Main Asset Number 20131118
2 Exporting EV_ASSET_SUBNUMBER Call by reference Type reference (TYPE) ANLN2 Asset Subnumber 20131118
3 Importing IV_ORDER Call by reference Type reference (TYPE) AUFNR Order Number 20131118
4 Importing IV_WBS Call by reference Type reference (TYPE) PS_PSP_PNR Work Breakdown Structure Element (WBS Element) 20131118
# Exception Resumable Description Created on
1 CX_CIAP_SETTLEMENT_NOT_FOUND Asset Settlement Rule not found 20131118

Method READ_ASSET_INFO_IN_PO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ASSET_IN_PO Value transfer Type reference (TYPE) TT_ASSET_IN_PO 20131118
2 Importing IV_PO_ITEM_NUMBER Call by reference Type reference (TYPE) J_1B_PURCH_ORD_ITEM_EXT Purchase Order Item 20131118
3 Importing IV_PO_NUMBER Call by reference Type reference (TYPE) J_1B_PURCH_ORDER_EXT Purchase Order Number 20131118

Method READ_ASSET_INFO_IN_PO on class CL_CIAP_DA has no exception.

Method READ_ASSET_MASTER_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ASSET_ID Call by reference Type reference (TYPE) ANLN1 Main Asset Number 20131118
2 Importing IV_ASSET_SUBNUMBER Call by reference Type reference (TYPE) ANLN2 Asset Subnumber 20131118
3 Importing IV_COMPANY_CODE Call by reference Type reference (TYPE) BUKRS Company Code 20131118
4 Returning RS_ASSET_MASTER_DATA Value transfer Type reference (TYPE) ANLA Asset Master Record Segment 20131118

Method READ_ASSET_MASTER_DATA on class CL_CIAP_DA has no exception.

Method READ_CIAP_CFOP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CFOP Call by reference Type reference (TYPE) J_1BCFOP CFOP Code and Extension 20131118
2 Returning RS_CIAP_CFOP Value transfer Type reference (TYPE) CIAP_C_CFOP Valid combination of CFOP/Digit/Item Category for CIAP 20131118

Method READ_CIAP_CFOP on class CL_CIAP_DA has no exception.

Method READ_CIAP_NF_BY_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_RECORD_ID Call by reference Type reference (TYPE) GUID 20131118
2 Importing IV_RECORD_RELATIONSHIP Call by reference Type reference (TYPE) CIAP_NF_REC_REL CIAP Nota Fiscal relationship 20131118
3 Returning RS_CIAP_NF Value transfer Type reference (TYPE) CIAP_D_NF 20131118

Method READ_CIAP_NF_BY_ID on class CL_CIAP_DA has no exception.

Method READ_CIAP_NF_BY_NF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_NF_DOCNUM Call by reference Type reference (TYPE) J_1BDOCNUM Document Number 20131118
2 Importing IV_NF_ITMNUM Call by reference Type reference (TYPE) J_1BITMNUM Document Item Number 20131118
3 Importing IV_RECORD_RELATIONSHIP Call by reference Type reference (TYPE) CIAP_NF_REC_REL CIAP Nota Fiscal relationship 20131118
4 Returning RS_CIAP_NF Value transfer Type reference (TYPE) CIAP_D_NF CIAP Nota Fiscal/Record relationship 20131118

Method READ_CIAP_NF_BY_NF on class CL_CIAP_DA has no exception.

Method READ_COST_CENTER_FROM_ASSET Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ASSET_ID Call by reference Type reference (TYPE) ANLN1 Main Asset Number 20131121
2 Importing IV_ASSET_SUBNUMBER Call by reference Type reference (TYPE) ANLN2 Asset Subnumber 20131121
3 Importing IV_COMPANY_CODE Call by reference Type reference (TYPE) BUKRS Company Code 20131121
4 Returning RV_COST_CENTER Value transfer Type reference (TYPE) KOSTL Cost Center 20131121

Method READ_COST_CENTER_FROM_ASSET on class CL_CIAP_DA has no exception.

Method READ_COUNTRY_BY_COMPANY_CODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_COMPANY_CODE Call by reference Type reference (TYPE) BUKRS Company Code 20131118
2 Returning RV_COUNTRY Value transfer Type reference (TYPE) LAND1_GP Country Key 20131118

Method READ_COUNTRY_BY_COMPANY_CODE on class CL_CIAP_DA has no exception.

Method READ_DOC_TYPE_BY_TRANS_TYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_TRANSACTION_TYPE Call by reference Type reference (TYPE) BWASL Asset Transaction Type 20131118
2 Returning RV_DOCUMENT_TYPE Value transfer Type reference (TYPE) BLART Document Type 20131118
# Exception Resumable Description Created on
1 CX_CIAP_FI_DOCUMENT_TYPE yhrtfhrtdgdg 20131118

Method READ_FI_ACCOUNTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_COMPANY_CODE Call by reference Type reference (TYPE) BUKRS Company Code 20131118
2 Returning RS_CIAP_ACCOUNT Value transfer Type reference (TYPE) CIAP_C_ACCOUNT Ciap Account line 20131118

Method READ_FI_ACCOUNTS on class CL_CIAP_DA has no exception.

Method READ_LATEST_CREDIT_FACTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_COMPANY_CODE Call by reference Type reference (TYPE) BUKRS Company Code 20131118
2 Returning RS_CREDIT_FACTOR Value transfer Type reference (TYPE) CIAP_D_CRED_FACT CIAP Credit Factor Table 20131118

Method READ_LATEST_CREDIT_FACTOR on class CL_CIAP_DA has no exception.

Method READ_NFE_KEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_DOCNUM Call by reference Type reference (TYPE) J_1BDOCNUM Document Number 20131118
2 Returning RV_NFE_KEY Value transfer Type reference (TYPE) J_1B_NFE_ACCESS_KEY_DTEL44 44-Digit Access Key 20131118

Method READ_NFE_KEY on class CL_CIAP_DA has no exception.

Method READ_NFHEADER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_NF_DOCNUM Call by reference Type reference (TYPE) J_1BDOCNUM 20131118
2 Returning RS_NFHEADER Value transfer Type reference (TYPE) J_1BNFDOC 20131118

Method READ_NFHEADER on class CL_CIAP_DA has no exception.

Method READ_NFITEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_NF_DOCNUM Call by reference Type reference (TYPE) J_1BDOCNUM 20131118
2 Importing IV_NF_ITMNUM Call by reference Type reference (TYPE) J_1BITMNUM 20131118
3 Returning RS_NFITEM Value transfer Type reference (TYPE) J_1BNFLIN 20131118

Method READ_NFITEM on class CL_CIAP_DA has no exception.

Method READ_NFITEMS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_DOCNUM Call by reference Type reference (TYPE) J_1BDOCNUM Document Number 20131118
2 Returning RT_NFITEMS Value transfer Type reference (TYPE) J_1BNFLIN_TAB Table of Nota Fiscal Items (J_1BNFLIN) 20131118

Method READ_NFITEMS on class CL_CIAP_DA has no exception.

Method READ_NFTAXES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_DOCNUM Call by reference Type reference (TYPE) J_1BDOCNUM Document Number 20131118
2 Importing IV_ITMNUM Call by reference Type reference (TYPE) J_1BITMNUM Document Item Number 20131118
3 Returning RT_NFTAXES Value transfer Type reference (TYPE) J_1BNFSTX_TAB Table of Nota Fiscal Tax Lines (J_1BNFSTX) 20131118

Method READ_NFTAXES on class CL_CIAP_DA has no exception.

Method READ_NF_DOCNUM_FROM_CTE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_CTE_DOCREF Call by reference Type reference (TYPE) J_1BCTE_D_DOCREF Reference to the NF-e being transported 20131118
2 Returning RV_DOCNUM Value transfer Type reference (TYPE) J_1BDOCNUM Document Number 20131118

Method READ_NF_DOCNUM_FROM_CTE on class CL_CIAP_DA has no exception.

Method READ_NF_ITEM_TOTAL_VALUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_NFITEM Call by reference Type reference (TYPE) J_1BNFLIN Nota Fiscal line items 20131118
2 Returning RV_ITEM_TOTAL Value transfer Type reference (TYPE) J_1BNFTOT Nota Fiscal line items - Add. segment 20131118

Method READ_NF_ITEM_TOTAL_VALUE on class CL_CIAP_DA has no exception.

Method READ_NF_TOTAL_VALUES_FOR_CTE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_TOTAL Call by reference Type reference (TYPE) J_1BCTE_REF_VAL Document Amount 20131118
2 Importing IT_CTE_DOCREF Call by reference Type reference (TYPE) J_1BCTE_T_DOCREF Reference to the NF-e being transported 20131118

Method READ_NF_TOTAL_VALUES_FOR_CTE on class CL_CIAP_DA has no exception.

Method READ_ONE_ASSET_INFO_IN_PO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ASSET_ID Call by reference Type reference (TYPE) ANLN1 20131118
2 Importing IV_PO_ITEM_NUMBER Call by reference Type reference (TYPE) J_1B_PURCH_ORD_ITEM_EXT Purchase Order Item 20131118
3 Importing IV_PO_NUMBER Call by reference Type reference (TYPE) J_1B_PURCH_ORDER_EXT Purchase Order Number 20131118
4 Importing IV_WBS Call by reference Type reference (TYPE) PS_PSP_PNR 20131118
5 Returning RS_ASSET_INFO_IN_PO Value transfer Type reference (TYPE) EKKN 20131118

Method READ_ONE_ASSET_INFO_IN_PO on class CL_CIAP_DA has no exception.

Method READ_ORDER_MASTER_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ORDER Call by reference Type reference (TYPE) AUFNR Order Number 20131118
2 Returning RS_ORDER_INFO Value transfer Type reference (TYPE) AUFK Order master data 20131118

Method READ_ORDER_MASTER_DATA on class CL_CIAP_DA has no exception.

Method READ_PLANTS_BY_COMPANY_CODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_PLANTS Call by reference Type reference (TYPE) TT_PLANTS 20131118
2 Importing IV_COMPANY_CODE Call by reference Type reference (TYPE) BUKRS Company Code 20131118
# Exception Resumable Description Created on
1 CX_CIAP_NO_PLANT_FOR_COMP_CODE No plant found for Company Code 20131118

Method READ_PO_TYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_PO_ITEM_NUMBER Call by reference Type reference (TYPE) J_1B_PURCH_ORD_ITEM_EXT Purchase Order Item 20131118
2 Importing IV_PO_NUMBER Call by reference Type reference (TYPE) J_1B_PURCH_ORDER_EXT Purchase Order Number 20131118
3 Returning RV_PO_TYPE Value transfer Type reference (TYPE) PSTYP Item Category in Purchasing Document 20131118

Method READ_PO_TYPE on class CL_CIAP_DA has no exception.

Method READ_PROJECT_WBS_TREE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_WBS_TREE Value transfer Type reference (TYPE) TT_WBS_HIERARCHY Work Breakdown Structure, Edges (Hierarchy Pointer) 20131118
2 Importing IV_WBS Call by reference Type reference (TYPE) PS_PSP_PNR Work Breakdown Structure Element (WBS Element) 20131118

Method READ_PROJECT_WBS_TREE on class CL_CIAP_DA has no exception.

Method READ_QUOTAS_BY_RECORD_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_QUOTAS Value transfer Type reference (TYPE) TTY_QUOTAS 20131118
2 Importing IV_RECORD_ID Call by reference Type reference (TYPE) GUID 20131118

Method READ_QUOTAS_BY_RECORD_ID on class CL_CIAP_DA has no exception.

Method READ_QUOTA_CUSTOMIZING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_IMMEDIATE_CREDIT Call by reference Type reference (TYPE) CIAP_IMMEDIATE_CREDIT CIAP Immediate Credit indicator 20131118
2 Exporting EV_QUOTAS_QTY Call by reference Type reference (TYPE) CIAP_QUOTA_NUMBER CIAP quota number 20131118
3 Importing IV_BUSINESS_PLACE Call by reference Type reference (TYPE) J_1BBRANC_ Business Place 20131118
4 Importing IV_COMPANY_CODE Call by reference Type reference (TYPE) BUKRS Company Code 20131118
5 Importing IV_COUNTRY Call by reference Type reference (TYPE) LAND1_GP Country Key 20131118
6 Importing IV_STATE Call by reference Type reference (TYPE) REGIO Region (State, Province, County) 20131118
# Exception Resumable Description Created on
1 CX_CIAP_QUOTA_CUSTOMIZING Number of quotas exception 20131118

Method READ_QUOTA_CUST_BY_BUS_PLACE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_BUSINESS_PLACE Call by reference Type reference (TYPE) J_1BBRANC_ Business Place 20131118
2 Importing IV_COMPANY_CODE Call by reference Type reference (TYPE) BUKRS Company Code 20131118
3 Returning RS_QUOTA_CUSTOMIZING Value transfer Type reference (TYPE) CIAP_C_NO_QUO_BP Table for customizing of quotas quantity by CCode / B Place 20131118

Method READ_QUOTA_CUST_BY_BUS_PLACE on class CL_CIAP_DA has no exception.

Method READ_QUOTA_CUST_BY_CNTRY_STATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_COUNTRY Call by reference Type reference (TYPE) LAND1 Country Key 20131118
2 Importing IV_STATE Call by reference Type reference (TYPE) J_1BTXREG Tax Region 20131118
3 Returning RS_QUOTA_CUSTOMIZING Value transfer Type reference (TYPE) CIAP_C_NO_QUO_ST Table for customizing of quotas quantity by Country/State 20131118

Method READ_QUOTA_CUST_BY_CNTRY_STATE on class CL_CIAP_DA has no exception.

Method READ_RECORDS_BY_MATERIAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RECORDS Call by reference Type reference (TYPE) TT_RECORD_ID 20131118
2 Importing IV_MATNR Call by reference Type reference (TYPE) MATNR Material Number 20131118
3 Importing IV_QUANTITY Call by reference Type reference (TYPE) J_1BNETQTY Quantity of records to be read. 20131118
4 Importing IV_STATUS Call by reference Type reference (TYPE) CIAP_RECORD_STATUS CIAP record status 20131118

Method READ_RECORDS_BY_MATERIAL on class CL_CIAP_DA has no exception.

Method READ_RECORDS_BY_ORDER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RECORDS Call by reference Type reference (TYPE) CL_CIAP_FACTORY=>TT_RECORD_ID 20131118
2 Importing IV_FINAL_ASSET Call by reference Type reference (TYPE) FLAG General Flag 20131118
3 Importing IV_ORDER Call by reference Type reference (TYPE) AUFNR Order Number 20131118
4 Importing IV_STATUS Call by reference Type reference (TYPE) CIAP_RECORD_STATUS CIAP record status 20131118

Method READ_RECORDS_BY_ORDER on class CL_CIAP_DA has no exception.

Method READ_RECORDS_BY_WBS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RECORDS Call by reference Type reference (TYPE) CL_CIAP_FACTORY=>TT_RECORD_ID 20131118
2 Importing IV_FINAL_ASSET Call by reference Type reference (TYPE) FLAG General Flag 20131118
3 Importing IV_STATUS Call by reference Type reference (TYPE) CIAP_RECORD_STATUS CIAP record status 20131118
4 Importing IV_WBS Call by reference Type reference (TYPE) PS_PSP_PNR 20131118

Method READ_RECORDS_BY_WBS on class CL_CIAP_DA has no exception.

Method READ_RECORDS_FOR_DETERMINATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RECORDS Call by reference Type reference (TYPE) TT_RECORD_ID Record ID table 20131118
2 Importing IV_COMPANY_CODE Call by reference Type reference (TYPE) BUKRS Company Code 20131118
3 Importing IV_PERIOD Call by reference Type reference (TYPE) CIAP_PERIOD CIAP Period 20131118
4 Importing IV_PREV_PERIOD Call by reference Type reference (TYPE) CIAP_PERIOD CIAP previous period 20131118
5 Importing IV_STATUS Call by reference Type reference (TYPE) CIAP_RECORD_STATUS CIAP record status 20131118

Method READ_RECORDS_FOR_DETERMINATION on class CL_CIAP_DA has no exception.

Method READ_RECORD_BY_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_RECORD_ID Call by reference Type reference (TYPE) GUID 20131118
2 Returning RS_CIAP_RECORD Value transfer Type reference (TYPE) CIAP_D_RECORD 20131118

Method READ_RECORD_BY_ID on class CL_CIAP_DA has no exception.

Method READ_RECORD_IDS_BY_DOCNUM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_DOCNUM Call by reference Type reference (TYPE) J_1BDOCNUM Document number 20131118
2 Returning RT_CIAP_RECORD_ID Value transfer Type reference (TYPE) TT_RECORD_ID Record ID table 20131118

Method READ_RECORD_IDS_BY_DOCNUM on class CL_CIAP_DA has no exception.

Method READ_RETIRED_RECORD_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_NFDOC Call by reference Type reference (TYPE) J_1BNFDOC Nota Fiscal Header 20131118
2 Importing IS_NFITEM Call by reference Type reference (TYPE) J_1BNFLIN Nota Fiscal line items 20131118
3 Returning RV_RETIRED_REC_ID Value transfer Type reference (TYPE) GUID Globally Unique Identifier 20131118

Method READ_RETIRED_RECORD_ID on class CL_CIAP_DA has no exception.

Method READ_STATE_BY_PLANTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_PLANTS Call by reference Type reference (TYPE) TT_PLANTS Table of plants 20131118
2 Importing IV_BUSINESS_PLACE Call by reference Type reference (TYPE) J_1BBRANC_ Business Place 20131118
3 Returning RV_STATE Value transfer Type reference (TYPE) J_1BTXREG Tax Region 20131118
# Exception Resumable Description Created on
1 CX_CIAP_STATE_NOT_FOUND State not found. 20131118

Method READ_WBS_MASTER_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_WBS Call by reference Type reference (TYPE) PS_PSP_PNR 20131118
2 Returning RS_WBS_MASTER_DATA Value transfer Type reference (TYPE) PRPS 20131118

Method READ_WBS_MASTER_DATA on class CL_CIAP_DA has no exception.

Method UPDATE_RECORD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_RECORD Call by reference Object reference (TYPE REF TO) CL_CIAP_RECORD 20131118

Method UPDATE_RECORD on class CL_CIAP_DA has no exception.

Method UPDATE_RECORDS_STATUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_RECORD_IDS Call by reference Type reference (TYPE) CL_CIAP_FACTORY=>TT_RECORD_ID Table of record ID's 20131118
2 Importing IV_STATUS Call by reference Type reference (TYPE) CIAP_RECORD_STATUS CIAP record status 20131118

Method UPDATE_RECORDS_STATUS on class CL_CIAP_DA has no exception.
History
Last changed by/on SAP  20140121 
SAP Release Created in