KLREP SAP (Risk Line Items) Table details
Dictionary Type: Table
Description: Risk Line Items
Description: Risk Line Items
Table field list including key, data, relationships and ABAP select examples
KLREP is a standard SAP Table which is used to store Risk Line Items data and is available within R/3 SAP systems depending on the version and release level.
The KLREP table consists of various fields, each holding specific information or linking keys about Risk Line Items data available in SAP. These include OBJNR (Object number for financial transactions), BUKRS (Company Code), PARTNR (Business Partner Number), SLPG (Limit Product Group).. See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .
Delivery Class: A - Application table (master and transaction data)Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)
SAP KLREP table fields - Full list of fields found in SAP data dictionary
Field | Description | Data Element | Data Type | length (Dec) | Check table | Conversion Routine | Domain Name | MemoryID | SHLP |
MANDT | Client | MANDT | CLNT | 3 | T000 | MANDT | |||
OBJNR | Object number for financial transactions | JBOBJNR | CHAR | 22 | ONR00 | J_OBJNR | |||
BUKRS | Company Code | BUKRS | CHAR | 4 | T001 | BUKRS | BUK | C_T001 | |
PARTNR | Business Partner Number | BP_PARTNR_NEW | CHAR | 10 | BUT000 | ALPHA | BU_PARTNER | BPA | BUPA |
SLPG | Limit Product Group | TB_SLPG | CHAR | 3 | ATLPG | T_SLPG | TB_SLPG | ||
RPORTB | Portfolio | RPORTB | CHAR | 10 | TWPOB | RPORTB | T50 | H_RPORTB_CORE | |
RDEALER | Trader | RDEALER | CHAR | 12 | TZDEA | RDEALER | |||
WAERS | Currency as Limit Characteristic | TB_WCHAR | CUKY | 5 | TCURC | WAERS | FWS | ||
CONTROL01 | Monitoring Unit | TB_CONTROL | CHAR | 10 | CHAR10 | TB_CONTROL | |||
INTORG | Internal Organizational Unit | TB_INTORGUNIT | CHAR | 10 | KLINTORG | KL_INTORG | TB_INTORG | ||
RCOUNTRY | Relevant Country for Country Risk | TB_RISKCOUNTRY | CHAR | 3 | T005 | LAND1 | TB_RCOUNTRY | H_T005 | |
COUNTRY | Country Key | LAND1_GP | CHAR | 3 | T005 | LAND1 | C_LAND1 | ||
SECTOR | Industry of Business Partner | TB_INDSECT | CHAR | 10 | TB038A | BU_INDSECTOR | |||
RATING | Rating | BP_RATING | CHAR | 3 | TP06 | BP_RATING | |||
CRATING | Country Rating | TB_COUNTRYRATING | CHAR | 5 | Assigned to domain | KL_CRATING | TB_CRATING | ||
RRFIND | Recovery Rate | KL_RRFIND | CHAR | 5 | Assigned to domain | KLCHAR5 | |||
CEQCLASS | CEQ Class | KL_CEQCLASS | CHAR | 5 | Assigned to domain | KL_CEQCLASS | |||
LEQCLASS | Loss Equivalent Class | KL_LEQCLASS | CHAR | 5 | Assigned to domain | KL_LEQCLASS | |||
SKE | Selection of Counterparty - Issuer Risk | KL_SKE | CHAR | 2 | KL_SKE | ||||
SPS | Primary - Secondary Risk | KL_SPS | CHAR | 2 | KL_SPS | ||||
LRB | Country Risk Area | KL_LRB | NUMC | 2 | Assigned to domain | KL_LRB | KL_F4_LRB | ||
SRE | Transaction is Risk-Reducing | KL_RISK_EFFECT | CHAR | 1 | KL_RISK_EFFECT | ||||
SARAKT | Indicator: Counterparty/Issuer Risk Active | KL_ARAKT | CHAR | 1 | JBSJANEIN | ||||
SLRAKT | Indicator: Country Risk Active | KL_LRAKT | CHAR | 1 | JBSJANEIN | ||||
ARR | Default Risk Rule | KL_DEFRIRE | CHAR | 10 | KLARRC | KL_DEFRIRE | |||
DFIKT | Base Date for Fiction | KL_DFIKT | DATS | 8 | SYDATS | ||||
SKALID | Factory Calendar | KL_SKALID | CHAR | 2 | TFACD | WFCID | |||
DMWAE | Base Date for Calculating Market Value Change Period | KL_DMWAE | DATS | 8 | SYDATS | ||||
DRBD | Base Date for Calculating the Risk Commitment Period | KL_DRBD | DATS | 8 | SYDATS | ||||
DBLFZ | Term Start (Original Term) | KL_DBLFZ | DATS | 8 | SYDATS | ||||
DELFZ | Term End (Original Term) | KL_DELFZ | DATS | 8 | SYDATS | ||||
DBMWAE | Base Date for Calculating Market Value Change Period | KL_DMWAE | DATS | 8 | SYDATS | ||||
DFIKTVGL | Base Date for Fiction | KL_DFIKT | DATS | 8 | SYDATS |
Key field | Non-key field |
How do I retrieve data from SAP table KLREP using ABAP code
The following ABAP code Example will allow you to do a basic selection on KLREP to SELECT all data from the tableDATA: WA_KLREP TYPE KLREP.
SELECT SINGLE *
FROM KLREP
INTO CORRESPONDING FIELDS OF WA_KLREP
WHERE...
How to access SAP table KLREP
Within an ECC or HANA version of SAP you can also view further information about KLREP and the data within it using relevant transactions such asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects