SAP TP017 Value Table for Liability Risks Table data and field list

TP017 is a standard SAP Table which is used to store Value Table for Liability Risks data in SAP systems, such as SAP R/3, S/4HANA, depending on the version and release level.

The TP017 table consists of various fields, each holding specific information or linking keys about Value Table for Liability Risks data available in SAP. These include BUKRS (Company Code), PARTNR (Business Partner Number), BP_LIABIL_RISC (Type of Liability Risk), DGUEL_AB (Entry effective from)... 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. .

TP017 table Technical Details:

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 TP017 table fields - Full list of fields found in SAP data dictionary

Looking for S/4HANA specific information? Click here to explore the details, fields and extensibility available for this table in the SAP S/4HANA version of the TP017 table. Also check whether the table still exists or has been transformed into a CDS view as part of the HANA simplifications.
Field Description Data Element Data Type length (Dec) Check table Conversion Routine Domain Name MemoryID SHLP
MANDTClient MANDTCLNT3T000MANDT
BUKRSCompany Code BUKRSCHAR4T001BUKRSBUKC_T001
PARTNRBusiness Partner Number BU_PARTNERCHAR10BUT000ALPHABU_PARTNERBPABUPA
BP_LIABIL_RISCType of Liability Risk BP_LIABIL_RISCCHAR2TP016BP_LIABIL_RISC
DGUEL_ABEntry effective from DGUEL_ABDATS8DATUM
DGUEL_BISConditions valid to DGUEL_BISDATS8DATUM
STATUSActivate Regulatory Reporting STAT_MWNUMC1STAT_MW
HAFTWAEHRPosition Currency (Currency of Position Amount) SBWHRCUKY5TCURCWAERS
BHAFTUNGValue of assigned rights from collateral BHAFTUNGCURR13(2) BWHR

Key field Non-key field



How do I retrieve data from SAP table TP017 using ABAP code

The following ABAP code Example will allow you to do a basic selection on TP017 to SELECT all data from the table
DATA: WA_TP017 TYPE TP017.

SELECT SINGLE *
FROM TP017
INTO CORRESPONDING FIELDS OF WA_TP017
WHERE...

How to access SAP table TP017

Within an ECC or HANA version of SAP you can also view further information about TP017 and the data within it using relevant transactions such as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).