SAP DPR_TS_API_RELATIONSHIP API: Structure of Relationship Between Tasks Table data and field list

DPR_TS_API_RELATIONSHIP is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "API: Structure of Relationship Between Tasks" Information within sap ABAP programs.

This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.

i.e. DATA: wa_DPR_TS_API_RELATIONSHIP TYPE DPR_TS_API_RELATIONSHIP.

The DPR_TS_API_RELATIONSHIP table consists of various fields, each holding specific information or linking keys about API: Structure of Relationship Between Tasks data available in SAP. These include TASK_GUID (Unique Object Key), TARGET_TASK_GUID (Unique Object Key), SORT_NUMBER (Sort Number), TASK_NAME (Project Element Name)... 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. .

DPR_TS_API_RELATIONSHIP structure Technical Details:

Delivery Class:
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced


SAP DPR_TS_API_RELATIONSHIP structure 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 DPR_TS_API_RELATIONSHIP 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
TASK_GUIDUnique Object Key DPR_TV_OBJECT_GUID_CHARCHAR32SYSUUID_C
TARGET_TASK_GUIDUnique Object Key DPR_TV_OBJECT_GUID_CHARCHAR32SYSUUID_C
SORT_NUMBERSort Number DPR_TV_SORT_NUMBERNUMC5
TASK_NAMEProject Element Name DPR_TV_NAMECHAR40TEXT40
TIME_INTERVALTime Interval in Relationship Between two Tasks DPR_TIME_INTERVALDEC5DPR_TIME_INTERVAL
TIME_INTERVAL_UNITUnit of Interval of Time Between Project Elements DPR_TV_BAPI_TIME_INTERVAL_UUNIT3T006CUNITMEINS
TIME_INTERVAL_UNIT_TEXTUnit of Measurement Text with Maximum of 10 Characters DPR_TV_BAPI_MSEHTCHAR10TEXT10
CALENDARCalendar DPR_TV_CALENDAR_IDCHAR2TFACDWFCID
CALENDAR_TEXTFactory Calendar Name DPR_TV_BAPI_CALENDAR_TEXTCHAR40TEXT40
FLAG_PREDECESSORTASK_GUID Becomes Predecess.(' ' Default) or Successor ('X') DPR_TV_BAPI_FLAG_PREDECESSORCHAR1BOOLE
RELATIONSHIP_TYPELink Type CGPL_RELATION_TYPENUMC1CGPL_RELATION_TYPE
RELATIONSHIP_TYPE_TEXT 0
START_DATEStart Date DPR_TV_START_DATEDATS8DATS
FINISH_DATEFinish Date DPR_TV_FINISH_DATEDATS8DATS

Key field Non-key field



How do I retrieve data from SAP structure DPR_TS_API_RELATIONSHIP using ABAP code?

As DPR_TS_API_RELATIONSHIP is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on DPR_TS_API_RELATIONSHIP as there is no data to select.

How to access SAP table DPR_TS_API_RELATIONSHIP

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

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