P_RO_SAFTOplAcctgDocItmBase

DDL: P_RO_SAFTOPLACCTGDOCITMBASE SQL: PROSAFTOADIB Type: view CONSUMPTION Package: GLO_FIN_IS_SAFT_RO

RO SAFT bseg

P_RO_SAFTOplAcctgDocItmBase is a Consumption CDS View that provides data about "RO SAFT bseg" in SAP S/4HANA. It reads from 1 data source (I_OperationalAcctgDocItem) and exposes 44 fields with key fields CompanyCode, FiscalYear, AccountingDocument, AccountingDocumentItem. Part of development package GLO_FIN_IS_SAFT_RO.

Data Sources (1)

SourceAliasJoin Type
I_OperationalAcctgDocItem I_OperationalAcctgDocItem from

Parameters (1)

NameTypeDefault
P_AlternativeGLAccountIsUsed saft_ro_alt_gl_account_flag

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName PROSAFTOADIB view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
VDM.viewType #CONSUMPTION view
VDM.private true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.personalData.blocking #BLOCKED_DATA_INCLUDED view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label RO SAFT bseg view

Fields (44)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY FiscalYear FiscalYear G/L Fiscal Year
KEY AccountingDocument AccountingDocument Journal Entry
KEY AccountingDocumentItem AccountingDocumentItem Posting View Item
AccountingDocumentType AccountingDocumentType Journal Entry Type
Product Product Product Sold
BaseUnit BaseUnit Unit of Measure
TransactionTypeDetermination TransactionTypeDetermination Transaction Key
PostingDate PostingDate Posting Date for GR
CompanyCodeCurrency CompanyCodeCurrency Local Currency
TransactionCurrency TransactionCurrency Transaction Currency
IsNegativePosting IsNegativePosting Negative Posting
DebitCreditCode DebitCreditCode Single-Character Flag
OriginalTaxBaseAmount OriginalTaxBaseAmount
AmountInTransactionCurrency AmountInTransactionCurrency Pt Crcy Amt
OriglTaxBaseAmountInCoCodeCrcy OriglTaxBaseAmountInCoCodeCrcy
AmountInCompanyCodeCurrency AmountInCompanyCodeCurrency Local Crcy Amt
DocumentItemText DocumentItemText Text
Quantity Quantity Value
ChartOfAccounts ChartOfAccounts Node Class
GLAccount GLAccount General Ledger
CountryChartOfAccounts _CompanyCode CountryChartOfAccounts Chart of Accts
AlternativeGLAccount _GLAccountInCompanyCode AlternativeGLAccount Group Account
FinancialAccountType FinancialAccountType Fin. Account Type
SpecialGLCode SpecialGLCode Special G/L Ind
AccountingDocumentItemType AccountingDocumentItemType Line Item ID
VATRegistration VATRegistration VAT Registration No.
Customer Customer Sold-to Party
Supplier Supplier Supplier
PaymentTerms PaymentTerms Pyt Terms
PaymentMethod PaymentMethod Pymt Meth.
TaxCode TaxCode Tax Code
ControllingArea ControllingArea Controlling Area
ProfitCenter ProfitCenter Profit Center
_ProfitCenterText _ProfitCenterText
CostCenter CostCenter Cost Center
_CostCenterText _CostCenterText
Segment Segment Segment number
_SegmentText _SegmentText
WBSElementInternalID WBSElementInternalID WBS Internal ID
_WBSElementBasicData _WBSElementBasicData
_WBSElementBasicDataText _WBSElementBasicDataText
OrderID OrderID Order ID
_Order _Order

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 P_RO_SAFTOplAcctgDocItmBase.
-- 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: PROSAFTOADIB
-- Parameters: P_AlternativeGLAccountIsUsed : saft_ro_alt_gl_account_flag

CREATE VIEW P_RO_SAFTOplAcctgDocItmBase AS
SELECT
  CompanyCode,
  FiscalYear,
  AccountingDocument,
  AccountingDocumentItem,
  AccountingDocumentType,
  Product,
  BaseUnit,
  TransactionTypeDetermination,
  PostingDate,
  CompanyCodeCurrency,
  TransactionCurrency,
  IsNegativePosting,
  DebitCreditCode,
  OriginalTaxBaseAmount,
  AmountInTransactionCurrency,
  OriglTaxBaseAmountInCoCodeCrcy,
  AmountInCompanyCodeCurrency,
  DocumentItemText,
  Quantity,
  ChartOfAccounts,
  GLAccount,
  _CompanyCode.CountryChartOfAccounts AS CountryChartOfAccounts,
  _GLAccountInCompanyCode.AlternativeGLAccount AS AlternativeGLAccount,
  FinancialAccountType,
  SpecialGLCode,
  AccountingDocumentItemType,
  VATRegistration,
  Customer,
  Supplier,
  PaymentTerms,
  PaymentMethod,
  TaxCode,
  ControllingArea,
  ProfitCenter,
  CostCenter,
  Segment,
  WBSElementInternalID,
  OrderID
FROM I_OperationalAcctgDocItem
;