C_LU_SAFTGenLedgerBP
SAFT LU General Ledger Business Partner
C_LU_SAFTGenLedgerBP is a Consumption CDS View that provides data about "SAFT LU General Ledger Business Partner" in SAP S/4HANA. It has 1 association to related views.
Parameters (2)
| Name | Type | Default |
|---|---|---|
| P_StartDate | dats | |
| P_EndDate | dats |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_RegionText | _RegionText | GenLedBP.Region = _RegionText.Region and GenLedBP.Country = _RegionText.Country |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CLUSAFTGENLEDBP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_INCLUDED | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | SAFT LU General Ledger Business Partner | view | |
| VDM.lifecycle.status | #DEPRECATED | view |
Fields (26)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | CompanyCode | Receiver Company Code | |
| KEY | char35endasBPIdentificationTypeText | CHAR35 | ||
| KEY | BusinessPartnerType | Undefined range (can be used for patch levels) | ||
| BPIdentificationNumber | Issuing Authority | |||
| BusinessPartnerCustomer | CHAR35 | |||
| Customer | Customer | Sold-to Party | ||
| SupplierToPartner | CHAR35 | |||
| Supplier | Supplier | Supplier | ||
| VATRegistration | VATRegistration | VAT Registration No. | ||
| CompanyName | CompanyName | Text | ||
| StreetName | StreetName | Text | ||
| HouseNumber | HouseNumber | House Number | ||
| CityName | CityName | Name | ||
| PostalCode | PostalCode | Postal Code | ||
| Region | Region | Venue Region | ||
| RegionNameasRegionName | ||||
| Country | Country | Venue: Ctry/Reg | ||
| SAFTGeneralLedgerAccountID | SAFTGeneralLedgerAccountID | Char 70 | ||
| GLAccount | GLAccount | General Ledger | ||
| IBAN | ||||
| BankAccount | ||||
| Bank | ||||
| BankAccountHolderName | ||||
| BankControlKey | ||||
| Ledger | Ledger | Ledger | ||
| ChartOfAccounts | ChartOfAccounts | Node Class |
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 C_LU_SAFTGenLedgerBP.
-- 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: CLUSAFTGENLEDBP
-- Parameters: P_StartDate : dats, P_EndDate : dats
CREATE VIEW C_LU_SAFTGenLedgerBP AS
SELECT
CompanyCode,
case when BusinessPartnerType = '0001' then cast(BusinessPartnerCustomer as abap.char(35)) else cast(SupplierToPartner as abap.char(35)) end as BPIdentificationTypeText AS char35endasBPIdentificationTypeText,
cast(BusinessPartnerType as abap.char(4)) AS BusinessPartnerType,
cast(BusinessPartner as abap.char(60)) AS BPIdentificationNumber,
cast(BusinessPartnerCustomer as abap.char(35)) AS BusinessPartnerCustomer,
Customer,
cast(SupplierToPartner as abap.char(35)) AS SupplierToPartner,
Supplier,
VATRegistration,
CompanyName,
StreetName,
HouseNumber,
CityName,
PostalCode,
Region,
coalesce(_RegionText[1: Language = 'F'].RegionName, coalesce(_RegionText[1: Language = 'E'].RegionName, coalesce(_RegionText[1: Language = $session.system_language].RegionName, ''))) as RegionName AS RegionNameasRegionName,
Country,
SAFTGeneralLedgerAccountID,
GLAccount,
' ' AS IBAN,
' ' AS BankAccount,
' ' AS Bank,
'' AS BankAccountHolderName,
' ' AS BankControlKey,
Ledger,
ChartOfAccounts
LEFT OUTER JOIN I_RegionText AS _RegionText ON GenLedBP.Region = _RegionText.Region AND GenLedBP.Country = _RegionText.Country -- association [0..1]
;
Learn More
- S/4HANA CDS View Deprecation: What You Need to Know
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA