I_NL_SAFTBusinessPartnerCA

DDL: I_NL_SAFTBUSINESSPARTNERCA SQL: ISFTNLBPCA Type: view COMPOSITE

SAFT-T NL Business Partner FICA

I_NL_SAFTBusinessPartnerCA is a Composite CDS View that provides data about "SAFT-T NL Business Partner FICA" in SAP S/4HANA. It reads from 1 data source (I_CustomerToBusinessPartner) and exposes 16 fields with key field BusinessPartner. It has 7 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_CustomerToBusinessPartner CustomerToBP inner

Associations (7)

CardinalityTargetAliasCondition
[0..*] P_SAFTBPMultipleVATNmbr BPMultiVAT BPMultiVAT.BusinessPartner = BusinessPartner.BusinessPartner
[0..1] P_NL_SAFTCreditLimit BPCreditLimit BPCreditLimit.BusinessPartner = BusinessPartner.BusinessPartner
[0..1] I_SupplierToBusinessPartner SupplierToBP SupplierToBP.BusinessPartnerUUID = BusinessPartner.BusinessPartnerUUID
[0..1] I_CustomerToBusinessPartner CustomerToBP CustomerToBP.BusinessPartnerUUID = BusinessPartner.BusinessPartnerUUID
[0..1] I_Businesspartnertaxnumber _BPTaxNumber _BPTaxNumber.BusinessPartner = $projection.BusinessPartner and _BPTaxNumber.BPTaxType = 'NL0'
[0..1] I_BusinessPartnerBank _BPBank _BPBank.BusinessPartner = $projection.BusinessPartner and _BPBank.BankIdentification = '0001'
[0..*] I_BuPaIdentification _BPIdentification _BPIdentification.BusinessPartner = $projection.BusinessPartner and _BPIdentification.BPIdentificationType = 'BUP002'

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName ISFTNLBPCA view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #BLOCKED_DATA_INCLUDED view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #COMPOSITE view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label SAFT-T NL Business Partner FICA view

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY BusinessPartner BusinessPartner BusinessPartner Issuing Authority
BusinessPartnerUUID BusinessPartner BusinessPartnerUUID UUID
BusinessPartnerName
Customer
Supplier
PhoneNumber
FaxNumber
EmailAddress
SearchURLAddress
CustomerCreditLimitAmount
CreditSegmentCurrency BPCreditLimit CreditSegmentCurrency Currency
AddressCountry
_BPTaxNumber _BPTaxNumber
_BPBank _BPBank
_CurrentDefaultAddress _CurrentDefaultAddress
_BPIdentification _BPIdentification

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_NL_SAFTBusinessPartnerCA.
-- 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: ISFTNLBPCA

CREATE VIEW I_NL_SAFTBusinessPartnerCA AS
SELECT
  BusinessPartner.BusinessPartner AS BusinessPartner,
  BusinessPartner.BusinessPartnerUUID AS BusinessPartnerUUID,
  cast(BusinessPartner.BusinessPartnerName as abap.char(50)) AS BusinessPartnerName,
  coalesce(CustomerToBP.Customer, ' ') AS Customer,
  coalesce(SupplierToBP.Supplier, ' ') AS Supplier,
  coalesce(BusinessPartner._CurrentDefaultAddress._Address._DefaultPhoneNumber.PhoneNumber, '') AS PhoneNumber,
  cast( coalesce(BusinessPartner._CurrentDefaultAddress._Address._DefaultFaxNumber.FaxNumber, '') as telfx ) AS FaxNumber,
  coalesce(BusinessPartner._CurrentDefaultAddress._Address._DefaultEmailAddress.EmailAddress, '') AS EmailAddress,
  coalesce(BusinessPartner._CurrentDefaultAddress._Address._DefaultURLAddress.SearchURLAddress, '') AS SearchURLAddress,
  coalesce(BPCreditLimit.CustomerCreditLimitAmount, 0) AS CustomerCreditLimitAmount,
  BPCreditLimit.CreditSegmentCurrency AS CreditSegmentCurrency,
  coalesce(BusinessPartner._CurrentDefaultAddress._Address.Country, ' ') AS AddressCountry
INNER JOIN I_CustomerToBusinessPartner AS CustomerToBP ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN P_SAFTBPMultipleVATNmbr AS BPMultiVAT ON BPMultiVAT.BusinessPartner = BusinessPartner.BusinessPartner  -- association [0..*]
LEFT OUTER JOIN P_NL_SAFTCreditLimit AS BPCreditLimit ON BPCreditLimit.BusinessPartner = BusinessPartner.BusinessPartner  -- association [0..1]
LEFT OUTER JOIN I_SupplierToBusinessPartner AS SupplierToBP ON SupplierToBP.BusinessPartnerUUID = BusinessPartner.BusinessPartnerUUID  -- association [0..1]
LEFT OUTER JOIN I_CustomerToBusinessPartner AS CustomerToBP ON CustomerToBP.BusinessPartnerUUID = BusinessPartner.BusinessPartnerUUID  -- association [0..1]
LEFT OUTER JOIN I_Businesspartnertaxnumber AS _BPTaxNumber ON _BPTaxNumber.BusinessPartner = BusinessPartner AND _BPTaxNumber.BPTaxType = 'NL0'  -- association [0..1]
LEFT OUTER JOIN I_BusinessPartnerBank AS _BPBank ON _BPBank.BusinessPartner = BusinessPartner AND _BPBank.BankIdentification = '0001'  -- association [0..1]
LEFT OUTER JOIN I_BuPaIdentification AS _BPIdentification ON _BPIdentification.BusinessPartner = BusinessPartner AND _BPIdentification.BPIdentificationType = 'BUP002'  -- association [0..*]
;