P_RO_SAFTBSECTaxID
BSEC TaxID
P_RO_SAFTBSECTaxID is a Composite CDS View that provides data about "BSEC TaxID" in SAP S/4HANA. It reads from 1 data source (I_JournalEntryItemOneTimeData) and exposes 5 fields with key fields CompanyCode, AccountingDocument, FiscalYear, AccountingDocumentItem.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_JournalEntryItemOneTimeData | otd | from |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PROSAFTBSECTAXID | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | BSEC TaxID | view |
Fields (5)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | I_JournalEntryItemOneTimeData | CompanyCode | |
| KEY | AccountingDocument | I_JournalEntryItemOneTimeData | AccountingDocument | |
| KEY | FiscalYear | I_JournalEntryItemOneTimeData | FiscalYear | |
| KEY | AccountingDocumentItem | I_JournalEntryItemOneTimeData | AccountingDocumentItem | |
| TaxID5elseendasVATRegistration |
@AbapCatalog.sqlViewName: 'PROSAFTBSECTAXID'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.viewType: #COMPOSITE
@VDM.private:true
@ObjectModel.usageType.sizeCategory: #M
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'BSEC TaxID'
define view P_RO_SAFTBSECTaxID
as select from I_JournalEntryItemOneTimeData as otd
{
key otd.CompanyCode,
key otd.AccountingDocument,
key otd.FiscalYear,
key otd.AccountingDocumentItem,
case
when otd.TaxID1 <> '' then otd.TaxID1
when otd.TaxID2 <> '' then otd.TaxID2
when otd.TaxID3 <> '' then otd.TaxID3
when otd.TaxID4 <> '' then otd.TaxID4
when otd.TaxID5 <> '' then otd.TaxID5
else ''
end as VATRegistration
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_JOURNALENTRYITEMONETIMEDATA"
],
"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