I_IN_MatlDocNotReversed
Documents which are not canceled
I_IN_MatlDocNotReversed is a Basic CDS View that provides data about "Documents which are not canceled" in SAP S/4HANA. It reads from 1 data source (I_IN_GoodsIssueDocList) and exposes 54 fields with key fields MaterialDocumentYear, MaterialDocument, MaterialDocumentItem, SubcontrgChallan, Item. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_IN_GoodsIssueDocList | I_IN_GoodsIssueDocList | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..*] | I_IN_BusinessPlace | _I_IN_BusinessPlace | $projection.CompanyCode = I_IN_GoodsIssueDocList.CompanyCode and _I_IN_BusinessPlace.CompanyCode = 'IN' |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IMATDOCNOTREV | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Documents which are not canceled | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #BASIC | view |
Fields (54)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MaterialDocumentYear | MaterialDocumentYear | Material Document Year | |
| KEY | MaterialDocument | MaterialDocument | Material Doc. | |
| KEY | MaterialDocumentItem | MaterialDocumentItem | Material Document Item | |
| KEY | SubcontrgChallan | j_1ig_subcon | chln_inv | Challan or Inv. No. |
| KEY | Item | j_1ig_subcon | item | Task ID |
| Plant | Plant | Valuation Area | ||
| Material | Material | Vehicle Model | ||
| StorageLocation | StorageLocation | StorageLocation | ||
| SubcontrgBatch | j_1ig_subcon | charg | Chargeable Proc. | |
| Supplier | Supplier | Supplier | ||
| GoodsMovementType | GoodsMovementType | Movement Type | ||
| QuantityInEntryUnit | QuantityInEntryUnit | Quantity in Unit of Entry | ||
| EntryUnit | EntryUnit | Unit of Entry | ||
| ReversedMaterialDocumentYear | ReversedMaterialDocumentYear | Reversed Doc Year | ||
| ReversedMaterialDocument | ReversedMaterialDocument | Reversed Mat Doc | ||
| ReversedMaterialDocumentItem | ReversedMaterialDocumentItem | Reversed Doc Item | ||
| RvslOfGoodsReceiptIsAllowed | RvslOfGoodsReceiptIsAllowed | |||
| IsReversalMovementType | IsReversalMovementType | |||
| GoodsMovementIsCancelled | GoodsMovementIsCancelled | Is Item Cancelled | ||
| GoodsMovementCancellationType | GoodsMovementCancellationType | |||
| GoodsRecipientName | GoodsRecipientName | Recipient Name | ||
| UnloadingPointName | UnloadingPointName | Unloading Point Name | ||
| CostCenter | CostCenter | Cost Center | ||
| GLAccount | GLAccount | General Ledger | ||
| CostObject | CostObject | Cost Object | ||
| ProfitabilitySegment | ProfitabilitySegment | Profitability Segment | ||
| ProfitCenter | ProfitCenter | Profit Center | ||
| CostEstimate | CostEstimate | Cost EstimateNo | ||
| ReferenceDocument | ReferenceDocument | Reference Document | ||
| ServicePerformer | ServicePerformer | Service Performer | ||
| EmploymentInternalID | EmploymentInternalID | WorkForce Assgmt ID | ||
| AccountAssignmentCategory | AccountAssignmentCategory | Acct Assgmt Cat | ||
| WorkItem | WorkItem | Work Item ID | ||
| ServicesRenderedDate | ServicesRenderedDate | Services Rendered Date | ||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| BusinessArea | BusinessArea | Business Area | ||
| PostingDate | PostingDate | Posting Date for GR | ||
| TotalGoodsMvtAmtInCCCrcy | TotalGoodsMvtAmtInCCCrcy | |||
| GoodsMovementStkAmtInCCCrcy | GoodsMovementStkAmtInCCCrcy | |||
| GoodsMvtCnsmpnAmtInCCCrcy | GoodsMvtCnsmpnAmtInCCCrcy | |||
| CompanyCodeCurrency | CompanyCodeCurrency | Local Currency | ||
| IsAutomaticallyCreated | IsAutomaticallyCreated | Is Automatically Created | ||
| UserName | UserName | User who owns item | ||
| DomainValue | j_1ig_subconstat | chln_status | ||
| SuccessCount | j_1ig_subconstat | success | TRUE | |
| NumberOfAlerts | j_1ig_subconstat | failed | Failed | |
| NumberOfMinorAlerts | j_1ig_subconstat | to_be_processed | ||
| _BusinessArea | _BusinessArea | |||
| _CompanyCode | _CompanyCode | |||
| _Material | _Material | |||
| _Plant | _Plant | |||
| _StorageLocation | _StorageLocation | |||
| _Supplier | _Supplier | |||
| _I_IN_BusinessPlace | _I_IN_BusinessPlace |
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_IN_MatlDocNotReversed.
-- 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: IMATDOCNOTREV
CREATE VIEW I_IN_MatlDocNotReversed AS
SELECT
MaterialDocumentYear,
MaterialDocument,
MaterialDocumentItem,
j_1ig_subcon.chln_inv AS SubcontrgChallan,
j_1ig_subcon.item AS Item,
Plant,
Material,
StorageLocation,
j_1ig_subcon.charg AS SubcontrgBatch,
Supplier,
GoodsMovementType,
QuantityInEntryUnit,
EntryUnit,
ReversedMaterialDocumentYear,
ReversedMaterialDocument,
ReversedMaterialDocumentItem,
RvslOfGoodsReceiptIsAllowed,
IsReversalMovementType,
GoodsMovementIsCancelled,
GoodsMovementCancellationType,
GoodsRecipientName,
UnloadingPointName,
CostCenter,
GLAccount,
CostObject,
ProfitabilitySegment,
ProfitCenter,
CostEstimate,
ReferenceDocument,
ServicePerformer,
EmploymentInternalID,
AccountAssignmentCategory,
WorkItem,
ServicesRenderedDate,
CompanyCode,
BusinessArea,
PostingDate,
TotalGoodsMvtAmtInCCCrcy,
GoodsMovementStkAmtInCCCrcy,
GoodsMvtCnsmpnAmtInCCCrcy,
CompanyCodeCurrency,
IsAutomaticallyCreated,
UserName,
j_1ig_subconstat.chln_status AS DomainValue,
j_1ig_subconstat.success AS SuccessCount,
j_1ig_subconstat.failed AS NumberOfAlerts,
j_1ig_subconstat.to_be_processed AS NumberOfMinorAlerts
FROM I_IN_GoodsIssueDocList
LEFT OUTER JOIN I_IN_BusinessPlace AS _I_IN_BusinessPlace ON CompanyCode = I_IN_GoodsIssueDocList.CompanyCode AND _I_IN_BusinessPlace.CompanyCode = 'IN' -- association [1..*]
;
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