Fins_Trr_Acc_Ass_Obj_vbap

DDL: FINS_TRR_ACC_ASS_OBJ_VBAP Type: view_entity Package: FINS_REV_REC_UTIL

Account Assignment Object

Fins_Trr_Acc_Ass_Obj_vbap is a CDS View that provides data about "Account Assignment Object" in SAP S/4HANA. It reads from 3 data sources (tka02, vbak, vbap) and exposes 16 fields. Part of development package FINS_REV_REC_UTIL.

Data Sources (3)

SourceAliasJoin Type
tka02 tka02 inner
vbak vbak inner
vbap vbap from

Annotations (6)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Account Assignment Object view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view

Fields (16)

KeyFieldSource TableSource FieldDescription
vbeln vbak vbeln SD Sched. Agmt
kunnr vbak kunnr Stock customer
bstnk vbak bstnk Cust. Reference
vbtyp vbak vbtyp TSW Det.Doc typ
kzvbr vbap kzvbr Consumption
vkorg vbak vkorg SD Sales Org.
bukrs
kokrs tka02 kokrs Org. Value
posnr vbap posnr WBS Element
werks vbap werks Receiving Plant
prctr vbap prctr Profit Centers
abgsl vbap abgrs RA Key
PSTYV vbap pstyv Item Category
matnr vbap matnr Vehicle Model
fakkz
ktext

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 Fins_Trr_Acc_Ass_Obj_vbap.
-- 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 Fins_Trr_Acc_Ass_Obj_vbap AS
SELECT
  vbak.vbeln AS vbeln,
  vbak.kunnr AS kunnr,
  vbak.bstnk AS bstnk,
  vbak.vbtyp AS vbtyp,
  vbap.kzvbr AS kzvbr,
  vbak.vkorg AS vkorg,
  cast( vbak.bukrs_vf as bukrs ) AS bukrs,
  tka02.kokrs AS kokrs,
  vbap.posnr AS posnr,
  vbap.werks AS werks,
  vbap.prctr AS prctr,
  vbap.abgrs AS abgsl,
  vbap.pstyv AS PSTYV,
  vbap.matnr AS matnr,
  cast( case when vbap.fkrel = ' ' then ' ' else 'X' end as ps_fakkz) AS fakkz,
  cast( vbap.arktx as auftext ) AS ktext
FROM vbap
INNER JOIN vbak ON /* join condition not captured in parsed metadata */
INNER JOIN tka02 ON /* join condition not captured in parsed metadata */
;