SAUNIT_S_INTERNAL_PROG_METRIC SAP (Metric Data for Test Coverage in Programs) Structure details
Description: Metric Data for Test Coverage in Programs
Related tables to SAUNIT_S_INTERNAL_PROG_METRIC
Access table SAUNIT_S_INTERNAL_PROG_METRIC
Structure field list including key, data, relationships and ABAP select examples
SAUNIT_S_INTERNAL_PROG_METRIC 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 "Metric Data for Test Coverage in Programs" 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_SAUNIT_S_INTERNAL_PROG_METRIC TYPE SAUNIT_S_INTERNAL_PROG_METRIC.
The SAUNIT_S_INTERNAL_PROG_METRIC table consists of various fields, each holding specific information or linking keys about Metric Data for Test Coverage in Programs data available in SAP. These include OBJ_NAME (Object Name in Object Directory), OBJ_TYPE (Object Type), PROG_NAME (Compilation Unit), COUNT_TRIG_ENTRIES (Number of All Program Units).. 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 SAUNIT_S_INTERNAL_PROG_METRIC 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 |
OBJ_NAME | Object Name in Object Directory | SOBJ_NAME | CHAR | 40 | SOBJ_NAME | ||||
OBJ_TYPE | Object Type | TROBJTYPE | CHAR | 4 | OBJECT | SCTSOBJECT | |||
PROG_NAME | Compilation Unit | SAUNIT_D_PROGRAM | CHAR | 40 | PROGNAME | ||||
COUNT_TRIG_ENTRIES | Number of All Program Units | 0 | |||||||
COUNT_FUBA_ENTRIES | Number of Function Modules | 0 | |||||||
COUNT_GLOBAL_METH_ENTRIES | Number of Methods in Global Class | 0 | |||||||
COUNT_LOCAL_METH_ENTRIES | Number of Methods in Local Classes | 0 | |||||||
COUNT_FORM_ENTRIES | Number of Form Routines | 0 | |||||||
COUNT_TEST_CLASSES | Number of Test Classes | 0 | |||||||
COUNT_TEST_METHODS | Number of Test Methods | 0 | |||||||
COUNT_FAILURE | Number of Program Units that Cannot Be Analyzed | 0 | |||||||
COUNT_STATEMENTS_TOTAL | Number of Statements in Total | 0 | |||||||
COUNT_STATEMENTS_TESTS | Number of Statements within Unit Test Classes | 0 |
Key field | Non-key field |
How do I retrieve data from SAP structure SAUNIT_S_INTERNAL_PROG_METRIC using ABAP code?
As SAUNIT_S_INTERNAL_PROG_METRIC 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 SAUNIT_S_INTERNAL_PROG_METRIC as there is no data to select.How to access SAP table SAUNIT_S_INTERNAL_PROG_METRIC
Within an ECC or HANA version of SAP you can also view further information about SAUNIT_S_INTERNAL_PROG_METRIC 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