PiqCds_Moduledata
Module Data
PiqCds_Moduledata is a CDS View that provides data about "Module Data" in SAP S/4HANA. It reads from 5 data sources (hrp1024, hrp1751, hrp1746, hrp1741, dd07t) and exposes 25 fields. It has 4 associations to related views.
Data Sources (5)
Parameters (2)
| Name | Type | Default |
|---|---|---|
| p_idate | abap.dats | |
| p_lang | abap.lang |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | PiqCdsRepetitionType | _RepetitionType | _RepetitionType.MODREPEATTYPE = OS.modrepeattype |
| [0..*] | PiqCdsModuleCategory | _ModuleCategory | _ModuleCategory.CATEGORY = OS.category |
| [0..*] | PiqCdsAcademicLevl | _AcademicLevel | _AcademicLevel.SEVERITY = OS.severity |
| [0..*] | PiqCdsSessionPattern | _SessionPattern | _SessionPattern.offerpattern = OQ.offerpattern |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PIQCDSMODBKNDATA | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Module Data | view | |
| ClientDependent | true | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.serviceQuality | #X | view |
Fields (25)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| mandt | O | mandt | Editing Client | |
| StudyModule | O | objid | Work Center | |
| StudyModuleShortName | O | mc_short | Object abbr. | |
| StudyModuleName | O | stext | Text | |
| StudyModuleMinCredits | hrp1741 | cpmin | Min. Credits | |
| StudyModuleMaxCredits | hrp1741 | cpmax | Max. Credits | |
| StudyModuleOptimumCredits | hrp1741 | cpopt | Opt. Credits | |
| StudyModuleMinCapacity | hrp1024 | kapz1 | Minimum | |
| StudyModuleOptimumCapacity | hrp1024 | kapz2 | Optimum | |
| StudyModuleMaxCapacity | hrp1024 | kapz3 | Maximum | |
| StudyModuleSessionPattern | hrp1751 | offerpattern | Session Pattern | |
| StudyModuleAcademicLevel | hrp1746 | severity | Thresh.Val. Severity | |
| StudyModuleCategory | hrp1746 | category | Violation Category | |
| StudyModuleRepetitionType | hrp1746 | modrepeattype | Repetition Type | |
| StudyModuleWaitingListLevel | hrp1746 | waitl_level | Wait.List Level | |
| StudyModuleWaitListLevelName | dd07t | ddtext | Short text | |
| StudyModuleWaitlistInPercent | hrp1746 | waitl_number | WL Places in Pct | |
| StudyModuleWaitListIsDisabled | hrp1746 | waitl_disabled | WList Disabled | |
| StudyModuleMltplSctnIsEnabled | hrp1746 | mult_sec_enabled | Enable Mult. sec. | |
| ModuleBeginDate | O | begda | Valid From | |
| ModuleEndDate | O | endda | Valid To | |
| StudyModuleRepetitionTypeName | ||||
| StudyModuleCategoryName | ||||
| StudyModuleAcademicLevelName | ||||
| StudentSessionPatternText |
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 PiqCds_Moduledata.
-- 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.
-- SQL view name: PIQCDSMODBKNDATA
-- Parameters: p_idate : abap.dats, p_lang : abap.lang
CREATE VIEW PiqCds_Moduledata AS
SELECT
O.mandt AS mandt,
O.objid AS StudyModule,
O.mc_short AS StudyModuleShortName,
O.stext AS StudyModuleName,
OT.cpmin AS StudyModuleMinCredits,
OT.cpmax AS StudyModuleMaxCredits,
OT.cpopt AS StudyModuleOptimumCredits,
OP.kapz1 AS StudyModuleMinCapacity,
OP.kapz2 AS StudyModuleOptimumCapacity,
OP.kapz3 AS StudyModuleMaxCapacity,
OQ.offerpattern AS StudyModuleSessionPattern,
OS.severity AS StudyModuleAcademicLevel,
OS.category AS StudyModuleCategory,
OS.modrepeattype AS StudyModuleRepetitionType,
OS.waitl_level AS StudyModuleWaitingListLevel,
text.ddtext AS StudyModuleWaitListLevelName,
OS.waitl_number AS StudyModuleWaitlistInPercent,
OS.waitl_disabled AS StudyModuleWaitListIsDisabled,
OS.mult_sec_enabled AS StudyModuleMltplSctnIsEnabled,
O.begda AS ModuleBeginDate,
O.endda AS ModuleEndDate,
_RepetitionType._RepetitionTypeText[1: Language = $parameters.p_lang ].StudyModuleRepetitionTypeName AS StudyModuleRepetitionTypeName,
_ModuleCategory._ModuleCategoryText[1:Language = $parameters.p_lang ].StudyModuleCategoryName AS StudyModuleCategoryName,
_AcademicLevel._AcademicLevelText[1:Language = $parameters.p_lang ].StudyModuleAcademicLevelName AS StudyModuleAcademicLevelName,
_SessionPattern._SessionPatternText[1:Language = $parameters.p_lang ].StudentSessionPatternText AS StudentSessionPatternText
LEFT OUTER JOIN hrp1741 AS OT ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN hrp1024 AS OP ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN hrp1746 AS OS ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN hrp1751 AS OQ ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN dd07t AS text ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN PiqCdsRepetitionType AS _RepetitionType ON _RepetitionType.MODREPEATTYPE = OS.modrepeattype -- association [0..*]
LEFT OUTER JOIN PiqCdsModuleCategory AS _ModuleCategory ON _ModuleCategory.CATEGORY = OS.category -- association [0..*]
LEFT OUTER JOIN PiqCdsAcademicLevl AS _AcademicLevel ON _AcademicLevel.SEVERITY = OS.severity -- association [0..*]
LEFT OUTER JOIN PiqCdsSessionPattern AS _SessionPattern ON _SessionPattern.offerpattern = OQ.offerpattern -- association [0..*]
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- 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