P_TractPosContext
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)
| Source | Alias | Join Type |
|---|---|---|
| tract_poscontext | poscontext | from |
Annotations (3)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.viewType | #BASIC | view | |
| VDM.private | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view |
Fields (10)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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
;
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