GREP SAP table for – Report Writer: File of Stored Reports

Here we would like to draw your attention to GREP table in SAP. As we know it is being mainly used with the SAP FI-SL (Special Purpose Ledger in FI) component which is coming under FI module (Financial Accounting). GREP is a SAP standard transp table used for storing Report Writer: File of Stored Reports related data in SAP. It comes under the package GRWT.

SAP GREP table

Table GREP technical data

TableGREP
Data storingReport Writer: File of Stored Reports
ModuleFI
Sub ModuleFI-SL-IS
SAP PackageGRWT
Delivery ClassA – Application table (master and transaction data)
ComponentSAP_FIN
Table CategoryTRANSP

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

  • MANDT : Client
    Its a key field. Its data type is CLNT (Character with length 3) with field length 3
  • RELID : Region in IMPORT/EXPORT Data Table
    Its a key field. Its data type is CHAR (Character String) with field length 2
  • .INCLUDE : Report Writer: Key Fields for Table GREP
    Its a key field.
  • .INCLUDE : Report Writer: Extract Key
    Its a key field.
  • HASH : Hash encryption of selection criteria
    Its a key field. Its data type is NUMC (Character String with Digits Only) with field length 15
  • COUNTER : Sequence number with same hash code
    Its a key field. Its data type is NUMC (Character String with Digits Only) with field length 8
  • RGJNR : Report Group
    Its a key field. Its data type is CHAR (Character String) with field length 4
  • CRNAM : Created By
    Its a key field. Its data type is CHAR (Character String) with field length 12
  • CRDAT : Creation date
    Its a key field. Its data type is DATS (Date (Date: YYYYMMDD)) with field length 8
  • CRTIME : Creation Time
    Its a key field. Its data type is TIMS (Time (Time: HHMMSS)) with field length 6
  • TYPE : Report Writer: Type of entry in table GREP
    Its a key field. Its data type is CHAR (Character String) with field length 1
  • BLOCK : Report Writer: Block number in stored data
    Its a key field. Its data type is CHAR (Character String) with field length 3
  • SRTF2 : Next record counter in EXPORT/IMPORT data tables
    Its a key field. Its data type is INT4 (Four-byte integer – Dictionry type INT4) with field length 10
  • CLUSTR : Length field for user data in EXPORT/IMPORT tables
  • CLUSTD : Controlling: Cluster data
    Its data type is LRAW (Long byte string, requires preceding INT2 field) with field length 3900