SAP CRES_BAPI_RES_HEAD BAPI Structure for BAPI10004RESHEAD in APO Table data and field list

CRES_BAPI_RES_HEAD 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 "BAPI Structure for BAPI10004RESHEAD in APO" 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_CRES_BAPI_RES_HEAD TYPE CRES_BAPI_RES_HEAD.

The CRES_BAPI_RES_HEAD table consists of various fields, each holding specific information or linking keys about BAPI Structure for BAPI10004RESHEAD in APO data available in SAP. These include RESOURCE (Name of the APO Resource), RESTYPE (APO Resource Category), LOCATION (), LOCTYPE ()... 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. .

CRES_BAPI_RES_HEAD structure Technical Details:

Delivery Class:
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced


SAP CRES_BAPI_RES_HEAD structure fields - Full list of fields found in SAP data dictionary

Looking for S/4HANA specific information? Click here to explore the details, fields and extensibility available for this table in the SAP S/4HANA version of the CRES_BAPI_RES_HEAD table. Also check whether the table still exists or has been transformed into a CDS view as part of the HANA simplifications.
Field Description Data Element Data Type length (Dec) Check table Conversion Routine Domain Name MemoryID SHLP
RESUIDGUID in 'CHAR' Format in Uppercase GUID_32CHAR32SYSUUID_C
RESOURCEName of the APO Resource CRES_RESOURCECHAR40CHAR40
RESTYPEAPO Resource Category CRES_RESTYPECHAR1CRES_RESTYPE
LOCATION 0
LOCTYPE 0
CALENDAR 0
TYPEAPO Resource Type CRES_RESOURCE_TYPENUMC2CRES_RESOURCE_TYPE
DIMENSIONDimension key DIMIDCHAR6Assigned to domainDIMID
DIMENSION_BUCKETDimension key DIMIDCHAR6Assigned to domainDIMID
BEGTI 0
ENDTI 0
BREAKTIME 0
BUFFERTIME 0
BUFFERTIME_UNIT 0
BUFFERTIME_UNIT_ISO 0
NOINDIVRES 0
NOINDIVRES_UNIT 0
NOINDIVRES_UNIT_ISOISO code for unit of measurement ISOCD_UNITCHAR3Assigned to domainISOCD_UNIT
INDIVRES_CAP 0
UTILIZATION 0
DEFINE_BUCKETS 0
CAPACITY_A 0
CAPACITY_A_UNIT 0
CAPACITY_A_UNIT_ISOISO code for unit of measurement ISOCD_UNITCHAR3Assigned to domainISOCD_UNIT
NUM_OF_PERIODS 0
PERIOD 0
PLANNER 0
VERSION_ACTIVE 0
FINITE_PLANNING 0
IS_BOTTLENECK 0
MIN_GAPS 0
OVERLOAD 0
UNDERLOAD 0
OVERLAP_BUCKETS 0
START_ON_GRID 0
MIN_OVERLAP 0
MIN_OVERLAP_UNIT 0
MIN_OVERLAP_UNIT_ISOISO code for unit of measurement ISOCD_UNITCHAR3Assigned to domainISOCD_UNIT
LOSS_FACTOR 0
REF_PROCTIME 0
REF_PROCTIME_UNIT 0
REF_PROCTIME_UNIT_ISOISO code for unit of measurement ISOCD_UNITCHAR3Assigned to domainISOCD_UNIT
TIMEZONETime Zone TIMEZONECHAR6Assigned to domainTZNZONE
TAKTS 0
BASE_RATE_QUANTITY 0
BASE_RATE_QUANTITY_UNIT 0
BASE_RATE_QUANTITY_UNIT_ISOISO code for unit of measurement ISOCD_UNITCHAR3Assigned to domainISOCD_UNIT
BASE_RATE_TIME 0
BASE_RATE_TIME_UNIT 0
BASE_RATE_TIME_UNIT_ISOISO code for unit of measurement ISOCD_UNITCHAR3Assigned to domainISOCD_UNIT
RITT_FLG 0
MDRMODELCharacter field of length 40 CHAR40CHAR40CHAR40
SORT 0
SYNC_START 0
SYNC_COMPATIBLE 0
MATRIX_NAME 0
REF_RESOURCE 0
TRATY 0
DAYS_MINUS 0
DAYS_PLUS 0
STORAGE_CAPABLE 0
MIN_STORAGE 0
MAX_STORAGE 0
MIN_REPLENISHMNT 0
STORAGE_UNIT 0
STORAGE_UNIT_ISOISO code for unit of measurement ISOCD_UNITCHAR3Assigned to domainISOCD_UNIT
SNPLCGeneral Flag FLAGCHAR1FLAG
R3KAPIDCapacity ID KAPIDNUMC8Assigned to domainKAPID
R3ARBIDObject ID of the resource CR_OBJIDNUMC8Assigned to domainCR_OBJID

Key field Non-key field



How do I retrieve data from SAP structure CRES_BAPI_RES_HEAD using ABAP code?

As CRES_BAPI_RES_HEAD 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 CRES_BAPI_RES_HEAD as there is no data to select.

How to access SAP table CRES_BAPI_RES_HEAD

Within an ECC or HANA version of SAP you can also view further information about CRES_BAPI_RES_HEAD and the data within it using relevant transactions such as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).