P_ACMAppDocItm
P_ACMAppDocItm is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (/accgo/t_cas_cai) and exposes 56 fields with key fields appldoc, item, side, sub_item, item.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| /accgo/t_cas_cai | Item | from |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PACMAPPDOCITM | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.type | #INHERITED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.private | true | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| AbapCatalog.preserveKey | true | view |
Fields (56)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | appldoc | appldoc | Appl. Document No. | |
| KEY | item | item | Task ID | |
| KEY | side | side | Side | |
| KEY | sub_item | sub_item | SubItemNumber | |
| item_guid | item_guid | Push ItemGU | ||
| budat | budat | Posting Date | ||
| appl_objnr | appl_objnr | Object number | ||
| matnr | matnr | Vehicle Model | ||
| uis_id | uis_id | LDC ID | ||
| uis_guid | uis_guid | LDC Key | ||
| pred_doc3 | pred_doc3 | Reference Doc 3 | ||
| pred_side3 | pred_side3 | Side From3 | ||
| in_transit | in_transit | In Transit | ||
| is_planned | is_planned | Call-Off Exists | ||
| nomtk | nomtk | Nomination key | ||
| scalp_rel | scalp_rel | Back-to-Back? | ||
| mbs_rel | mbs_rel | Multiple Buy Sell | ||
| whr_type | whr_type | WHR Type | ||
| whr_id | whr_id | WHR Number | ||
| whr_end_date | whr_end_date | WHR End Date | ||
| whr_qty | whr_qty | WHR Receipted Qty | ||
| whr_uom | whr_uom | WHR Recpt Qty UoM | ||
| open_whr_qty | open_whr_qty | Open WHR Quantity | ||
| open_whr_uom | open_whr_uom | Open WHR Qty UoM | ||
| created_by | created_by | Version Created By | ||
| created_on | created_on | Variant created on | ||
| changed_by | changed_by | User Name | ||
| changed_on | changed_on | Variant Changed on | ||
| KEY | item | item | Task ID | |
| KEY | side | side | Side | |
| KEY | sub_item | sub_item | SubItemNumber | |
| item_guid | item_guid | Push ItemGU | ||
| budat | budat | Posting Date | ||
| appl_objnr | appl_objnr | Object number | ||
| matnr | matnr | Vehicle Model | ||
| uis_id | uis_id | LDC ID | ||
| uis_guid | uis_guid | LDC Key | ||
| pred_doc3 | pred_doc3 | Reference Doc 3 | ||
| pred_side3 | pred_side3 | Side From3 | ||
| in_transit | in_transit | In Transit | ||
| is_planned | is_planned | Call-Off Exists | ||
| nomtk | nomtk | Nomination key | ||
| scalp_rel | scalp_rel | Back-to-Back? | ||
| mbs_rel | mbs_rel | Multiple Buy Sell | ||
| whr_type | whr_type | WHR Type | ||
| whr_id | whr_id | WHR Number | ||
| whr_end_date | whr_end_date | WHR End Date | ||
| whr_qty | whr_qty | WHR Receipted Qty | ||
| whr_uom | whr_uom | WHR Recpt Qty UoM | ||
| open_whr_qty | open_whr_qty | Open WHR Quantity | ||
| open_whr_uom | open_whr_uom | Open WHR Qty UoM | ||
| created_by | created_by | Version Created By | ||
| created_on | created_on | Variant created on | ||
| changed_by | changed_by | User Name | ||
| changed_on | changed_on | Variant Changed on | ||
| Counterparty | Stock customer |
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 P_ACMAppDocItm.
-- 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: PACMAPPDOCITM
CREATE VIEW P_ACMAppDocItm AS
SELECT
appldoc,
item,
side,
sub_item,
item_guid,
budat,
appl_objnr,
matnr,
uis_id,
uis_guid,
pred_doc3,
pred_side3,
in_transit,
is_planned,
nomtk,
scalp_rel,
mbs_rel,
whr_type,
whr_id,
whr_end_date,
whr_qty,
whr_uom,
open_whr_qty,
open_whr_uom,
created_by,
created_on,
changed_by,
changed_on,
cast(kunnr as lifnr) AS Counterparty
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