COMPHDR SAP table for – OCM: Comparison results, indiv. records for order headers

Here we would like to draw your attention to COMPHDR 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). COMPHDR is a SAP standard transparent table used for storing OCM: Comparison results, indiv. records for order headers related data in SAP. It comes under the package COCM.

SAP COMPHDR table

Table COMPHDR technical data

TableCOMPHDR
Data storingOCM: Comparison results, indiv. records for order headers
ModulePP
ComponentPP-SFC
SAP PackageCOCM
Delivery ClassA – Application table (master and transaction data)
Table CategoryTRANSPARENT

SAP COMPHDR 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 COMPHDR table.

  • MANDT : Client
    Its a key field. Its data type is C (Character String) with field length 3
  • RSNUM1
    Its data type is N (Character String with Digits Only) with field length 10
  • ARSNR1
    Its data type is N (Character String with Digits Only) with field length 10
  • ARSPS1
    Its data type is N (Character String with Digits Only) with field length 4
  • AUFNR2
    Its data type is C (Character String) with field length 12
  • VSNMR2
    Its data type is C (Character String) with field length 12
  • MAUFNR2
    Its data type is C (Character String) with field length 12
  • STUFE2
    Its data type is P (Packed number (number with fixed number of decimal places)) with field length 2
  • WEGXX2
    Its data type is P (Packed number (number with fixed number of decimal places)) with field length 3
  • AUFPL2
    Its data type is N (Character String with Digits Only) with field length 10
  • RSNUM2
    Its data type is N (Character String with Digits Only) with field length 10
  • COMPNUM
    Its a key field. Its data type is N (Character String with Digits Only) with field length 10
  • ARSNR2
    Its data type is N (Character String with Digits Only) with field length 10
  • ARSPS2
    Its data type is N (Character String with Digits Only) with field length 4
  • RESULT
    Its data type is C (Character String) with field length 1
  • LOWDIFF
    Its data type is C (Character String) with field length 1
  • CONFTYP
    Its data type is N (Character String with Digits Only) with field length 1
  • STATUS : AC: Context Status
    Its data type is C (Character String) with field length 1
  • KTEXT
    Its data type is C (Character String) with field length 40
  • MOVED
    Its data type is C (Character String) with field length 1
  • MAXCONFTYP
    Its data type is N (Character String with Digits Only) with field length 1
  • COMPCNT
    Its a key field. Its data type is N (Character String with Digits Only) with field length 6
  • AUFNR1
    Its data type is C (Character String) with field length 12
  • VSNMR1
    Its data type is C (Character String) with field length 12
  • MAUFNR1
    Its data type is C (Character String) with field length 12
  • STUFE1
    Its data type is P (Packed number (number with fixed number of decimal places)) with field length 2
  • WEGXX1
    Its data type is P (Packed number (number with fixed number of decimal places)) with field length 3
  • AUFPL1
    Its data type is N (Character String with Digits Only) with field length 10