I_RFMSalesDocumentType

DDL: I_RFMSALESDOCUMENTTYPE Type: view BASIC Package: VDM_RFM_SD

Sales Document Type Details

I_RFMSalesDocumentType is a Basic CDS View that provides data about "Sales Document Type Details" in SAP S/4HANA. It reads from 1 data source (tvak) and exposes 7 fields with key field SalesDocumentType. It has 1 association to related views. Part of development package VDM_RFM_SD.

Data Sources (1)

SourceAliasJoin Type
tvak tvak from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_SalesDocumentTypeText _Text $projection.SalesDocumentType = _Text.SalesDocumentType

Annotations (11)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.sqlViewName IRFMSLSDOCTYPE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
EndUserText.label Sales Document Type Details view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY SalesDocumentType auart Sales Doc. Type
RFMIsFashionContract fsh_cq_check Rqmt Relevant
PartFuncDeterminationStrategy rfm_bus_data_det BusDataDetermination
HeaderLevelDetn rfm_bus_sh_hdr Bus Data Ship-To Hdr
ItemLevelDetn rfm_bus_sh_itm Bus Data Ship-To Itm
RFMIsPrvsnlSlsContr rfm_prov_document Provisional Document
_Text _Text

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 I_RFMSalesDocumentType.
-- 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 I_RFMSalesDocumentType AS
SELECT
  auart AS SalesDocumentType,
  fsh_cq_check AS RFMIsFashionContract,
  rfm_bus_data_det AS PartFuncDeterminationStrategy,
  rfm_bus_sh_hdr AS HeaderLevelDetn,
  rfm_bus_sh_itm AS ItemLevelDetn,
  rfm_prov_document AS RFMIsPrvsnlSlsContr
FROM tvak
LEFT OUTER JOIN I_SalesDocumentTypeText AS _Text ON SalesDocumentType = _Text.SalesDocumentType  -- association [0..*]
;