A_JournalEntryItemBasic
API Journal Entry Item Basic
A_JournalEntryItemBasic is a Composite CDS View that provides data about "API Journal Entry Item Basic" in SAP S/4HANA. It reads from 1 data source (I_JournalEntryItemCube) and exposes 160 fields. It has 4 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_JournalEntryItemCube | I_JournalEntryItemCube | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | A_CompanyCode | _CompanyCode | $projection.CompanyCode = _CompanyCode.CompanyCode |
| [0..1] | A_CostCenter | _CurrentCostCenter | $projection.ControllingArea = _CurrentCostCenter.ControllingArea and $projection.CostCenter = _CurrentCostCenter.CostCenter and _CurrentCostCenter.ValidityStartDate <= $session.system_date and _CurrentCostCenter.ValidityEndDate >= $session.system_date |
| [0..1] | A_ProfitCenter | _CurrentProfitCenter | $projection.ControllingArea = _CurrentProfitCenter.ControllingArea and $projection.ProfitCenter = _CurrentProfitCenter.ProfitCenter and _CurrentProfitCenter.ValidityStartDate <= $session.system_date and _CurrentProfitCenter.ValidityEndDate >= $session.system_date |
| [0..1] | A_GLAccountInChartOfAccounts | _GLAccountInChartOfAccounts | $projection.ChartOfAccounts = _GLAccountInChartOfAccounts.ChartOfAccounts and $projection.GLAccount = _GLAccountInChartOfAccounts.GLAccount |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | AFIJRNLBASIC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.lifecycle.contract.type | #PUBLIC_REMOTE_API | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | API Journal Entry Item Basic | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (160)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| Ledger | Ledger | Ledger | ||
| LedgerName | LedgerName | Ledger Name | ||
| SourceLedger | SourceLedger | Source Ledger | ||
| LedgerFiscalYear | LedgerFiscalYear | |||
| ControllingArea | ControllingArea | Controlling Area | ||
| ControllingAreaName | ControllingAreaName | Long Text | ||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| CompanyCodeName | CompanyCodeName | Company Name | ||
| GLAccount | GLAccount | General Ledger | ||
| GLAccountName | GLAccountName | Short Text | ||
| FinancialTransactionType | FinancialTransactionType | Transact. Type | ||
| BusinessTransactionCategory | BusinessTransactionCategory | Business Transaction Category | ||
| BusinessTransactionType | BusinessTransactionType | Bus.transaction | ||
| SourceReferenceDocumentType | SourceReferenceDocumentType | Ref. procedure | ||
| JrnlEntryItemObsoleteReason | JrnlEntryItemObsoleteReason | |||
| CostCenter | CostCenter | Cost Center | ||
| CostCenterName | CostCenterName | Name | ||
| ProfitCenter | ProfitCenter | Profit Center | ||
| ProfitCenterName | ProfitCenterName | Profit Center Name | ||
| FunctionalArea | FunctionalArea | Sendr Fctl Area | ||
| FunctionalAreaName | FunctionalAreaName | Long Text | ||
| BusinessArea | BusinessArea | Business Area | ||
| BusinessAreaName | BusinessAreaName | Business Area Name | ||
| Segment | Segment | Segment number | ||
| SegmentName | SegmentName | Segment Name | ||
| PartnerCostCenter | PartnerCostCenter | Sender Cost Ctr | ||
| PartnerCostCenterName | PartnerCostCenterName | |||
| PartnerProfitCenter | PartnerProfitCenter | Profit Center | ||
| PartnerProfitCenterName | PartnerProfitCenterName | |||
| PartnerFunctionalArea | PartnerFunctionalArea | Rec. Fntcl Area | ||
| PartnerFunctionalAreaName | PartnerFunctionalAreaName | |||
| PartnerBusinessArea | PartnerBusinessArea | Trdg Part.BA | ||
| PartnerBusinessAreaName | PartnerBusinessAreaName | |||
| PartnerCompany | PartnerCompany | Trading Partner | ||
| PartnerCompanyName | PartnerCompanyName | |||
| PartnerSegment | PartnerSegment | Partner Segment | ||
| PartnerSegmentName | PartnerSegmentName | |||
| TransactionCurrency | TransactionCurrency | Transaction Currency | ||
| AmountInTransactionCurrency | AmountInTransactionCurrency | Pt Crcy Amt | ||
| CompanyCodeCurrency | CompanyCodeCurrency | Local Currency | ||
| AmountInCompanyCodeCurrency | AmountInCompanyCodeCurrency | Local Crcy Amt | ||
| GlobalCurrency | GlobalCurrency | GM Billing Element: Global Currency | ||
| AmountInGlobalCurrency | AmountInGlobalCurrency | Amount in Global Currency | ||
| FixedAmountInGlobalCrcy | FixedAmountInGlobalCrcy | |||
| FunctionalCurrency | FunctionalCurrency | Functional Currency | ||
| AmountInFunctionalCurrency | AmountInFunctionalCurrency | Amount in Functional Currency | ||
| ControllingObjectCurrency | ControllingObjectCurrency | CO Object Currency | ||
| AmountInObjectCurrency | AmountInObjectCurrency | Amount in Obj Crcy | ||
| CostSourceUnit | CostSourceUnit | |||
| ValuationQuantity | ValuationQuantity | |||
| ValuationFixedQuantity | ValuationFixedQuantity | |||
| ReferenceQuantityUnit | ReferenceQuantityUnit | |||
| ReferenceQuantity | ReferenceQuantity | Comm Refer Quantity | ||
| FreeDefinedCurrency1 | FreeDefinedCurrency1 | Freely Defined Currency 1 | ||
| AmountInFreeDefinedCurrency1 | AmountInFreeDefinedCurrency1 | Amount in Freely Defined Currency 1 | ||
| FreeDefinedCurrency2 | FreeDefinedCurrency2 | Freely Defined Currency 2 | ||
| AmountInFreeDefinedCurrency2 | AmountInFreeDefinedCurrency2 | Amount in Freely Defined Currency 2 | ||
| FreeDefinedCurrency3 | FreeDefinedCurrency3 | Freely Defined Currency 3 | ||
| AmountInFreeDefinedCurrency3 | AmountInFreeDefinedCurrency3 | Amount in Freely Defined Currency 3 | ||
| FreeDefinedCurrency4 | FreeDefinedCurrency4 | Freely Defined Currency 4 | ||
| AmountInFreeDefinedCurrency4 | AmountInFreeDefinedCurrency4 | Amount in Freely Defined Currency 4 | ||
| FreeDefinedCurrency5 | FreeDefinedCurrency5 | Freely Defined Currency 5 | ||
| AmountInFreeDefinedCurrency5 | AmountInFreeDefinedCurrency5 | Amount in Freely Defined Currency 5 | ||
| FreeDefinedCurrency6 | FreeDefinedCurrency6 | Freely Defined Currency 6 | ||
| AmountInFreeDefinedCurrency6 | AmountInFreeDefinedCurrency6 | Amount in Freely Defined Currency 6 | ||
| FreeDefinedCurrency7 | FreeDefinedCurrency7 | Freely Defined Currency 7 | ||
| AmountInFreeDefinedCurrency7 | AmountInFreeDefinedCurrency7 | Amount in Freely Defined Currency 7 | ||
| FreeDefinedCurrency8 | FreeDefinedCurrency8 | Freely Defined Currency 8 | ||
| AmountInFreeDefinedCurrency8 | AmountInFreeDefinedCurrency8 | Amount in Freely Defined Currency 8 | ||
| BaseUnit | BaseUnit | Unit of Measure | ||
| Quantity | Quantity | Value | ||
| AdditionalQuantity1Unit | AdditionalQuantity1Unit | Add Unit Meas 1 | ||
| AdditionalQuantity1 | AdditionalQuantity1 | |||
| AdditionalQuantity2Unit | AdditionalQuantity2Unit | Add Unit Meas 2 | ||
| AdditionalQuantity2 | AdditionalQuantity2 | |||
| AdditionalQuantity3Unit | AdditionalQuantity3Unit | Add Unit Meas 3 | ||
| AdditionalQuantity3 | AdditionalQuantity3 | |||
| AccountingDocumentCategory | AccountingDocumentCategory | Journal Entry Category | ||
| FiscalPeriod | FiscalPeriod | Tax period | ||
| FiscalYearVariant | FiscalYearVariant | FY Variant | ||
| FiscalYearPeriod | Period/Year | |||
| ChartOfAccounts | ChartOfAccounts | Node Class | ||
| Plant | Plant | Valuation Area | ||
| PlantName | PlantName | Plant Name | ||
| Customer | Customer | Sold-to Party | ||
| CustomerName | CustomerName | Name of Customer | ||
| ControllingDebitCreditCode | ControllingDebitCreditCode | Dr/Cr ind. CO | ||
| ProjectExternalID | ProjectExternalID | Project def. | ||
| Project | Project | WBS Element | ||
| ProjectDescription | ProjectDescription | Project Name | ||
| WBSElementExternalID | WBSElementExternalID | WBS Element External ID | ||
| WBSElement | WBSElement | WBS Internal ID | ||
| WBSElementDescription | WBSElementDescription | Description | ||
| PartnerCompanyCode | PartnerCompanyCode | Partner Company Code | ||
| PartnerCompanyCodeName | PartnerCompanyCodeName | |||
| CostCtrActivityType | CostCtrActivityType | Activity Type | ||
| CostCtrActivityTypeName | CostCtrActivityTypeName | |||
| OrderID | OrderID | Order ID | ||
| PartnerOrder | PartnerOrder_2 | |||
| PartnerCostCtrActivityType | PartnerCostCtrActivityType | Partner Cost Center Activity Type | ||
| PartnerCostCtrActivityTypeName | PartnerCostCtrActivityTypeName | |||
| PartnerProject | PartnerProject | |||
| PartnerProjectDescription | PartnerProjectDescription | |||
| PartnerWBSElement | PartnerWBSElement | WBS Element | ||
| PartnerWBSElementDescription | PartnerWBSElementDescription | |||
| SalesOrganization | SalesOrganization | Sales Organization | ||
| SalesOrganizationName | SalesOrganizationName | Sales Organization Description | ||
| DistributionChannel | DistributionChannel | RefDistCh-Cust/Mat. | ||
| DistributionChannelName | DistributionChannelName | |||
| OrganizationDivision | OrganizationDivision | Org. Division | ||
| DivisionName | DivisionName | Division Description | ||
| Product | Product | Product Sold | ||
| ProductName | ProductName | Description | ||
| SoldMaterial | SoldMaterial | Product Sold | ||
| SoldMaterialName | SoldMaterialName | |||
| MaterialGroup | MaterialGroup | Product Group | ||
| MaterialGroupName | MaterialGroupName | prod Grp Desc. | ||
| CustomerGroup | CustomerGroup | Customer Group | ||
| CustomerGroupName | CustomerGroupName | |||
| CustomerSupplierCountry | CustomerSupplierCountry | Customer or Supplier Country/Region | ||
| CustomerSupplierCountryName | CustomerSupplierCountryName | |||
| CustomerSupplierIndustry | CustomerSupplierIndustry | Industry | ||
| CustomerSupplierIndustryName | CustomerSupplierIndustryName | |||
| SalesDistrict | SalesDistrict | Sales District | ||
| SalesDistrictName | SalesDistrictName | |||
| FinancialManagementArea | FinancialManagementArea | FM Area | ||
| Fund | Fund | Sender Fund | ||
| GrantID | GrantID | Sender Grant | ||
| BudgetPeriod | BudgetPeriod | Budget Period | ||
| SponsoredProgram | SponsoredProgram | Sponsored Program | ||
| SponsoredClass | SponsoredClass | Sponsored Class | ||
| GteeMBudgetValidityNumber | GteeMBudgetValidityNumber | Bdgt Validty No. | ||
| JointVenture | I_JournalEntryItemCube | JointVenture | Joint venture | |
| JointVentureEquityGroup | I_JournalEntryItemCube | JointVentureEquityGroup | Joint Venture Equity Group | |
| JointVentureCostRecoveryCode | I_JournalEntryItemCube | JointVentureCostRecoveryCode | Recovery Ind. | |
| JointVenturePartner | I_JournalEntryItemCube | JointVenturePartner | Joint Venture Partner | |
| JointVentureBillingType | I_JournalEntryItemCube | JointVentureBillingType | ||
| JointVentureEquityType | I_JournalEntryItemCube | JointVentureEquityType | Joint Venture Equity Type | |
| JointVentureProductionDate | I_JournalEntryItemCube | JointVentureProductionDate | ||
| JointVentureBillingDate | I_JournalEntryItemCube | JointVentureBillingDate | ||
| JointVentureOperationalDate | I_JournalEntryItemCube | JointVentureOperationalDate | ||
| CutbackRun | I_JournalEntryItemCube | CutbackRun | ||
| JointVentureAccountingActivity | I_JournalEntryItemCube | JointVentureAccountingActivity | ||
| PartnerVenture | I_JournalEntryItemCube | PartnerVenture | PartnerVenture | |
| PartnerEquityGroup | I_JournalEntryItemCube | PartnerEquityGroup | Partner EG (JVA) | |
| SenderCostRecoveryCode | I_JournalEntryItemCube | SenderCostRecoveryCode | Sender Cost Recovery Code | |
| CutbackAccount | I_JournalEntryItemCube | CutbackAccount | ||
| CutbackCostObject | I_JournalEntryItemCube | CutbackCostObject | ||
| REBusinessEntity | REBusinessEntity | RE Business Entity | ||
| RealEstateBuilding | RealEstateBuilding | Building | ||
| RealEstateProperty | RealEstateProperty | Land | ||
| RERentalObject | RERentalObject | |||
| RealEstateContract | RealEstateContract | Real Estate Contract | ||
| REServiceChargeKey | REServiceChargeKey | |||
| RESettlementUnitID | RESettlementUnitID | |||
| SettlementReferenceDate | SettlementReferenceDate | Reference date | ||
| _CompanyCode | _CompanyCode | |||
| _CurrentProfitCenter | _CurrentProfitCenter | |||
| _CurrentCostCenter | _CurrentCostCenter | |||
| _GLAccountInChartOfAccounts | _GLAccountInChartOfAccounts |
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 A_JournalEntryItemBasic.
-- 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: AFIJRNLBASIC
CREATE VIEW A_JournalEntryItemBasic AS
SELECT
Ledger,
LedgerName,
SourceLedger,
LedgerFiscalYear,
ControllingArea,
ControllingAreaName,
CompanyCode,
CompanyCodeName,
GLAccount,
GLAccountName,
FinancialTransactionType,
BusinessTransactionCategory,
BusinessTransactionType,
SourceReferenceDocumentType,
JrnlEntryItemObsoleteReason,
CostCenter,
CostCenterName,
ProfitCenter,
ProfitCenterName,
FunctionalArea,
FunctionalAreaName,
BusinessArea,
BusinessAreaName,
Segment,
SegmentName,
PartnerCostCenter,
PartnerCostCenterName,
PartnerProfitCenter,
PartnerProfitCenterName,
PartnerFunctionalArea,
PartnerFunctionalAreaName,
PartnerBusinessArea,
PartnerBusinessAreaName,
PartnerCompany,
PartnerCompanyName,
PartnerSegment,
PartnerSegmentName,
TransactionCurrency,
AmountInTransactionCurrency,
CompanyCodeCurrency,
AmountInCompanyCodeCurrency,
GlobalCurrency,
AmountInGlobalCurrency,
FixedAmountInGlobalCrcy,
FunctionalCurrency,
AmountInFunctionalCurrency,
ControllingObjectCurrency,
AmountInObjectCurrency,
CostSourceUnit,
ValuationQuantity,
ValuationFixedQuantity,
ReferenceQuantityUnit,
ReferenceQuantity,
FreeDefinedCurrency1,
AmountInFreeDefinedCurrency1,
FreeDefinedCurrency2,
AmountInFreeDefinedCurrency2,
FreeDefinedCurrency3,
AmountInFreeDefinedCurrency3,
FreeDefinedCurrency4,
AmountInFreeDefinedCurrency4,
FreeDefinedCurrency5,
AmountInFreeDefinedCurrency5,
FreeDefinedCurrency6,
AmountInFreeDefinedCurrency6,
FreeDefinedCurrency7,
AmountInFreeDefinedCurrency7,
FreeDefinedCurrency8,
AmountInFreeDefinedCurrency8,
BaseUnit,
Quantity,
AdditionalQuantity1Unit,
AdditionalQuantity1,
AdditionalQuantity2Unit,
AdditionalQuantity2,
AdditionalQuantity3Unit,
AdditionalQuantity3,
AccountingDocumentCategory,
FiscalPeriod,
FiscalYearVariant,
cast( cast(FiscalYearPeriod as abap.char(7)) as fis_jahrper_c preserving type ) AS FiscalYearPeriod,
ChartOfAccounts,
Plant,
PlantName,
Customer,
CustomerName,
ControllingDebitCreditCode,
ProjectExternalID,
Project,
ProjectDescription,
WBSElementExternalID,
WBSElement,
WBSElementDescription,
PartnerCompanyCode,
PartnerCompanyCodeName,
CostCtrActivityType,
CostCtrActivityTypeName,
OrderID,
PartnerOrder_2 AS PartnerOrder,
PartnerCostCtrActivityType,
PartnerCostCtrActivityTypeName,
PartnerProject,
PartnerProjectDescription,
PartnerWBSElement,
PartnerWBSElementDescription,
SalesOrganization,
SalesOrganizationName,
DistributionChannel,
DistributionChannelName,
OrganizationDivision,
DivisionName,
Product,
ProductName,
SoldMaterial,
SoldMaterialName,
MaterialGroup,
MaterialGroupName,
CustomerGroup,
CustomerGroupName,
CustomerSupplierCountry,
CustomerSupplierCountryName,
CustomerSupplierIndustry,
CustomerSupplierIndustryName,
SalesDistrict,
SalesDistrictName,
FinancialManagementArea,
Fund,
GrantID,
BudgetPeriod,
SponsoredProgram,
SponsoredClass,
GteeMBudgetValidityNumber,
I_JournalEntryItemCube.JointVenture AS JointVenture,
I_JournalEntryItemCube.JointVentureEquityGroup AS JointVentureEquityGroup,
I_JournalEntryItemCube.JointVentureCostRecoveryCode AS JointVentureCostRecoveryCode,
I_JournalEntryItemCube.JointVenturePartner AS JointVenturePartner,
I_JournalEntryItemCube.JointVentureBillingType AS JointVentureBillingType,
I_JournalEntryItemCube.JointVentureEquityType AS JointVentureEquityType,
I_JournalEntryItemCube.JointVentureProductionDate AS JointVentureProductionDate,
I_JournalEntryItemCube.JointVentureBillingDate AS JointVentureBillingDate,
I_JournalEntryItemCube.JointVentureOperationalDate AS JointVentureOperationalDate,
I_JournalEntryItemCube.CutbackRun AS CutbackRun,
I_JournalEntryItemCube.JointVentureAccountingActivity AS JointVentureAccountingActivity,
I_JournalEntryItemCube.PartnerVenture AS PartnerVenture,
I_JournalEntryItemCube.PartnerEquityGroup AS PartnerEquityGroup,
I_JournalEntryItemCube.SenderCostRecoveryCode AS SenderCostRecoveryCode,
I_JournalEntryItemCube.CutbackAccount AS CutbackAccount,
I_JournalEntryItemCube.CutbackCostObject AS CutbackCostObject,
REBusinessEntity,
RealEstateBuilding,
RealEstateProperty,
RERentalObject,
RealEstateContract,
REServiceChargeKey,
RESettlementUnitID,
SettlementReferenceDate
FROM I_JournalEntryItemCube
LEFT OUTER JOIN A_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode -- association [1..1]
LEFT OUTER JOIN A_CostCenter AS _CurrentCostCenter ON ControllingArea = _CurrentCostCenter.ControllingArea AND CostCenter = _CurrentCostCenter.CostCenter AND _CurrentCostCenter.ValidityStartDate <= $session.system_date AND _CurrentCostCenter.ValidityEndDate >= $session.system_date -- association [0..1]
LEFT OUTER JOIN A_ProfitCenter AS _CurrentProfitCenter ON ControllingArea = _CurrentProfitCenter.ControllingArea AND ProfitCenter = _CurrentProfitCenter.ProfitCenter AND _CurrentProfitCenter.ValidityStartDate <= $session.system_date AND _CurrentProfitCenter.ValidityEndDate >= $session.system_date -- association [0..1]
LEFT OUTER JOIN A_GLAccountInChartOfAccounts AS _GLAccountInChartOfAccounts ON ChartOfAccounts = _GLAccountInChartOfAccounts.ChartOfAccounts AND GLAccount = _GLAccountInChartOfAccounts.GLAccount -- association [0..1]
;
Learn More
- 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
- S/4HANA CDS View Deprecation: What You Need to Know
- 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