I_ACMAppDocumentItem
ACM Application Document Item Details
I_ACMAppDocumentItem is a Basic CDS View that provides data about "ACM Application Document Item Details" in SAP S/4HANA. It reads from 1 data source (/accgo/t_cas_cai) and exposes 49 fields with key fields ApplicationDocument, ReferenceApplicationItem, ReferenceApplicationSide, ACMApplicationDocumentSubItem.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| /accgo/t_cas_cai | Item | from |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IACMAPPITEMDET | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.type | #INHERITED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| ObjectModel.supportedCapabilities | #CDS_MODELING_DATA_SOURCE | view | |
| EndUserText.label | ACM Application Document Item Details | view |
Fields (49)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ApplicationDocument | appldoc | Appl. Document No. | |
| KEY | ReferenceApplicationItem | item | Task ID | |
| KEY | ReferenceApplicationSide | side | Side | |
| KEY | ACMApplicationDocumentSubItem | sub_item | SubItemNumber | |
| ContractApplicationItemUUID | item_guid | Push ItemGU | ||
| DocumentDate | budat | Posting Date | ||
| ObjectInternalID | appl_objnr | Object number | ||
| ACMSettlementStatusObject | stl_objnr | Object number | ||
| ACMStorageStatusObject | ||||
| Material | matnr | Vehicle Model | ||
| Plant | werks | Receiving Plant | ||
| LoadDataCaptureObjId | uis_id | LDC ID | ||
| LDCKey | uis_guid | LDC Key | ||
| StorageStartDate | strg_start_date | Storage Start Date | ||
| StorageEndDate | strg_end_date | Storage End Date | ||
| WarehouseReceiptType | whr_type | WHR Type | ||
| WarehouseReceiptNo | whr_id | WHR Number | ||
| WarehouseReceiptStartDate | whr_start_date | Warehouse Start Date | ||
| WarehouseReceiptEndDate | whr_end_date | WHR End Date | ||
| WarehouseReceiptObligationType | obligation_type | Obligation Type | ||
| ACMWarehouseReceiptQtyVal | WHR Receipted Qty | |||
| WarehouseReceiptedQuantityUnit | whr_uom | WHR Recpt Qty UoM | ||
| ACMWarehouseReceiptOpenQtyVal | Open WHR Quantity | |||
| WarehouseReceiptedOpenQtyUnit | open_whr_uom | Open WHR Qty UoM | ||
| StorageRatesLockedValue | strg_rates_locked | Rates Locked | ||
| StorageFreeDaysValue | strg_free_days | Free Days | ||
| StorageAgreement | strg_agreement | Stor. Agreement | ||
| StorageAgreementItem | strg_agreement_item | Strg Agr Item | ||
| ApplDocumentCreatedBy | created_by | Version Created By | ||
| ApplDocumentChangedBy | changed_by | User Name | ||
| clientNULLasApplicationItemCreatedOnDate | ||||
| clientNULLasApplicationItemChangedOnDate | ||||
| DeliveryDate | delivery_date_eod | Delivery Date | ||
| ACMApplDocContrOptnLoadLoc | load_location | Load Location | ||
| ACMApplDocContrOptnDschrgdLoc | discharge_loc | Discharge Location | ||
| ACMContractOptionsCropSeasonID | crop_season_id | Crop Season ID | ||
| ACMContrOptionsSourceLocation | source_loc | Source Location | ||
| ModeOfTransport | vktra | Single-Character Flag | ||
| ACMContrOptionsMnsOfTransport | means_trnspt | Means of Transport | ||
| DeliveryStartDate | del_period | Delivery Period | ||
| DeliveryEndDate | del_period_end | Delivery End Date | ||
| ReferenceVendor | Vendor no. | |||
| CustomerNum | Stock customer | |||
| UnitOfMeasure | item_uom | ItemUoM | ||
| ACMApplOvwSpotFlag | spot_eod | Spot Scenario | ||
| ACMDecimalGrossQuantity | delv_qty_menge | ItemQty Mat UoM | ||
| ACMNetQuantity | Adjusted Quantity | |||
| ConversionFactorNmrtrValue | umrez | Numerator | ||
| ConversionFactorDnmntrValue | umren | Denominator |
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_ACMAppDocumentItem.
-- 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: IACMAPPITEMDET
CREATE VIEW I_ACMAppDocumentItem AS
SELECT
appldoc AS ApplicationDocument,
item AS ReferenceApplicationItem,
side AS ReferenceApplicationSide,
sub_item AS ACMApplicationDocumentSubItem,
item_guid AS ContractApplicationItemUUID,
budat AS DocumentDate,
appl_objnr AS ObjectInternalID,
stl_objnr AS ACMSettlementStatusObject,
concat('X5',concat(appldoc,item)) AS ACMStorageStatusObject,
matnr AS Material,
werks AS Plant,
uis_id AS LoadDataCaptureObjId,
uis_guid AS LDCKey,
strg_start_date AS StorageStartDate,
strg_end_date AS StorageEndDate,
whr_type AS WarehouseReceiptType,
whr_id AS WarehouseReceiptNo,
whr_start_date AS WarehouseReceiptStartDate,
whr_end_date AS WarehouseReceiptEndDate,
obligation_type AS WarehouseReceiptObligationType,
cast( whr_qty as abap.dec( 15, 3 ) ) AS ACMWarehouseReceiptQtyVal,
whr_uom AS WarehouseReceiptedQuantityUnit,
cast( open_whr_qty as abap.dec( 15, 3 ) ) AS ACMWarehouseReceiptOpenQtyVal,
open_whr_uom AS WarehouseReceiptedOpenQtyUnit,
strg_rates_locked AS StorageRatesLockedValue,
strg_free_days AS StorageFreeDaysValue,
strg_agreement AS StorageAgreement,
strg_agreement_item AS StorageAgreementItem,
created_by AS ApplDocumentCreatedBy,
changed_by AS ApplDocumentChangedBy,
tstmp_to_dats( created_on, abap_system_timezone( $session.client,'NULL' ), $session.client, 'NULL' ) as ApplicationItemCreatedOnDate AS clientNULLasApplicationItemCreatedOnDate,
tstmp_to_dats( changed_on, abap_system_timezone( $session.client,'NULL' ), $session.client, 'NULL' ) as ApplicationItemChangedOnDate AS clientNULLasApplicationItemChangedOnDate,
delivery_date_eod AS DeliveryDate,
load_location AS ACMApplDocContrOptnLoadLoc,
discharge_loc AS ACMApplDocContrOptnDschrgdLoc,
crop_season_id AS ACMContractOptionsCropSeasonID,
source_loc AS ACMContrOptionsSourceLocation,
vktra AS ModeOfTransport,
means_trnspt AS ACMContrOptionsMnsOfTransport,
del_period AS DeliveryStartDate,
del_period_end AS DeliveryEndDate,
cast(lifnr as lifnr preserving type ) AS ReferenceVendor,
cast(kunnr as kunnr preserving type ) AS CustomerNum,
item_uom AS UnitOfMeasure,
spot_eod AS ACMApplOvwSpotFlag,
delv_qty_menge AS ACMDecimalGrossQuantity,
cast( adjusted_qty_dec as abap.quan( 13, 3 ) ) AS ACMNetQuantity,
umrez AS ConversionFactorNmrtrValue,
umren AS ConversionFactorDnmntrValue
FROM /accgo/t_cas_cai AS Item
;
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