I_RO_SAFTOneTmeCustVATRegn

DDL: I_RO_SAFTONETMECUSTVATREGN SQL: IROSAFTOTCVAT Type: view BASIC

RO SAFT One Time Customer

I_RO_SAFTOneTmeCustVATRegn is a Basic CDS View that provides data about "RO SAFT One Time Customer" in SAP S/4HANA. It reads from 1 data source (bsec) and exposes 19 fields with key fields CompanyCode, AccountingDocument, FiscalYear, AccountingDocumentItem.

Data Sources (1)

SourceAliasJoin Type
bsec bsec from

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IROSAFTOTCVAT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
VDM.viewType #BASIC 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 (19)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode bsec bukrs Value
KEY AccountingDocument bsec belnr SD Document
KEY FiscalYear
KEY AccountingDocumentItem bsec buzei Posting View Item
BusinessPartnerName1
BusinessPartnerName2
Country bsec land1 Trip Ctry/Reg
CityName
PostalCode bsec pstlz Postal Code
Region bsec regio Resident Region
TaxID1 bsec stcd1 Tax Number 1
TaxID2 bsec stcd2 Tax Number 2
TaxID3 bsec stcd3 Tax Number 3
TaxID4 bsec stcd4 Tax Number 4
TaxID5 bsec stcd5 Tax Number 5
StreetAddressName bsec stras Street/House
IsNaturalPerson
IsOneTimeAccount bsec xcpdk One-time acct
BankReference

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_SAFTOneTmeCustVATRegn.
-- 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: IROSAFTOTCVAT

CREATE VIEW I_RO_SAFTOneTmeCustVATRegn AS
SELECT
  bsec.bukrs AS CompanyCode,
  bsec.belnr AS AccountingDocument,
  cast( bsec.gjahr as fis_gjahr_no_conv preserving type ) AS FiscalYear,
  bsec.buzei AS AccountingDocumentItem,
  cast(bsec.name1 as ad_name1) AS BusinessPartnerName1,
  cast(bsec.name2 as ad_name2) AS BusinessPartnerName2,
  bsec.land1 AS Country,
  cast(bsec.ort01 as ad_city1) AS CityName,
  bsec.pstlz AS PostalCode,
  bsec.regio AS Region,
  bsec.stcd1 AS TaxID1,
  bsec.stcd2 AS TaxID2,
  bsec.stcd3 AS TaxID3,
  bsec.stcd4 AS TaxID4,
  bsec.stcd5 AS TaxID5,
  bsec.stras AS StreetAddressName,
  cast(bsec.stkzn as bu_natural_person) AS IsNaturalPerson,
  bsec.xcpdk AS IsOneTimeAccount,
  cast(bsec.bkref as refbk) AS BankReference
FROM bsec
;