R_TrsyDistributorBizTransExtID

DDL: R_TRSYDISTRIBUTORBIZTRANSEXTID Type: view_entity BASIC

TRDBusinessTransaction by ExtBusTransID

R_TrsyDistributorBizTransExtID is a Basic CDS View that provides data about "TRDBusinessTransaction by ExtBusTransID" in SAP S/4HANA. It reads from 1 data source (trdt_trdbustrans) and exposes 7 fields with key field BusinessTransactionDocUUID.

Data Sources (1)

SourceAliasJoin Type
trdt_trdbustrans BusinessTransaction from

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
EndUserText.label TRDBusinessTransaction by ExtBusTransID view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY BusinessTransactionDocUUID trdt_trdbustrans os_guid Lot
CompanyCode trdt_trdbustrans company_code Company Code
FinancialTransaction trdt_trdbustrans deal_number Transaction
FinancialInstrumentActivity
CreationDate
CreationTime
FinTransFlowNumber

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 R_TrsyDistributorBizTransExtID.
-- 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 R_TrsyDistributorBizTransExtID AS
SELECT
  BusinessTransaction.os_guid AS BusinessTransactionDocUUID,
  BusinessTransaction.company_code AS CompanyCode,
  BusinessTransaction.deal_number AS FinancialTransaction,
  cast(substring(BusinessTransaction.extbustransid,18,5) as tb_rfhazu ) AS FinancialInstrumentActivity,
  cast(substring(BusinessTransaction.extbustransid,23,8) as tb_crdat ) AS CreationDate,
  cast(substring(BusinessTransaction.extbustransid,31,6) as tb_tcrtim ) AS CreationTime,
  cast(substring(BusinessTransaction.extbustransid,37,4) as tb_rfhazb ) AS FinTransFlowNumber
FROM trdt_trdbustrans AS BusinessTransaction
;