P_TractPosContext

DDL: P_TRACTPOSCONTEXT Type: view_entity BASIC Package: FTR_ACCOUNTING_ADAPTOR_CORE

CDS view for Treasury table: TRACT_POSCONTEXT

P_TractPosContext is a Basic CDS View that provides data about "CDS view for Treasury table: TRACT_POSCONTEXT" in SAP S/4HANA. It reads from 1 data source (tract_poscontext) and exposes 10 fields with key field PosContextUUID. Part of development package FTR_ACCOUNTING_ADAPTOR_CORE.

Data Sources (1)

SourceAliasJoin Type
tract_poscontext poscontext from

Annotations (3)

NameValueLevelField
VDM.viewType #BASIC view
VDM.private true view
AccessControl.authorizationCheck #NOT_REQUIRED view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY PosContextUUID tract_poscontext os_guid Lot
PosIdentityUUID tract_poscontext pos_identif_oid DB Object ID
PosIdentityClS tract_poscontext pos_identif_cls DB Object ID
AccountAssignmentRefPrelim tract_poscontext account_ass_ref Acct Assignment Ref.
ContextStatus tract_poscontext contxtstate Status- pos. context
TreasuryGLAccountAssignmentRef tract_poscontext aa_ref Acct Assignment Ref.
BusinessPlace tract_poscontext bupla Business place
StorageSection tract_poscontext secco Section Code
FunctionalArea tract_poscontext fkber Functional Area
CostCenter tract_poscontext kostl Substitute CC

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_TractPosContext.
-- 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.

CREATE VIEW P_TractPosContext AS
SELECT
  poscontext.os_guid AS PosContextUUID,
  poscontext.pos_identif_oid AS PosIdentityUUID,
  poscontext.pos_identif_cls AS PosIdentityClS,
  poscontext.account_ass_ref AS AccountAssignmentRefPrelim,
  poscontext.contxtstate AS ContextStatus,
  poscontext.aa_ref AS TreasuryGLAccountAssignmentRef,
  poscontext.bupla AS BusinessPlace,
  poscontext.secco AS StorageSection,
  poscontext.fkber AS FunctionalArea,
  poscontext.kostl AS CostCenter
FROM tract_poscontext AS poscontext
;