COMPF SAP table for – OCM: Names of compared fields

Here we would like to draw your attention to COMPF 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). COMPF is a SAP standard transparent table used for storing OCM: Names of compared fields related data in SAP. It comes under the package COCM.

SAP COMPF table

Table COMPF technical data

TableCOMPF
Data storingOCM: Names of compared fields
ModulePP
ComponentPP-SFC
SAP PackageCOCM
Delivery ClassA – Application table (master and transaction data)
Table CategoryTRANSPARENT

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

  • MANDT : Client
    Its a key field. Its data type is C (Character String) with field length 3
  • COMPNUM
    Its a key field. Its data type is N (Character String with Digits Only) with field length 10
  • COMPCNT
    Its a key field. Its data type is N (Character String with Digits Only) with field length 6
  • OBJTYP
    Its data type is C (Character String) with field length 1
  • FLDNAME
    Its data type is C (Character String) with field length 30
  • FLG_PRIM
    Its data type is C (Character String) with field length 1
  • ORDER_TYPE
    Its data type is N (Character String with Digits Only) with field length 2