P_RO_SAFTBSEC
Bsec
P_RO_SAFTBSEC is a Basic CDS View that provides data about "Bsec" in SAP S/4HANA. It reads from 1 data source (bsec) and exposes 17 fields with key fields CompanyCode, AccountingDocument, FiscalYear, AccountingDocumentItem.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| bsec | bsec | from |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PROSAFTBSEC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| VDM.private | true | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Bsec | view |
Fields (17)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | bsec | bukrs | |
| KEY | AccountingDocument | bsec | belnr | |
| KEY | FiscalYear | |||
| KEY | AccountingDocumentItem | bsec | buzei | |
| BusinessPartnerName1 | ||||
| Country | bsec | land1 | ||
| CityName | ||||
| PostalCode | bsec | pstlz | ||
| Region | bsec | regio | ||
| TaxID1 | bsec | stcd1 | ||
| TaxID2 | bsec | stcd2 | ||
| TaxID3 | bsec | stcd3 | ||
| TaxID4 | bsec | stcd4 | ||
| TaxID5 | bsec | stcd5 | ||
| StreetAddressName | bsec | stras | ||
| IsNaturalPerson | ||||
| IsOneTimeAccount | bsec | xcpdk |
@AbapCatalog.sqlViewName: 'PROSAFTBSEC'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@VDM.private:true
@VDM.viewType: #BASIC
@ObjectModel.usageType.sizeCategory: #M
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Bsec'
define view P_RO_SAFTBSEC as select from bsec
{
key bsec.bukrs as CompanyCode,
key bsec.belnr as AccountingDocument,
key cast( bsec.gjahr as fis_gjahr_no_conv preserving type ) as FiscalYear,
key bsec.buzei as AccountingDocumentItem,
cast(bsec.name1 as ad_name1) as BusinessPartnerName1,
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
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"BSEC"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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