GRACOSCMDLOG SAP table for – Operating System Command Log table

Here we would like to draw your attention to GRACOSCMDLOG table in SAP. As we know it is being mainly used with the SAP GRC-AC (Access Control in GRC) component which is coming under GRC module (Governance, Risk and Compliance). GRACOSCMDLOG is a SAP standard transp table used for storing Operating System Command Log table related data in SAP. It comes under the package GRAC_SUPPERUSER_ACCESS.

SAP GRACOSCMDLOG table

Table GRACOSCMDLOG technical data

TableGRACOSCMDLOG
Data storingOperating System Command Log table
ModuleGRC
Sub ModuleGRC-AC
SAP PackageGRAC_SUPPERUSER_ACCESS
Delivery ClassA – Application table (master and transaction data)
ComponentGRCFND_A
Table CategoryTRANSP

SAP GRACOSCMDLOG Table Fields

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

  • MANDT : Client
    Its a key field. Its data type is CLNT (Character with length 3) with field length 3
  • FFLOG_ID : UUID of the GRC object (char32)
    Its a key field. Its data type is CHAR (Character String) with field length 32
  • OSCOMMAND_ID : UUID of the GRC object (char32)
    Its a key field. Its data type is CHAR (Character String) with field length 32
  • .INCLUDE : Structure to store the Log user and system
    Its a key field.
  • USERNAME : User ID
    Its a key field. Its data type is CHAR (Character String) with field length 12
  • CONNECTOR : Connector Id
    Its a key field. Its data type is CHAR (Character String) with field length 32
  • LOG_TIME : Time Stamp
    Its a key field. Its data type is DEC (Packed number (number with fixed number of decimal places)) with field length 15
  • COUNTER : Counter
    Its a key field. Its data type is INT1 (Two-byte integer – Dictionry type INT2) with field length 3
  • COMMAND : Logical command name
    Its a key field. Its data type is CHAR (Character String) with field length 18
  • OPSYSTEM : Operating System of Application Server
    Its a key field. Its data type is CHAR (Character String) with field length 10
  • ADDPAR : Additional parameters allowed in logical command
    Its data type is CHAR (Character String) with field length 1
  • SAPCOMMAND : Type of a logical command ( ‘X’ means provided by SAP)
    Its data type is CHAR (Character String) with field length 1
  • OPCOMMAND : Name of external program (possibly with access path)
    Its data type is CHAR (Character String) with field length 128
  • PARAMETERS : Parameters of external program (string)
    Its data type is CHAR (Character String) with field length 255