I_RO_SAFTOneTimeCustomer

DDL: I_RO_SAFTONETIMECUSTOMER SQL: IROSAFTOTC Type: view COMPOSITE

RO SAFT One Time Customer

I_RO_SAFTOneTimeCustomer is a Composite CDS View that provides data about "RO SAFT One Time Customer" in SAP S/4HANA. It reads from 2 data sources (I_OperationalAcctgDocItem, I_RO_SAFTOneTmeCustVATRegn) and exposes 13 fields with key fields CompanyCode, AccountingDocument, FiscalYear, AccountingDocumentItem.

Data Sources (2)

SourceAliasJoin Type
I_OperationalAcctgDocItem Bseg inner
I_RO_SAFTOneTmeCustVATRegn Otc from

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IROSAFTOTC view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
AccessControl.personalData.blocking #BLOCKED_DATA_INCLUDED view
AccessControl.authorizationCheck #MANDATORY view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label RO SAFT One Time Customer view

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode I_RO_SAFTOneTmeCustVATRegn CompanyCode Receiver Company Code
KEY AccountingDocument I_RO_SAFTOneTmeCustVATRegn AccountingDocument Journal Entry
KEY FiscalYear I_RO_SAFTOneTmeCustVATRegn FiscalYear G/L Fiscal Year
KEY AccountingDocumentItem I_RO_SAFTOneTmeCustVATRegn AccountingDocumentItem Posting View Item
Customer I_OperationalAcctgDocItem Customer Sold-to Party
CityName I_RO_SAFTOneTmeCustVATRegn CityName Name
Country I_RO_SAFTOneTmeCustVATRegn Country Venue: Ctry/Reg
PostalCode I_RO_SAFTOneTmeCustVATRegn PostalCode Postal Code
StreetName I_RO_SAFTOneTmeCustVATRegn StreetAddressName Street
Region I_RO_SAFTOneTmeCustVATRegn Region Venue Region
BusinessPartnerName1 I_RO_SAFTOneTmeCustVATRegn BusinessPartnerName1 Name
BusinessPartnerName2 I_RO_SAFTOneTmeCustVATRegn BusinessPartnerName2 Name 2
CustomerName

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_RO_SAFTOneTimeCustomer.
-- 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.
-- SQL view name: IROSAFTOTC

CREATE VIEW I_RO_SAFTOneTimeCustomer AS
SELECT
  Otc.CompanyCode AS CompanyCode,
  Otc.AccountingDocument AS AccountingDocument,
  Otc.FiscalYear AS FiscalYear,
  Otc.AccountingDocumentItem AS AccountingDocumentItem,
  Bseg.Customer AS Customer,
  Otc.CityName AS CityName,
  Otc.Country AS Country,
  Otc.PostalCode AS PostalCode,
  Otc.StreetAddressName AS StreetName,
  Otc.Region AS Region,
  Otc.BusinessPartnerName1 AS BusinessPartnerName1,
  Otc.BusinessPartnerName2 AS BusinessPartnerName2,
  concat_with_space(Otc.BusinessPartnerName1, Otc.BusinessPartnerName2, 1) AS CustomerName
FROM I_RO_SAFTOneTmeCustVATRegn AS Otc
INNER JOIN I_OperationalAcctgDocItem AS Bseg ON /* join condition not captured in parsed metadata */
;