BAPIQMSTI7 SAP (Sample) Structure details
Description: Sample
Structure field list including key, data, relationships and ABAP select examples
BAPIQMSTI7 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 "Sample" 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_BAPIQMSTI7 TYPE BAPIQMSTI7.
The BAPIQMSTI7 table consists of various fields, each holding specific information or linking keys about Sample data available in SAP. These include CHAR_NO (Characteristic Number), CHAR_VERS (Characteristic Version), SAMPLE_NO (Physical Sample Number), SMPL_ATTR (Physical Sample Attribute).. 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 BAPIQMSTI7 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 |
REPORT_NO | Evaluation Number | QREPORT_NO | NUMC | 4 | NUMC4 | ||||
CHAR_NO | Characteristic Number | QCHAR_NO | NUMC | 4 | NUMC4 | ||||
CHAR_VERS | Characteristic Version | QCHAR_VERS | NUMC | 4 | NUMC4 | ||||
SAMPLE_NO | Physical Sample Number | QSAMPLE_NO | NUMC | 8 | NUMC8 | ||||
SMPL_ATTR | Physical Sample Attribute | QSMPL_ATTR | CHAR | 1 | QATTRIBUT | ||||
ATTR_TXT | Text for Attribute | QATTR_TXT | CHAR | 40 | TEXT40 | ||||
SMPL_INVAL | Invalid Physical Sample | QSMPL_INVA | CHAR | 1 | CHAR1 | ||||
SMPL_SIZE | Sample Size n | QSMPL_SIZE | CHAR | 10 | CHAR10 | ||||
INSP_LOT | Inspection Lot Number | QINSP_LOT | NUMC | 12 | QALS | QPLOS | |||
CHAR_CONF | Completion Confirmation Number for Characteristic | QCHAR_CONF | NUMC | 8 | QRUECKNR | ||||
QM_SMPL_NO | Phys.-Sample Number from Original Phys.-Sample Record | QQM_SMPL_N | CHAR | 8 | CHAR8 | ||||
BATCH | Batch | QBATCH | CHAR | 10 | TEXT10 | ||||
SMPL_REMRK | Inspection Description for Sample | QSMPL_REMR | CHAR | 40 | TEXT40 | ||||
ORDER_NO | Order Number | QORDER_NO | CHAR | 12 | CHAR12 | ||||
RD_HDR_NO | Run schedule header number | SA_AUFNR | CHAR | 12 | Assigned to domain | ALPHA | SA_AUFNR | ||
CREAT_DATE | Created On | QCREAT_DAT | CHAR | 10 | CHAR10 | ||||
CREAT_TIME | Creation Time | QCREAT_TIM | CHAR | 8 | CHAR8 | ||||
CHNGE_DATE | Changed On | QCHNGE_DAT | CHAR | 10 | CHAR10 | ||||
CHNGE_TIME | Changed At | QCHNGE_TIM | CHAR | 8 | CHAR8 | ||||
IP_USERC1 | User Field for 18 Characters | QUSRCHAR18 | CHAR | 18 | ALPHA | QUSRCHAR18 | |||
IP_USERC2 | User Field for 10 Characters | QUSRCHAR10 | CHAR | 10 | ALPHA | QUSRCHAR10 | |||
IP_USERN1 | User Field for 10 Numerical Characters | QUSERN1 | CHAR | 10 | CHAR10 | ||||
IP_USERN2 | User Field for 3 Numerical Characters | QUSERN2 | CHAR | 3 | CHAR3 | ||||
IP_USERD1 | User Field for Date | QUSERD1 | CHAR | 10 | CHAR10 | ||||
IP_USERT1 | User Field for Time | QUSERT1 | CHAR | 8 | CHAR8 | ||||
PART_LOT | Partial Lot | QPART_LOT | CHAR | 6 | CHAR6 | ||||
EQUI_NO | Equipment Number | EQUNR | CHAR | 18 | EQUI | ALPHA | EQUNR | EQN | EQUI |
FUNCT_LOC | Functional Location | TPLNR | CHAR | 30 | IFLOT | TPLNR | TPLNR | IFL | IFLM |
PHYS_SMPL | Physical Sample Number | QPHYS_NR | CHAR | 12 | CHAR12 | ||||
USERC1 | User Field for Customer Enhancements | QUSERC1 | CHAR | 10 | TEXT10 | ||||
USERC2 | User Field for Customer Enhancements | QUSERC2 | CHAR | 20 | TEXT20 | ||||
USERC3 | User Field for Customer Enhancements | QUSERC3 | CHAR | 40 | TEXT40 |
Key field | Non-key field |
How do I retrieve data from SAP structure BAPIQMSTI7 using ABAP code?
As BAPIQMSTI7 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 BAPIQMSTI7 as there is no data to select.How to access SAP table BAPIQMSTI7
Within an ECC or HANA version of SAP you can also view further information about BAPIQMSTI7 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