BAPI_ORDER_PROD_REL_TOOLS SAP (Production resources and tools data) Structure details

Dictionary Type: Structure
Description: Production resources and tools data




ABAP Code to SELECT data from BAPI_ORDER_PROD_REL_TOOLS
Related tables to BAPI_ORDER_PROD_REL_TOOLS
Access table BAPI_ORDER_PROD_REL_TOOLS




Structure field list including key, data, relationships and ABAP select examples

BAPI_ORDER_PROD_REL_TOOLS 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 resources and tools data" 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_ORDER_PROD_REL_TOOLS TYPE BAPI_ORDER_PROD_REL_TOOLS.

The BAPI_ORDER_PROD_REL_TOOLS table consists of various fields, each holding specific information or linking keys about Production resources and tools data data available in SAP. These include COUNTER (Internal counter), PRT_ITEM_COUNT (Item counter for production resources/tools), DELETION_INDICATOR (Deletion Indicator), TASK_LIST_TYPE (Task List Type).. 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 BAPI_ORDER_PROD_REL_TOOLS 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
ROUTING_NORouting number of operations in the order CO_AUFPLNUMC10AUFPL
COUNTERInternal counter CIM_COUNTNUMC8CIM_COUNT
PRT_ITEM_COUNTItem counter for production resources/tools PZLFHNUMC8PZLFH
DELETION_INDICATORDeletion Indicator LKENZCHAR1XFELD
TASK_LIST_TYPETask List Type PLNTYCHAR1Assigned to domainPLNTYPTYH_TCA01
TASK_LIST_GROUPKey for Task List Group PLNNRCHAR8ALPHAPLNNRPLNPLKS
CTRL_KEYControl key for management of production resources/tools STEUFCHAR4Assigned to domainSTEUF
EARL_SCHED_START_DATEEarliest scheduled start (date) for PRT usage CF_FSFHDDATS8DATUM
EARL_SCHED_START_TIMEEarliest scheduled start (time) for PRT usage CF_FSFHZTIMS6UZEIT
EARL_SCHED_FINISH_DATEEarliest scheduled finish (date) of PRT usage CF_FEFHDDATS8DATUM
EARL_SCHED_FINISH_TIMEEarliest scheduled end (time) of PRT usage CF_FEFHZTIMS6UZEIT
LATEST_SCHED_START_DATELatest scheduled start (date) for PRT usage CF_SSFHDDATS8DATUM
LATEST_SCHED_START_TIMELatest scheduled start (time) for PRT usage CF_SSFHZTIMS6UZEIT
LATEST_SCHED_FINISH_DATELatest scheduled finish (date) of PRT usage CF_SEFHDDATS8DATUM
LATEST_SCHED_FINISH_TIMELatest scheduled end (time) for PRT usage CF_SEFHZTIMS6UZEIT
ACTUAL_START_DATEActual start (date) of PRT usage CF_ISFHDDATS8DATUM
ACTUAL_START_TIMEActual start (time) of PRT usage CF_ISFHZTIMS6UZEIT
ACTUAL_FINISH_DATEActual finish (date) of PRT usage CF_IEFHDDATS8DATUM
ACTUAL_FINISH_TIMEActual finish (time) of PRT usage CF_IEFHZTIMS6UZEIT
DURATIONDuration of PRT usage CF_DAUFLFLTP16(16) CX_ZEIT
DURATION_UNITTime unit for duration of PRT usage CF_DAUEHUNIT3Assigned to domainCUNITMEINS
DURATION_UNIT_ISOISO code for unit of measurement ISOCD_UNITCHAR3Assigned to domainISOCD_UNIT
STD_VALUE_FOR_PRT_QTYStandard value for the PRT quantity MGVGWQUAN9(3) MENG9
STD_VALUE_UNITQuantity unit of production resource/tool MGEINHUNIT3Assigned to domainCUNITMEINS
STD_VALUE_UNIT_ISOISO code for unit of measurement ISOCD_UNITCHAR3Assigned to domainISOCD_UNIT
TOTAL_QUANTITYTotal planned quantity of production resource/tool MGSOLQUAN9(3) MENG9
QUANTITY_UNITQuantity unit of production resource/tool MGEINHUNIT3Assigned to domainCUNITMEINS
QUANTITY_UNIT_ISOISO code for unit of measurement ISOCD_UNITCHAR3Assigned to domainISOCD_UNIT
FORMULA_TOT_QTYFormula for calculating the total quantity of PRT CF_MGFORMCHAR6Assigned to domainAP_FORMEL
STD_USAGE_VALUE_FOR_PRTStandard usage value for production resources/tools EWVGWQUAN9(3) MENG9
STD_USAGE_VALUE_UNITUsage value unit of the production resource/tool EWEINHUNIT3Assigned to domainCUNITMEINS
STD_USAGE_VALUE_UNIT_ISOISO code for unit of measurement ISOCD_UNITCHAR3Assigned to domainISOCD_UNIT
USAGE_VALUETotal planned usage value of production resource/tool EWSOLQUAN9(3) MENG9
USAGE_VALUE_UNITUsage value unit of the production resource/tool EWEINHUNIT3Assigned to domainCUNITMEINS
USAGE_VALUE_UNIT_ISOISO code for unit of measurement ISOCD_UNITCHAR3Assigned to domainISOCD_UNIT
FORMULA_TOT_USAGEFormula for calculating the total usage value of PRT CF_EWFORMCHAR6Assigned to domainAP_FORMEL
ORDER_NUMBEROrder Number AUFNRCHAR12Assigned to domainALPHAAUFNRANR
PRT_CATEGORYProduction resources/tools category FHMARCHAR1Assigned to domainFHMARFHMARFHA
PRT_NUMBERProduction resource/tool number FHMNRCHAR33FHMNR
PRT_PLANTProduction resources/tools in plant FHWRKCHAR4Assigned to domainWERKSWRK
MATERIALMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
DOCUMENT_TYPEDocument Type DOKARCHAR3Assigned to domainDOKARCV2
DOCUMENT_NUMBERDocument number DOKNRCHAR25Assigned to domainALPHADOKNRCV1
DOCUMENT_VERSIONDocument Version DOKVRCHAR2DOKVRCV3
DOCUMENT_PARTDocument Part DOKTL_DCHAR3DOKTLCV4
EQUIPMENTEquipment Number EQUNRCHAR18Assigned to domainALPHAEQUNREQNEQUI
MEASURING_POINTMeasuring Point IMRC_POINTCHAR12Assigned to domainALPHAIMRC_POINTIPTIMPM
DESCRIPTION_MEASURING_POINTDescription of Measuring Point IMRC_PTTXTCHAR40TEXT40
DESCRIPTIONDescription of the production resource/tool FHKTXCHAR40TEXT40
BASE_UNITBase unit of measure for production resources/tools CF_BASEHUNIT3Assigned to domainCUNITMEINS
BASE_UNIT_ISOISO code for unit of measurement ISOCD_UNITCHAR3Assigned to domainISOCD_UNIT
SYSTEM_STATUSSystem Status CO_STTXTCHAR40CHAR40
MATERIAL_EXTERNALLong Material Number for MATERIAL Field MGV_MATERIAL_EXTERNALCHAR40MATNR_EXT
MATERIAL_GUIDExternal GUID for MATERIAL Field MGV_MATERIAL_GUIDCHAR32MATNR_EGUID
MATERIAL_VERSIONVersion Number for MATERIAL Field MGV_MATERIAL_VERSIONCHAR10MATNWMATNR_VERS

Key field Non-key field



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

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

How to access SAP table BAPI_ORDER_PROD_REL_TOOLS

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

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


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!