SAP BAPI_TS_PHASE BAPI CREATE/CHANGE: Fields for Phase Table data and field list

BAPI_TS_PHASE 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: Fields for Phase" 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_PHASE TYPE BAPI_TS_PHASE.

The BAPI_TS_PHASE table consists of various fields, each holding specific information or linking keys about BAPI CREATE/CHANGE: Fields for Phase data available in SAP. These include PHASE_NAME_LANGUAGE (External Language Key), PHASE_NAME (Project Element Name), PHASE_TYPE (Phase Type), PREDECESSOR_PHASE_GUID (Unique Object Key (CHAR32))... 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_PHASE 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_PHASE 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_PHASE 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
PHASE_NUMBERPhase Number DPR_TV_PHASE_IDCHAR24
PHASE_NAME_LANGUAGEExternal Language Key DPR_TV_LANGU_EXTCHAR2CHAR2
PHASE_NAMEProject Element Name DPR_TV_NAMECHAR40TEXT40
PHASE_TYPEPhase Type DPR_TV_PHA_TYPECHAR15Assigned to domainDPR_TYPE
PREDECESSOR_PHASE_GUIDUnique Object Key (CHAR32) DPR_TV_GUID_BAPICHAR32SYSUUID_C
RESPONSIBLE_ROLE_GUIDUnique Object Key (CHAR32) DPR_TV_GUID_BAPICHAR32SYSUUID_C
FIXED_START_CONSTRAINT_TYPEConstraint on Start Date DPR_TV_START_CONSTRAINTCHAR1DPR_START_CONSTRAINT
FIXED_START_DATEDate in BAPI Import Interface (YYYYMMDD) DPR_TV_BAPI_DATEDATS8DATS
FIXED_FINISH_CONSTRAINT_TYPEConstraint on Finish Date DPR_TV_FINISH_CONSTRAINTCHAR1DPR_FINISH_CONSTRAINT
FIXED_FINISH_DATEDate in BAPI Import Interface (YYYYMMDD) DPR_TV_BAPI_DATEDATS8DATS
DURATIONProcessing Time DPR_TV_DURATIONQUAN4
CALENDARCalendar DPR_TV_CALENDAR_IDCHAR2Assigned to domainWFCID
GROUPINGGrouping DPR_TV_GROUPINGCHAR40
SEARCH_FIELDSearch Field DPR_TV_SEARCH_FIELDCHAR40
FORECASTED_STARTDate in BAPI Import Interface (YYYYMMDD) DPR_TV_BAPI_DATEDATS8DATS
FORECASTED_FINISHDate in BAPI Import Interface (YYYYMMDD) DPR_TV_BAPI_DATEDATS8DATS
PHASE_DESCRIPTION_LANGUAGEExternal Language Key DPR_TV_LANGU_EXTCHAR2CHAR2
PHASE_DESCRIPTION_PART1RAW Portion of Length 255 for Long Text, Approval Doc. DPR_TV_BAPI_DESCRIPTION_RAWRAW255
PHASE_DESCRIPTION_PART2RAW Portion of Length 255 for Long Text, Approval Doc. DPR_TV_BAPI_DESCRIPTION_RAWRAW255
PHASE_DESCRIPTION_PART3RAW Portion of Length 255 for Long Text, Approval Doc. DPR_TV_BAPI_DESCRIPTION_RAWRAW255
PHASE_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_PHASE using ABAP code?

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

How to access SAP table BAPI_TS_PHASE

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

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