P_ACMAppDocItm

DDL: P_ACMAPPDOCITM SQL: PACMAPPDOCITM Type: view BASIC

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)

SourceAliasJoin Type
/accgo/t_cas_cai Item from

Annotations (11)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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
;