COSE_S_PRT SAP (Production Order: Create/Change/Delete Prodn Resource/Tool) Structure details
Description: Production Order: Create/Change/Delete Prodn Resource/Tool
Structure field list including key, data, relationships and ABAP select examples
COSE_S_PRT 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 "Production Order: Create/Change/Delete Prodn Resource/Tool" 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_COSE_S_PRT TYPE COSE_S_PRT.
The COSE_S_PRT table consists of various fields, each holding specific information or linking keys about Production Order: Create/Change/Delete Prodn Resource/Tool data available in SAP. These include OPERATION (Operation/Activity Number), PRT_ITEM_NO (Item Number for Production Resource/Tool), PRT_CATEGORY (Production resources/tools category), PLANT (Production resources/tools in plant).. 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:Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)
SAP COSE_S_PRT structure 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 |
SEQUENCE | Sequence | PLNFOLGE | CHAR | 6 | ALPHA | PLNFOLGE | |||
OPERATION | Operation/Activity Number | VORNR | CHAR | 4 | NUMCV | VORNR | VGN | ||
PRT_ITEM_NO | Item Number for Production Resource/Tool | PSNFH | NUMC | 4 | PSNFH | ||||
PRT_CATEGORY | Production resources/tools category | FHMAR | CHAR | 1 | Assigned to domain | FHMAR | FHMAR | FHA | |
PLANT | Production resources/tools in plant | FHWRK | CHAR | 4 | Assigned to domain | WERKS | WRK | ||
MATERIAL | Material Number | MATNR | CHAR | 18 | Assigned to domain | MATN1 | MATNR | MAT | S_MAT1 |
MISC_PRT | Production resources and tools | SFHNR | CHAR | 18 | ALPHA | SFHNR | FHS | FHMS | |
DOCUMENT_NO | Document number | DOKNR | CHAR | 25 | Assigned to domain | ALPHA | DOKNR | CV1 | |
DOCUMENT_TYPE | Document Type | DOKAR | CHAR | 3 | Assigned to domain | DOKAR | CV2 | ||
DOCUMENT_PART | Document Part | DOKTL_D | CHAR | 3 | DOKTL | CV4 | |||
DOCUMENT_VERSION | Document Version | DOKVR | CHAR | 2 | DOKVR | CV3 | |||
EQUIPMENT | Equipment Number | EQUNR | CHAR | 18 | Assigned to domain | ALPHA | EQUNR | EQN | EQUI |
STEUF | Control key for management of production resources/tools | STEUF | CHAR | 4 | Assigned to domain | STEUF | |||
TEXT | First line of text for production resources/tools | TXTZ1 | CHAR | 40 | TEXT40 | ||||
TEXT_X | Updated information in related user data field | BAPIUPDATE | CHAR | 1 | BAPIUPDATE | ||||
QUANTITY | Standard value for the PRT quantity | MGVGW | QUAN | 9(3) | MENG9 | ||||
QUANTITY_X | Updated information in related user data field | BAPIUPDATE | CHAR | 1 | BAPIUPDATE | ||||
QUANTITY_UOM | Quantity unit of production resource/tool | MGEINH | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
QUANTITY_UOM_X | Updated information in related user data field | BAPIUPDATE | CHAR | 1 | BAPIUPDATE | ||||
QUANTITY_FORMULA | Formula for calculating the total quantity of PRT | CF_MGFORM | CHAR | 6 | Assigned to domain | AP_FORMEL | |||
QUANTITY_FORMULA_X | Updated information in related user data field | BAPIUPDATE | CHAR | 1 | BAPIUPDATE | ||||
USAGE_VALUE | Standard usage value for production resources/tools | EWVGW | QUAN | 9(3) | MENG9 | ||||
USAGE_VALUE_X | Updated information in related user data field | BAPIUPDATE | CHAR | 1 | BAPIUPDATE | ||||
USAGE_VALUE_UOM | Usage value unit of the production resource/tool | EWEINH | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
USAGE_VALUE_UOM_X | Updated information in related user data field | BAPIUPDATE | CHAR | 1 | BAPIUPDATE | ||||
USAGE_VALUE_FORMULA | Formula for calculating the total usage value of PRT | CF_EWFORM | CHAR | 6 | Assigned to domain | AP_FORMEL | |||
USAGE_VALUE_FORMULA_X | Updated information in related user data field | BAPIUPDATE | CHAR | 1 | BAPIUPDATE | ||||
START_OFFSET | Offset to start of production resource/tool usage | OFFSTB | QUAN | 5 | VNZTV | ||||
START_OFFSET_X | Updated information in related user data field | BAPIUPDATE | CHAR | 1 | BAPIUPDATE | ||||
START_OFFSET_UOM | Offset unit for start of prod. resource/tool usage | EHOFFB | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
START_OFFSET_UOM_X | Updated information in related user data field | BAPIUPDATE | CHAR | 1 | BAPIUPDATE | ||||
START_REF_DATE | Reference date to start of production resource/tool usage | BZOFFB | CHAR | 2 | Assigned to domain | CP_BZOFF | |||
START_REF_DATE_X | Updated information in related user data field | BAPIUPDATE | CHAR | 1 | BAPIUPDATE | ||||
END_OFFSET | Offset to finish of production resource/tool usage | OFFSTE | QUAN | 5 | VNZTV | ||||
END_OFFSET_X | Updated information in related user data field | BAPIUPDATE | CHAR | 1 | BAPIUPDATE | ||||
END_OFFSET_UOM | Offset unit for end of production resource/tool usage | EHOFFE | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
END_OFFSET_UOM_X | Updated information in related user data field | BAPIUPDATE | CHAR | 1 | BAPIUPDATE | ||||
END_REF_DATE | Reference date for end of production resource/tool usage | BZOFFE | CHAR | 2 | Assigned to domain | CP_BZOFF | |||
END_REF_DATE_X | Updated information in related user data field | BAPIUPDATE | CHAR | 1 | BAPIUPDATE | ||||
DELETION_IND | Indicator: Delete Object | COSE_DELETE | CHAR | 1 | XFELD |
Key field | Non-key field |
How do I retrieve data from SAP structure COSE_S_PRT using ABAP code?
As COSE_S_PRT 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 COSE_S_PRT as there is no data to select.How to access SAP table COSE_S_PRT
Within an ECC or HANA version of SAP you can also view further information about COSE_S_PRT 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