COMPH SAP table for – OCM: Comparison result (header entry)

Here we would like to draw your attention to COMPH table in SAP. As we know it is being mainly used with the SAP PP-SFC (Production Orders – PP) component which is coming under PP module (Production Planning). COMPH is a SAP standard transparent table used for storing OCM: Comparison result (header entry) related data in SAP. It comes under the package COCM.

SAP COMPH table

Table COMPH technical data

TableCOMPH
Data storingOCM: Comparison result (header entry)
ModulePP
ComponentPP-SFC
SAP PackageCOCM
Delivery ClassA – Application table (master and transaction data)
Table CategoryTRANSPARENT

SAP COMPH Table Fields

Here is the details of each fields in this table.You can find the discription, data type and assigned lenth of each of the fields in COMPH table.

  • MANDT : Client
    Its a key field. Its data type is C (Character String) with field length 3
  • MAXCONFTYP
    Its data type is N (Character String with Digits Only) with field length 1
  • OCMPF
    Its data type is C (Character String) with field length 6
  • VERNR
    Its data type is N (Character String with Digits Only) with field length 4
  • FUNCT
    Its data type is C (Character String) with field length 3
  • TSCOMPL
    Its data type is P (Packed number (number with fixed number of decimal places)) with field length 8
  • AENNR : Change Number
    Its data type is C (Character String) with field length 12
  • COMPNUM
    Its a key field. Its data type is N (Character String with Digits Only) with field length 10
  • OBJKEY1
    Its data type is C (Character String) with field length 22
  • OBJKEY2
    Its data type is C (Character String) with field length 22
  • COMPTYP
    Its data type is C (Character String) with field length 1
  • CDATE
    Its data type is D (Date (Date: YYYYMMDD)) with field length 8
  • CTIME
    Its data type is T (Time (Time: HHMMSS)) with field length 6
  • CUSER
    Its data type is C (Character String) with field length 12
  • STATUS : AC: Context Status
    Its data type is C (Character String) with field length 1