P_RU_OperAcctgDocItemNegPost
VAT Reporting: Primary Document Selection
P_RU_OperAcctgDocItemNegPost is a Consumption CDS View that provides data about "VAT Reporting: Primary Document Selection" in SAP S/4HANA. It reads from 1 data source (I_OperationalAcctgDocItem) and exposes 4 fields. Part of development package GLO_FIN_IS_VAT_RU.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_OperationalAcctgDocItem | I_OperationalAcctgDocItem | from |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.private | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| AbapCatalog.sqlViewName | PRUACCDOCITNEGP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view |
Fields (4)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| CompanyCode | CompanyCode | |||
| AccountingDocument | AccountingDocument | |||
| FiscalYear | FiscalYear | |||
| IsNegativePosting | IsNegativePosting |
@VDM.private: true
@VDM.viewType: #CONSUMPTION
@AbapCatalog.sqlViewName: 'PRUACCDOCITNEGP'
@AbapCatalog.compiler.compareFilter:true
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.authorizationCheck: #NOT_REQUIRED
define view P_RU_OperAcctgDocItemNegPost
as select from I_OperationalAcctgDocItem
{
CompanyCode,
AccountingDocument,
FiscalYear,
IsNegativePosting
}
where
AccountingDocumentItem = '001'
and IsNegativePosting = 'X'
// as select distinct from I_OperationalAcctgDocItem
//
//{
// CompanyCode,
// AccountingDocument,
// FiscalYear,
// TaxCode,
// IsNegativePosting
//}
//where
// TaxCode <> ''
// and IsNegativePosting = 'X'
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