BAPI2007_SELECT SAP (Selection Structure for PM/CS Orders) Structure details
Description: Selection Structure for PM/CS Orders
Related tables to BAPI2007_SELECT
Access table BAPI2007_SELECT
Structure field list including key, data, relationships and ABAP select examples
BAPI2007_SELECT 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 "Selection Structure for PM/CS Orders" 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_BAPI2007_SELECT TYPE BAPI2007_SELECT.
The BAPI2007_SELECT table consists of various fields, each holding specific information or linking keys about Selection Structure for PM/CS Orders data available in SAP. These include STAGE (Maintenance Processing Stage), ORDER_TYPE (Order type), MN_WK_CTR (Person Responsible for Work Center), WK_PLANT (Plant for Main Work Center).. 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)
SAP BAPI2007_SELECT 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 |
ORDERID | Order Number | AUFNR | CHAR | 12 | Assigned to domain | ALPHA | AUFNR | ANR | |
STAGE | Maintenance Processing Stage | BBP_PM_PHASE | CHAR | 1 | BBP_PM_PHASE | ||||
ORDER_TYPE | Order type | BBP_AUFART | CHAR | 4 | CHAR4 | AAT | BBP_ALL_ORDER_TYPES | ||
MN_WK_CTR | Person Responsible for Work Center | BBP_GEWRK | CHAR | 8 | BBP_ARBPL | ||||
WK_PLANT | Plant for Main Work Center | BBP_WERGW | CHAR | 4 | BBP_WERKS | ||||
PARTN_ROLE | Partner Role | BBP_PARVW | CHAR | 2 | BBP_PARVW | PAR | |||
PARTNER | Partner | BBP_I_PARNR | CHAR | 12 | ALPHA | BBP_I_PARNR | |||
START_DATE | Basic start date | CO_GSTRP | DATS | 8 | DATUM | ||||
END_DATE | Basic start date | CO_GSTRP | DATS | 8 | DATUM | ||||
PLANPLANT | Maintenance Planning Plant | BBP_IWERK | CHAR | 4 | BBP_WERKS | ||||
PLANERGRP | Planner Group for Customer Service and Plant Maintenance | BBP_INGRP | CHAR | 3 | BBP_INGRP | ||||
STATINCL | Status Inclusive for Maintenance Order | BBP_I_ASTATIN | CHAR | 4 | CHAR4 | ||||
STATEXCL | Status Exclusive for Maintenance Order | BBP_I_ASTATEX | CHAR | 4 | CHAR4 | ||||
MNTPLANT | Maintenance Plant | BBP_SWERK | CHAR | 4 | BBP_WERKS | ||||
COSTCENTER | Cost Center | KOSTL | CHAR | 10 | Assigned to domain | ALPHA | KOSTL | KOS | |
CO_AREA | Controlling Area | KOKRS | CHAR | 4 | Assigned to domain | CACCD | CAC | ||
PLSECTN | Organizational Area | BBP_BEBER | CHAR | 3 | BBP_BEBER | ||||
LOCATION | Location of Maintenance Object | BBP_PMLOC | CHAR | 10 | BBP_AP_STAND | ||||
WORK_CNTR | Work center | ARBPL | CHAR | 8 | ARBPL | AGR | |||
PLANT | Plant | WERKS_D | CHAR | 4 | Assigned to domain | WERKS | WRK | H_T001W_C | |
CONTROL_KEY | Control key | STEUS | CHAR | 4 | Assigned to domain | STEUS | |||
LOGICAL_SYSTEM | Logical system | LOGSYS | CHAR | 10 | Assigned to domain | ALPHA | LOGSYS |
Key field | Non-key field |
How do I retrieve data from SAP structure BAPI2007_SELECT using ABAP code?
As BAPI2007_SELECT 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 BAPI2007_SELECT as there is no data to select.How to access SAP table BAPI2007_SELECT
Within an ECC or HANA version of SAP you can also view further information about BAPI2007_SELECT 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