SAP TABLES | Controlling | Product Cost Controlling | Product Cost Planning(CO-PC-PCP) SAP CO

KHS1 SAP Internal Structure CKHS + CKHT Structure and data







KHS1 is an SAP Structure so does not store data like a database table does but can be used to process "Internal Structure CKHS + CKHT" Information within sap ABAP programs. This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.

i.e. DATA: wa_KHS1 TYPE KHS1 .

Below is the documentation avaialable and full details of the fields which make up this Structure.

You can view further information about this via relevant transactions such as SE11 or SE80. Also check out the Comments section below to view or add related contributions and example screen shots.



Display/Maintenance via SM30: Yes but with Restrictions

Enhancement category i: Can be enhanced (character-type or numeric)
See here for more information about this and other SAP enhancement categories

==>View Table relationships


SAP KHS1 Structure fields within data Dictionary





Field
Component Type
Data Typelength (Decimals)Check tableDescriptionConversion Routine
.INCLUDEKHSK Key Fields CKHS
MANDTMANDTCLNT3
*
Client
LEDNRLEDNRCHAR2 Ledger for Controlling objectsALPHA
BZOBJCK_OBJCHAR1
*
Reference Object
KALNRCK_KALNRNUMC12
*
Cost Estimate Number for Cost Est. w/o Qty Structure
KALKACK_KALKACHAR2
*
Costing Type
KADKYCK_KADKYDATS8 Costing Date (Key)
TVERSCK_TVERSNUMC2 Costing Version
BWVARCK_BWVARCHAR3
*
Valuation Variant in Costing
KKZMACK_KKZMACHAR1 Costs Entered Manually in Additive or Automatic Cost Est.
.INCLUDEKHSU Internal Structure CKHS without Keys
BUKRSBUKRSCHAR4
*
Company Code
KOKRSKOKRSCHAR4
*
Controlling Area
FCPMGSPREDCHAR4
*
Distribution Key
FROPERCK_FROPERNUMC3 First Valid Period (from Period)
DIPERCK_DIPERNUMC3 Interval Between Planned Periods
TOPERCK_TOPERNUMC3 Last Posting Period Allowed
KKARTKKARTCHAR4
*
Costing Variant (Corresponds to KLVAR)
GJAHRGJAHRNUMC4 Fiscal YearGJAHR
ERFDTERFDTDATS8 Created on
ERFNMERFNMCHAR12 Entered by
AENDTAENDTDATS8 Date of last change
AENNMAENNMCHAR12 Last changed by
ABSDTABSDTDATS8 Close date
ABSNMABSNMCHAR12 User ID of the person who closed the cost estimate
KRSDTKRSDTDATS8 Exchange Rate Date
STATKSTATKCHAR4 Header Status
STRNGSTRNGCHAR4 Internal header control
PSDATPSDATDATS8 Pricing Date
MENGEMENGE_KPFQUAN15(3) Lot Size
MEEHTMEINSUNIT3
*
Base Unit of MeasureCUNIT
HWGESHWGESCURR15(2) Total Value of Cost Estimate in Local Currency
HWGFXHWFIXCURR15(2) Fixed Portion of Costing Value in Local Currency
FWGESFWGESCURR15(2) Total Value for Cost Estimate in Foreign Currency
HWAERHWAERCUKY5
*
Local Currency
FWAERFWAERCUKY5
*
Foreign Currency in Header
UKURSUKURS_DDEC9(5) Exchange RateEXCRT
KURSTKURSTCHAR4
*
Exchange Rate Type
FFACTFFACTDEC9 Factor for the "From" Currency Units



TFACTTFACT_DDEC9 Factor for the "To" Currency Units
GWRT1GWRT1CURR15(2) Total Value of Price Component 1
GWRT2GWRT1CURR15(2) Total Value of Price Component 1
GWRT3GWRT1CURR15(2) Total Value of Price Component 1
GWRT4GWRT1CURR15(2) Total Value of Price Component 1
GWRT5GWRT1CURR15(2) Total Value of Price Component 1
STFLGSTFLGCHAR1 Sales Order Cost Estimate Is Marked
ZTFLGDZTFLGCHAR1 Flag for time-based unit costing
FVFLGFVFLGCHAR1 Fixed/Variable Indicator
DLFLGDLFLGCHAR1 Deletion Flag for Unit Costing
FRFLGFRFLGCHAR1 Release Flag
PRVFNPRVFNCHAR1 Pricing procedure
PKANZPKANZNUMC1 Number of Price Components
PSANZCK_PSANZNUMC5
*
Number of Costing Items
KNNZ1KK_KZEXLCHAR1 Cost Estimate Created with Excel
KNNZ2KK_KZEZNCHAR1 Indicator - Postprocessing of product cost estimate
KNNZ3KZCHNCHAR1 Unit Costing Indicator
KNNZ4KZCHNCHAR1 Unit Costing Indicator
KNNZ5KZCHNCHAR1 Unit Costing Indicator
ME_SUMM1CK_MESUMMUNIT3
*
Unit of Measure for Quantity TotalCUNIT
SUMM1_KPFSUMME_MNGQUAN15(3) Quantities total for item category S
SUMM2_KPFSUMME_INVCURR15(2) Capital Spending Total for Item Category S
SUMM3_KPFSUMME_POSCURR15(2) Total of two or more items
EXTNREXTNRCHAR18
*
Base Planning Object (External Number)ALPHA
KOSTLKOSTLCHAR10
*
Cost CenterALPHA
AUFNRAUFNRCHAR12
*
Order NumberALPHA
KSTARKSTARCHAR10
*
Cost ElementALPHA
HRKFTHRKFTCHAR4
*
Origin Group as Subdivision of Cost Element
TWAERKKTWAERCUKY5
*
Item Foreign Currency
TKURSTKURSDEC9(5) Exchange Rate for Item Foreign CurrencyEXCRT
TKURSTTKURSTCHAR4
*
Exchange Rate Type for Item Foreign Currency
TWGESTWGESCURR15(2) Total Value in Item Foreign Currency
KALSMAUFKALSMCHAR6
*
Costing Sheet
ZSCHLAUFZSCHLCHAR6 Overhead key
TEMPLATEABC_TEMPLCHAR10
*
Template
OBJNRJ_OBJNRCHAR22
*
Object number
KKBWVARKK_BWVARCHAR3
*
Valuation Variant in Costing
KKSAPRLKK_SAPRLCHAR4 Release the document as it was last saved
KZROHCK_KZROHCHAR1 Material Component




FILEPATHKK_PATHCHAR66 Description
FILENAMEKKXL_NAMECHAR12 File or Macro Name for Communication with MS Excel
CKCMCK_COSTMODELCHAR10 CKCMCosting Model
CKCMVCKI_MODELINSTANCENUMC15 CKCMVCosting Model: Model Instance
MAXCIDCK_MAX_COMPONENT_IDNUMC7 PCP: Highest Component ID Already Assigned
INTHIERCK_INT_HIERARCHYCHAR1 PCP: Cost Estimate Contains Internal Hierarchy
LOG_HANDLEBALLOGHNDLCHAR22 Application Log: Log Handle
.INCLUDEKHTU Internal Structure CKHT
SPRASSPRASLANG1
*
Language KeyISOLA
KTEXTKTEXTCHAR20 General Name
LTEXTKLTXTCHAR40 Description



Key field
Non-key field

KHS1 relationships with other tables


KBS1-CKBS + CKBT
     KHS1-Internal Structure CKHS + CKHT
          KIS1-Internal Structure CKIS + CKIT