I_CycleCountingSettings
Cycle Counting Settings exposed
I_CycleCountingSettings is a Basic CDS View that provides data about "Cycle Counting Settings exposed" in SAP S/4HANA. It reads from 1 data source (t159c) and exposes 6 fields with key fields Plant, CycleCountType.
SAP Help Documentation
| Category | CDS Views for Physical Inventory |
|---|
Purpose
The CDS view provides the configuration settings for the physical inventory process of cycle counting. You define the individual cycle counting indicators for the given plant. Cycle counting indicators categorize materials into specific groups. This CDS view provides the data to answer the following business questions: Which plants are eligible for cycle counting? What cycle counting types are available for each plant? How frequently are materials counted each year? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .
Prerequisites
Authorizations Users who want to use this CDS view must have the following authorization objects assigned: M_MSEG_WMB (Material Documents: Plant)
Structure
Important Fields Important fields in this view include the following: Field Name Description Plant Plant CycleCountType Cycle Counting Type NmbrOfPhysInvtryPerFiscalYear Number of Cycle Counts per Fiscal Year PhysInvtryIntvlForCycCounting Cycle Counting Interval PhysInvtryFloatTimeCycCounting Cycle Counting Float Time ConfigDeprecationCode Deprecated Entries
The CDS view provides the configuration settings for the physical inventory process of cycle counting. You define the individual cycle counting indicators for the given plant. Cycle counting indicators categorize materials into specific groups. This CDS view provides the data to answer the following business questions: Which plants are eligible for cycle counting? What cycle counting types are available for each plant? How frequently are materials counted each year? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .
Prerequisites
Authorizations Users who want to use this CDS view must have the following authorization objects assigned: M_MSEG_WMB (Material Documents: Plant)
Structure
Important Fields Important fields in this view include the following: Field Name Description Plant Plant CycleCountType Cycle Counting Type NmbrOfPhysInvtryPerFiscalYear Number of Cycle Counts per Fiscal Year PhysInvtryIntvlForCycCounting Cycle Counting Interval PhysInvtryFloatTimeCycCounting Cycle Counting Float Time ConfigDeprecationCode Deprecated Entries
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| t159c | t159c | from |
Annotations (22)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ICYCCOUNTSET | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.buffering.status | #ACTIVE | view | |
| AbapCatalog.buffering.type | #GENERIC | view | |
| AbapCatalog.buffering.numberOfKeyFields | 2 | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Cycle Counting Settings exposed | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ObjectModel.dataCategory | #VALUE_HELP | view | |
| ObjectModel.representativeKey | CycleCountType | view | |
| ObjectModel.sapObjectNodeType.name | PhysInvtryCycleCntImportance | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_DIMENSION | view | |
| VDM.private | false | view | |
| VDM.viewType | #BASIC | view | |
| Search.searchable | true | view | |
| Consumption.ranked | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Analytics.dataExtraction.enabled | true | view |
Fields (6)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Plant | werks | Receiving Plant | |
| KEY | CycleCountType | CC Phys. Inv. | ||
| NmbrOfPhysInvtryPerFiscalYear | No.of phys.inv. | |||
| PhysInvtryIntvlForCycCounting | Ph.inv.interval | |||
| PhysInvtryFloatTimeCycCounting | Float time | |||
| ConfigDeprecationCode | Validity |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view I_CycleCountingSettings.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
CREATE VIEW I_CycleCountingSettings AS
SELECT
werks AS Plant,
cast( abcin as mmim_cycle_count_type ) AS CycleCountType,
cast( aninv as mmim_cycle_count_per_fisc_year ) AS NmbrOfPhysInvtryPerFiscalYear,
cast( ininv as mmim_cycle_count_interval ) AS PhysInvtryIntvlForCycCounting,
cast( pzinv as mmim_cycle_count_float_time ) AS PhysInvtryFloatTimeCycCounting,
cast( configurationdeprecationcode as config_deprecation_code ) AS ConfigDeprecationCode
FROM t159c
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA