CGPL_TASK SAP (Project Planning: Attribute Table for Activities) Table details
Description: Project Planning: Attribute Table for Activities
Table field list including key, data, relationships and ABAP select examples
CGPL_TASK is a standard SAP Table which is used to store Project Planning: Attribute Table for Activities data and is available within R/3 SAP systems depending on the version and release level.
The CGPL_TASK table consists of various fields, each holding specific information or linking keys about Project Planning: Attribute Table for Activities data available in SAP. These include GUID (Project Planning: 16 Character GUID for Tasks), EXTERNAL_ID (Project Planning: External Indentifier of an Element), PROJECT_GUID (Project Planning: 16 Character GUID for Projects), OBJECT_TYPE (Object Type in Project Planning).. 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 CGPL_TASK 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 |
CLIENT | Client | MANDT | CLNT | 3 | Assigned to domain | MANDT | |||
GUID | Project Planning: 16 Character GUID for Tasks | CGPL_TASK_GUID | RAW | 16 | CGPLP | CGPL_PROJECT_GUID | |||
EXTERNAL_ID | Project Planning: External Indentifier of an Element | CGPL_EXTID | CHAR | 24 | CGPL_EXTID | ||||
PROJECT_GUID | Project Planning: 16 Character GUID for Projects | CGPL_PROJECT_GUID | RAW | 16 | CGPL_PROJECT | CGPLP | CGPL_PROJECT_GUID | ||
OBJECT_TYPE | Object Type in Project Planning | CGPL_OBJECT_TYPE | CHAR | 3 | CHAR3 | ||||
PRIORITY | Priority | CGPL_PRIORITY | NUMC | 3 | CGPL_PRIO | NUMC3 | |||
ACTUALSTART | Actual Start Date | CGPL_ACTUALSTART | DEC | 15 | TSTPS | BCOS_TSTMP | |||
ACTUALFINISH | Actual Finish Date | CGPL_ACTUALFINISH | DEC | 15 | TSTPS | BCOS_TSTMP | |||
PLANSTART | Planned start date | CGPL_PLANSTART | DEC | 15 | TSTPS | BCOS_TSTMP | |||
PLANFINISH | Planned Finish Date | CGPL_PLANFINISH | DEC | 15 | TSTPS | BCOS_TSTMP | |||
COMPLETION | Percentage of Completion | CGPL_COMPLETION | NUMC | 3 | CGPL_COMPLETION | ||||
MILESTONE | Milestone indicator | CGPL_MILESTONE | CHAR | 1 | CHAR1 | ||||
CONSTRAINT_TYPE | Type of Scheduling Constraint | CGPL_CONSTRAINT | CHAR | 1 | CGPL_CONSTRAINT | ||||
CONSTRAINT_TIME | Constraint Date | CGPL_CONSTRAINT_TIME | DEC | 15 | TSTPS | BCOS_TSTMP | |||
CREATED_BY | Name of Person Who Created Object | CGPL_CREATED_BY | CHAR | 12 | USNAM | ||||
CREATED_ON | Date When the Object Was Created | CGPL_CREATED_ON | DATS | 8 | DATUM | ||||
CREATED_IN_BW | Transfer Object to BW | CGPL_CREATED_BW | CHAR | 1 | CHAR1 | ||||
CHANGED_BY | Name of Person Who Changed Object | CGPL_CHANGED_BY | CHAR | 12 | USNAM | ||||
CHANGED_ON | Date on which object was last changed | CGPL_CHANGED_ON | DATS | 8 | DATUM | ||||
UPDATED_IN_BW | Current Object in BW | CGPL_UPDATED_BW | CHAR | 1 | CHAR1 | ||||
BWIDENTIFIER | Project Planning - BW Identification | CGPL_BWIDENTIFIER | NUMC | 8 | CGPL_BWIDENTIFIER | ||||
PLANGROUP | Planning Profile Group | CGPL_SEM_PLGRP | CHAR | 4 | |||||
LATEST_START | Latest start | CGPL_LATEST_START | DEC | 15 | TSTPS | BCOS_TSTMP | |||
LATEST_FINISH | Latest finish date | CGPL_LATEST_FINISH | DEC | 15 | TSTPS | BCOS_TSTMP | |||
TOTAL_FLOAT | Total Float | CGPL_TOTAL_FLOAT | DEC | 8(2) | CGPL_FLOAT | ||||
DURATION | Duration of Execution | CGPL_DURATION | DEC | 8(2) | CGPL_DURATION | ||||
DURATION_UNIT | Time Unit for Execution Duration | CGPL_DURATION_UNIT | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
CALENDAR_ID | Factory Calendar | WFCID | CHAR | 2 | Assigned to domain | WFCID | FCI | ||
CONSTR_TYPE_FIN | Type of Scheduling Constraint | CGPL_CONSTRAINT | CHAR | 1 | CGPL_CONSTRAINT | ||||
CONSTR_TIME_FIN | Constraint Date | CGPL_CONSTRAINT_TIME | DEC | 15 | TSTPS | BCOS_TSTMP | |||
APPLICATION | Application in Project Planning | CGPL_APPLICATION_TYPE | CHAR | 3 | Assigned to domain | CGPL_APPLICATION_TYPE | |||
FORECAST_START | Forecast Start | CGPL_FORECAST_START | DEC | 15 | TSTPS | BCOS_TSTMP | |||
FORECAST_FINISH | Forecast Finish | CGPL_FORECAST_FINISH | DEC | 15 | TSTPS | BCOS_TSTMP |
Key field | Non-key field |
How do I retrieve data from SAP table CGPL_TASK using ABAP code
The following ABAP code Example will allow you to do a basic selection on CGPL_TASK to SELECT all data from the tableDATA: WA_CGPL_TASK TYPE CGPL_TASK.
SELECT SINGLE *
FROM CGPL_TASK
INTO CORRESPONDING FIELDS OF WA_CGPL_TASK
WHERE...
How to access SAP table CGPL_TASK
Within an ECC or HANA version of SAP you can also view further information about CGPL_TASK 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