SAP BAPI_TS_TASK_TMPL BAPI CREATE/CHANGE: Task Fields in Template Table data and field list

BAPI_TS_TASK_TMPL 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 "BAPI CREATE/CHANGE: Task Fields in Template" 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_BAPI_TS_TASK_TMPL TYPE BAPI_TS_TASK_TMPL.

The BAPI_TS_TASK_TMPL table consists of various fields, each holding specific information or linking keys about BAPI CREATE/CHANGE: Task Fields in Template data available in SAP. These include TASK_NAME (Project Element Name), SORT_NUMBER (Sort Number), TASK_TYPE (Task Type), PROCESS (Process)... 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. .

BAPI_TS_TASK_TMPL structure Technical Details:

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


SAP BAPI_TS_TASK_TMPL 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 BAPI_TS_TASK_TMPL 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_NAME_LANGUAGEExternal Language Key DPR_TV_LANGU_EXTCHAR2CHAR2
TASK_NAMEProject Element Name DPR_TV_NAMECHAR40TEXT40
SORT_NUMBERSort Number DPR_TV_SORT_NUMBERNUMC5
TASK_TYPETask Type DPR_TV_TSK_TYPECHAR15Assigned to domainDPR_TYPE
PROCESSProcess DPR_TV_PROCESSCHAR15Assigned to domainDPR_PROCESS
RESPONSIBLE_ROLE_GUIDUnique Object Key (CHAR32) DPR_TV_GUID_BAPICHAR32SYSUUID_C
DURATIONProcessing Time DPR_TV_DURATIONQUAN4
CALENDARCalendar DPR_TV_CALENDAR_IDCHAR2Assigned to domainWFCID
PLANNED_WORKWork DPR_TV_WORKQUAN9(2) DPR_WORK
PLANNED_WORK_UNITUnit for Work DPR_TV_BAPI_WORK_UNITUNIT3Assigned to domainCUNITMEINS
FLAG_MILESTONEMilestone Indicator DPR_TV_MILESTONECHAR1DPR_BOOLEAN
FLAG_MANDATORYMandatory DPR_TV_OBLIGATORYCHAR1DPR_BOOLEAN
FLAG_APPROVAL_RELEVANTRelevant for Approval DPR_TV_APPROVAL_RELEVANTCHAR1DPR_BOOLEAN
GROUPINGGrouping DPR_TV_GROUPINGCHAR40
SEARCH_FIELDSearch Field DPR_TV_SEARCH_FIELDCHAR40
STATUS_PROFILE_TEMPLATEStatus Profile Template DPR_TV_STAT_PROFILE_TSKCHAR8Assigned to domainJ_STSMA
TASK_DESCRIPTION_LANGUAGEExternal Language Key DPR_TV_LANGU_EXTCHAR2CHAR2
TASK_DESCRIPTION_PART1RAW Portion of Length 255 for Long Text, Approval Doc. DPR_TV_BAPI_DESCRIPTION_RAWRAW255
TASK_DESCRIPTION_PART2RAW Portion of Length 255 for Long Text, Approval Doc. DPR_TV_BAPI_DESCRIPTION_RAWRAW255
TASK_DESCRIPTION_PART3RAW Portion of Length 255 for Long Text, Approval Doc. DPR_TV_BAPI_DESCRIPTION_RAWRAW255
TASK_DESCRIPTION_PART4RAW Portion of Length 255 for Long Text, Approval Doc. DPR_TV_BAPI_DESCRIPTION_RAWRAW255

Key field Non-key field



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

As BAPI_TS_TASK_TMPL 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 BAPI_TS_TASK_TMPL as there is no data to select.

How to access SAP table BAPI_TS_TASK_TMPL

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

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