EHPRCS_USEAPI SAP (Use API Structure) Structure details
Description: Use API Structure
Related tables to EHPRCS_USEAPI
Access table EHPRCS_USEAPI
Structure field list including key, data, relationships and ABAP select examples
EHPRCS_USEAPI 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 "Use API Structure" 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_EHPRCS_USEAPI TYPE EHPRCS_USEAPI.
The EHPRCS_USEAPI table consists of various fields, each holding specific information or linking keys about Use API Structure data available in SAP. These include LOCKMOD (Lock Mode (Shared, Exclusive)), RECN (Sequential Number of Data Record), RECNVA (Sequential Number of Data Record), RECNVH (Sequential Number of Data Record).. 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 (Deep)
SAP EHPRCS_USEAPI 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 |
MODE | Processing Mode | ESEMODE | CHAR | 1 | CHAR1 | ||||
LOCKMOD | Lock Mode (Shared, Exclusive) | ESELOCKMOD | CHAR | 1 | CHAR1 | ||||
RECN | Sequential Number of Data Record | ESERECN | NUMC | 20 | ALPHA | ESDRECN | |||
RECNVA | Sequential Number of Data Record | ESERECN | NUMC | 20 | ALPHA | ESDRECN | |||
RECNVH | Sequential Number of Data Record | ESERECN | NUMC | 20 | ALPHA | ESDRECN | |||
REF | Truth Value | ESEBOOLE | CHAR | 1 | ESDBOOLE | ||||
ORD | Sort Sequence | ESEORD | NUMC | 4 | NUMC4 | ||||
SHORTTITLE | 0 | ||||||||
MAINUSERGRP | 0 | ||||||||
SECTOROFUSE | 0 | ||||||||
PRODUCTCAT | 0 | ||||||||
PROCESSCAT | 0 | ||||||||
ARTICLECAT | 0 | ||||||||
ENVRELEASE | 0 | ||||||||
ACTIVITIES | 0 | ||||||||
REGSTATUS | Use and Exposure: Registration Status | EHPRC_REG_STATUS_CP | CHAR | 21 | EHPRC_PHRASE | ||||
REGSTATUS_ICON | Status icon | EHPRC_ICON_STATUS | CHAR | 132 | EHPRC_ICONTEXT | ||||
STATUSJUST | Justification | EHPRC_STATUSJUSTIF | CHAR | 132 | TEXT132 | ||||
OWNUSE | Own Use | EHPRC_OWNUSE | CHAR | 1 | EHPRC_RC01SPACE | ||||
STANDARDUSE | Use and Exposure: Standard Use | EHPRC_STDUSE | CHAR | 1 | EHPRC_RC01SPACE | ||||
EXPOSURETEXT | Use and Exposure: Exposure Text | EHPRC_EXP_TXT | CHAR | 132 | TEXT132 | ||||
REMARKS | 0 | ||||||||
CUSTOMERNR | Customer Numbers | KUNNR | CHAR | 10 | Assigned to domain | ALPHA | KUNNR | KUN | C_KUNNR |
MATERIALNR | Material Number | MATNR | CHAR | 18 | Assigned to domain | MATN1 | MATNR | MAT | S_MAT1 |
.INCLU-USE | 0 | ||||||||
DOKARUSE | Document Type | DOKAR | CHAR | 3 | TDWA | DOKAR | CV2 | ||
DOKNRUSE | Document number | DOKNR | CHAR | 25 | ESD_DRAW | ALPHA | DOKNR | CV1 | |
DOKVRUSE | Document Version | DOKVR | CHAR | 2 | ESD_DRAW | DOKVR | CV3 | ||
DOKTLUSE | Document Part | DOKTL_D | CHAR | 3 | DOKTL | CV4 | |||
USEDASINTERMEDIATE | Used as Intermediate | EHPRC_USEDASINTERMEDIATE | CHAR | 1 | EHPRC_RC01SPACE | ||||
EVALSTATUS | Evaluation Status | EHPRC_EVALSTATUS | CHAR | 1 | EHPRC_EVALSTATUS | ||||
LINKTOUSE | 0 | ||||||||
LINKTOUSE_CBX | Link to Use and Exposure Exists | EHPRC_FLG_LINKTOUSE | CHAR | 1 | ESDBOOLE | ||||
LINKTOUSE_REMARK | Remark for the link between a use coll. and use exp. record | EHPRC_LINKTOUSE_REMARK | CHAR | 132 | TEXT132 | ||||
ADD_CHAR_TAB | 0 | ||||||||
LINKGROUP_ICON | Link Group | EHPRC_ICON_LINKGROUP | CHAR | 132 | EHPRC_ICONTEXT | ||||
REF_INH_CODE | Specifies if Data is Inherited, Referenced, or Overwritten | EHPRC_REF_INH_CODE | CHAR | 1 | CHAR1 | ||||
INPUT_CHECK_VALID | Consistency Check: Indicates Use Record Is Consistent | EHPRC_INPUT_CHECK_VALID | CHAR | 1 | ESDBOOLE | ||||
FLG_DATA_CHANGED | Truth Value | ESEBOOLE | CHAR | 1 | ESDBOOLE | ||||
INPUT_CHECK_MSGS | 0 |
Key field | Non-key field |
How do I retrieve data from SAP structure EHPRCS_USEAPI using ABAP code?
As EHPRCS_USEAPI 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 EHPRCS_USEAPI as there is no data to select.How to access SAP table EHPRCS_USEAPI
Within an ECC or HANA version of SAP you can also view further information about EHPRCS_USEAPI 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