SAP CRAPO4 Transfer Structure for Capacities ==> Resources APO 40 Table data and field list

CRAPO4 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 "Transfer Structure for Capacities ==> Resources APO 40" 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_CRAPO4 TYPE CRAPO4.

The CRAPO4 table consists of various fields, each holding specific information or linking keys about Transfer Structure for Capacities ==> Resources APO 40 data available in SAP. These include R3ARBID (Object ID of the resource), R3KAPID (Capacity ID), NAME (Resource Name), LOCNO (Location)... 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. .

CRAPO4 structure Technical Details:

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


SAP CRAPO4 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 CRAPO4 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
LOGSYSLogical system LOGSYSCHAR10Assigned to domainALPHALOGSYS
R3ARBIDObject ID of the resource CR_OBJIDNUMC8Assigned to domainCR_OBJID
R3KAPIDCapacity ID KAPIDNUMC8Assigned to domainKAPID
NAMEResource Name CIFRESNAMECHAR40CHAR40
LOCNOLocation CIFLOCNOCHAR20CIFLOCNO
LGORT_RESStorage Location LGORT_DCHAR4Assigned to domainLGORTLAG
AZNORNumber of individual capacities KAPANZAHLINT25KAPANZAHL
BEGZTStart time in seconds (internal) KAPBEGZTINT410INT4
ENDZTFinish time in seconds (internal) KAPENDZTINT410INT4
KALIDFactory calendar ID CR_WFCIDCHAR2Assigned to domainWFCIDFCI
NGRADCapacity utilization rate (percent) NUTZGRADNUMC3NUM3
PAUSECumulative break time in seconds (internal) KAPPAUSEINT410INT4
PLANRCapacity planner group KAPPLANERCHAR3Assigned to domainKAPPLANERCAG
REFIDCapacity ID KAPIDNUMC8Assigned to domainKAPID
VERSAActive version of available capacity KAPVERSAKTNUMC2Assigned to domainKAPVERSION
KAPTERIndicator: Capacity relevant to finite scheduling KAP_KZTERCHAR1XFELD
KAPAVOIndicator: Several operations can use capacity KAP_KZAVOCHAR1XFELD
UEBERLASTOverload UEBERLASTNUMC3NUM3
TYPEResource Type CRES_RESOURCETYPENUMC2CRES_RESOURCETYPE
RESTYPEResource Category CRES_RESOURCE_CATEGORYCHAR1CRESRESTYPE
CAPACITY_ACapacity of Bucket Resource CRES_CAPACITYV1_DISPQUAN13(3) QUAN_13
CAPACITY_A_UNITUnit of Measurement for the Capacity of a Bucket Resource CRES_CAPACITYV_UNITUNIT3Assigned to domainCUNITMEINS
NUM_OF_PERIODSNumber of Periods to Which the Capacity Refers CRES_NUM_OF_PERIODSNUMC3NUM3
PERIODPeriod Type CRES_PERIODNUMC2CRES_PERIOD
BUFFERTIMEResource-Dependent Time Buffer CRES_BUFFERTIMEINT410INT4
BUFFERTIME_UNITUnit of Measurement for Time Buffer CRES_BUFFERTIME_UNITUNIT3Assigned to domainCUNITMEINS
IS_BOTTLENECKThis Resource is a Bottleneck Resource CRES_BOTTLENECKCHAR1FLAG
UNDERLOADMinimum Capacity Load for the Resource CRES_UNDERLOADNUMC3NUMC3
OVERLAP_BUCKETSActivities can Overlap into Another Period CRES_OVERLAP_BUCKETSCHAR1FLAG
START_ON_GRIDActivities can Only Begin at the Start of the Bucket CRES_START_ON_GRIDCHAR1FLAG
MIN_OVERLAPMaximum Overlap of Activities CRES_MIN_OVERLAPINT410INT4
MIN_OVERLAP_UNITUnit of Measurement for Maximum Overlap of Two Activities CRES_MIN_OVERLAP_UNITUNIT3Assigned to domainCUNITMEINS
LOSS_FACTORLoss Factor in Percent when Deriving Bucket Capacity CRES_LOSS_FACTORNUMC3CRES_PERCENT
SORTFreely Selectable Character Sequence for Sorting Resources CRES_SORTCHAR30TEXT30
SYNC_STARTSynchronization of Activities when Overlapping Occurs CRES_SYNC_STARTNUMC1CRES_SYNC_START
DEFINE_BUCKETSDefinition of the Bucket Capacity of a Mixed Resource CRES_DEFINE_BUCKETSCHAR1FLAG
LC_DAYS_MINUSValidity of Available Capacity (In Past) CRES_GEN_LC_BACKWARDSNUMC4NUMC4
LC_DAYS_PLUSValidity of Available Resource Capacity (In the Future) CRES_GEN_LC_FORWARDNUMC4NUMC4
STORAGE_CAPABLEResource has Storage Characteristics CRES_STORAGE_CAPABLECHAR1FLAG
MIN_STORAGEMinimum Production Quantity CRES_MIN_STORAGEQUAN15(3) CRES_QUAN15_3
MAX_STORAGEMaximum Stock Level CRES_MAX_STORAGEQUAN15(3) CRES_QUAN15_3
STORAGE_UNITStock Unit CRES_STORAGE_UNITUNIT3Assigned to domainCUNITMEINS
DIM_STORAGEDimension of Storage Characteristic of a Resource CRES_DIMENSION_STORAGECHAR6Assigned to domainDIMID
STORAGE_TO_ZEROHandling of Remaining Fill Level CRES_STORAGE_TO_ZEROCHAR1FLAG
SNPLCResource is not Relevant to SNP CRES_SNPLCCHAR1FLAG
UTIL_BUCKETUtilization Rate for Bucket-Oriented Capacity [%] CRES_UTIL_BUCKETDEC6(3) DEC3_3
CAMPAIGN_PPDSResource is Campaign-Relevant CRES_CAMPAIGN_PPDSCHAR1FLAG
CAMPAIGN_SNPCross-Period Lot Sizes CRES_CAMPAIGN_SNPCHAR1CRES_CAMPAIGN_SNP
TSTREAM_EXTERNALCapacity Data for Time Stream Originates in External System CRES_TSTREAM_EXTERNALCHAR1FLAG
BR_QUANTNumber of Units of Measure for Base Rate CRES_BASE_RATEQUAN13(3) QUAN_13
BR_QUNITUnit of Measure for Production Rate CRES_RATE_QUNITUNIT3Assigned to domainCUNITMEINS
BR_TIMENumber of Time Units for Production Rate CRES_RATE_TIMEQUAN5(2) CRES_RATE_TIME
BR_TUNITTime Unit of Production Rate CRES_RATE_TUNITUNIT3Assigned to domainCUNITMEINS
RITT_FLG/SAPAPO/RITT_FLG CRES_RITT_FLGCHAR1FLAG
MDRMODELDefintion Name for the Product-Dependent Rate CRES_MDR_NAMECHAR40CHAR40
FINITY_LEVELFiniteness Level of Resource CRES_FINITY_LEVELNUMC4NUMC4
PP_DEF_BUCKETSDefinition of PP/DS Bucket Capacity CRES_PP_DEFINE_BUCKETSCHAR1CRES_PP_DEFINE_BUCKETS
PP_BUCKET_SCHEMAPP/DS Bucket Schema CRES_PP_BUCKET_SCHEMANUMC2CRES_PP_BUCKET_SCHEMA
PP_BUCKET_FACTFactor: Relation. of Avl. Bucket Cap. to Avl. Time-Cont Cap. CRES_PP_BUCKET_FACTORNUMC3NUMC3
MIX_PLAN_TYPEFinite Capacity of a Mixed Resource CRES_MIX_PLAN_TYPENUMC1CRES_MIX_PLAN_TYPE

Key field Non-key field



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

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

How to access SAP table CRAPO4

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

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