PRECP2 SAP (ECP: Subobjects, KLVAR/KALNR) Table details
Dictionary Type: Table
Description: ECP: Subobjects, KLVAR/KALNR
Description: ECP: Subobjects, KLVAR/KALNR
Table field list including key, data, relationships and ABAP select examples
PRECP2 is a standard SAP Table which is used to store ECP: Subobjects, KLVAR/KALNR data and is available within R/3 SAP systems depending on the version and release level.
The PRECP2 table consists of various fields, each holding specific information or linking keys about ECP: Subobjects, KLVAR/KALNR data available in SAP. These include SUBNR (Object number), VERSN (Version), KLVAR (Costing Variant), KALNR (Cost Estimate Number for Cost Est. w/o Qty Structure).. See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .
Delivery Class: A - Application table (master and transaction data)Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced
SAP PRECP2 table fields - Full list of fields found in SAP data dictionary
Field | Description | Data Element | Data Type | length (Dec) | Check table | Conversion Routine | Domain Name | MemoryID | SHLP |
MANDT | Client | MANDT | CLNT | 3 | Assigned to domain | MANDT | |||
SUBNR | Object number | J_OBJNR | CHAR | 22 | Assigned to domain | J_OBJNR | ONR | ||
VERSN | Version | VERSN | CHAR | 3 | Assigned to domain | ALPHA | COVERSI | KVS | |
KLVAR | Costing Variant | CK_KLVAR | CHAR | 4 | Assigned to domain | KLVAR | KRT | ||
KALNR | Cost Estimate Number for Cost Est. w/o Qty Structure | CK_KALNR | NUMC | 12 | Assigned to domain | CK_KALNR | KNR | ||
TOPNR | Object number | J_OBJNR | CHAR | 22 | Assigned to domain | J_OBJNR | ONR |
Key field | Non-key field |
How do I retrieve data from SAP table PRECP2 using ABAP code
The following ABAP code Example will allow you to do a basic selection on PRECP2 to SELECT all data from the tableDATA: WA_PRECP2 TYPE PRECP2.
SELECT SINGLE *
FROM PRECP2
INTO CORRESPONDING FIELDS OF WA_PRECP2
WHERE...
How to access SAP table PRECP2
Within an ECC or HANA version of SAP you can also view further information about PRECP2 and the data within it using relevant transactions such asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects