SAUNIT_S_INTERNAL_PROG_METRIC SAP (Metric Data for Test Coverage in Programs) Structure details

Dictionary Type: Structure
Description: Metric Data for Test Coverage in Programs




ABAP Code to SELECT data from SAUNIT_S_INTERNAL_PROG_METRIC
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_NAMEObject Name in Object Directory SOBJ_NAMECHAR40SOBJ_NAME
OBJ_TYPEObject Type TROBJTYPECHAR4OBJECTSCTSOBJECT
PROG_NAMECompilation Unit SAUNIT_D_PROGRAMCHAR40PROGNAME
COUNT_TRIG_ENTRIES Number of All Program Units0
COUNT_FUBA_ENTRIES Number of Function Modules0
COUNT_GLOBAL_METH_ENTRIES Number of Methods in Global Class0
COUNT_LOCAL_METH_ENTRIES Number of Methods in Local Classes0
COUNT_FORM_ENTRIES Number of Form Routines0
COUNT_TEST_CLASSES Number of Test Classes0
COUNT_TEST_METHODS Number of Test Methods0
COUNT_FAILURE Number of Program Units that Cannot Be Analyzed0
COUNT_STATEMENTS_TOTAL Number of Statements in Total0
COUNT_STATEMENTS_TESTS Number of Statements within Unit Test Classes0

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 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!