P_CcpCustLineItem

DDL: P_CCPCUSTLINEITEM SQL: PCCPCSTLNITM Type: view COMPOSITE

CCP customer line items

P_CcpCustLineItem is a Composite CDS View that provides data about "CCP customer line items" in SAP S/4HANA. It reads from 1 data source (I_OperationalAcctgDocItem) and exposes 144 fields with key fields bukrs, gjahr, belnr, buzei.

Data Sources (1)

SourceAliasJoin Type
I_OperationalAcctgDocItem I_OperationalAcctgDocItem from

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName PCCPCSTLNITM view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #XL view
VDM.private true view
VDM.viewType #COMPOSITE view
ClientHandling.type #CLIENT_DEPENDENT view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label CCP customer line items view

Fields (144)

KeyFieldSource TableSource FieldDescription
KEY bukrs CompanyCode Receiver Company Code
KEY gjahr FiscalYear G/L Fiscal Year
KEY belnr AccountingDocument Journal Entry
KEY buzei AccountingDocumentItem Posting View Item
kunnr Customer Sold-to Party
umsks SpecialGLTransactionType Transact.Type
umskz SpecialGLCode Special G/L Ind
augdt ClearingDate Clearing Date
augbl ClearingJournalEntry Clrng doc.
zuonr AssignmentReference Assignment Reference
budat PostingDate Posting Date for GR
bldat DocumentDate Journal Entry Date
waers TransactionCurrency Transaction Currency
xblnr _JournalEntry DocumentReferenceID Reference
blart AccountingDocumentType Journal Entry Type
monat FiscalPeriod Tax period
bschl PostingKey Posting Key
shkzg DebitCreditCode Single-Character Flag
gsber BusinessArea Business Area
mwskz TaxCode Tax Code
hwaer CompanyCodeCurrency Local Currency
dmbtr AmountInCompanyCodeCurrency Local Crcy Amt
wrbtr AmountInTransactionCurrency Pt Crcy Amt
mwsts TaxAmountInCoCodeCrcy Tax Amount in Company Code Currency
wmwst TaxAmount Tax Amt in Rptg Crcy
bdiff ValuationDiffAmtInCoCodeCrcy
hwae2 AdditionalCurrency1 Local curr. 2
hwae3 AdditionalCurrency2 Local curr. 3
bdif2 ValuationDiffAmtInAddlCrcy1
sgtxt DocumentItemText Text
projn Project WBS Element
aufnr OrderID Order ID
anln1 MasterFixedAsset Fixed Asset
anln2 FixedAsset Sub-number
saknr OperationalGLAccount Operational G/L Acct
hkont GLAccount General Ledger
filkd BranchAccount Branch Account No.
zfbdt DueCalculationBaseDate Due Calculation Base Date
zterm PaymentTerms Pyt Terms
zbd1t CashDiscount1Days Days from Baseline Date for Payment
zbd2t CashDiscount2Days Days from Baseline Date for Payment
zbd3t NetPaymentDays Net Pmt Terms Period
zbd1p CashDiscount1Percent Disc. Percent 1
zbd2p CashDiscount2Percent Disc. Percent 2
sk1dt CashDiscount1DueDate Cash Discount 1
sk2dt CashDiscount2DueDate Cash Discount 2
netdt NetDueDate Net Due Date
skfbt CashDiscountBaseAmount Cash Dscnt Base Amt
sknto CashDiscountAmtInCoCodeCrcy Discount Amt
wskto CashDiscountAmount CD Amount
zlsch PaymentMethod Pymt Meth.
zlspr PaymentBlockingReason Pmnt block
zbfix FixedCashDiscount Fixed Cash Discount
hbkid HouseBank House Bank
bvtyp BPBankAccountInternalID BP Bank Account
rebzg InvoiceReference Invoice Reference
rebzj InvoiceReferenceFiscalYear Invoice Reference Fiscal Year
rebzz InvoiceItemReference Item
samnr InvoiceList Invoice List
mansp DunningBlockingReason Set Dunning Block
mschl DunningKey Dunning Key
madat LastDunningDate Last Dunned
manst DunningLevel Dunning Level
maber DunningArea Dunning Area
xzahl IsUsedInPaymentTransaction Is Used In Payment Transaction
mwsk1 TaxDistributionCode1 Tax Distr. Code 1
mwsk2 TaxDistributionCode2 Tax Distr. Code 2
mwsk3 TaxDistributionCode3 Tax Distr. Code 3
bstat AccountingDocumentCategory Journal Entry Category
vbund PartnerCompany Trading Partner
vbeln BillingDocument SD Document
rebzt FollowOnDocumentType Follow-On Document Type
stceg VATRegistration VAT Registration No.
egbld DelivOfGoodsDestCountry Dest. C/R
rstgr PaymentDifferenceReason Reason Code
vertt TreasuryContractType Treasury Contract Type
vertn AssetContract Asset Contract
vbewa CashFlowType Flow Type
wverw BillOfExchangeUsage BoE Usage
projk WBSElementInternalID WBS Internal ID
fipos CommitmentItem Commitment item
nplnr ProjectNetwork Order
aufpl OrderInternalBillOfOperations Order Internal Bill of Operations
aplzl OrderIntBillOfOperationsItem Order Internal Bill of Operations Item
xegdr IsEUTriangularDeal Is EU Triangular Deal
dmbe2 AmountInAdditionalCurrency1 Amount in Additional Currency 1
dmbe3 AmountInAdditionalCurrency2 LC2 Amount
bdif3 ValuationDiffAmtInAddlCrcy2
xragl ClearingIsReversed Clearing Is Reversed
uzawe PaymentMethodSupplement Pmnt Meth. Sup.
xstov _JournalEntry ReversalIsPlanned
xref1 Reference1IDByBusinessPartner Reference Key 1
xref2 Reference2IDByBusinessPartner Reference Key 2
pswsl BalanceTransactionCurrency Currency
pswbt AmountInBalanceTransacCrcy Amount in Balance Transaction Currency
lzbkz StateCentralBankPaymentReason SCB Ind.
landl SupplyingCountry Supplying Ctry/Reg.
imkey RealEstateObject Real Estate Key
vbel2 SalesDocument SD Document
posn2 SalesDocumentItem Sales Document Item
eten2 ScheduleLine Schedule Line
fistl FundsCenter Funds Center
geber Fund Sender Fund
dabrz SettlementReferenceDate Reference date
xnegp IsNegativePosting Negative Posting
kostl CostCenter Cost Center
rfzei PaymentCardItem Payment Card Item
kkber CreditControlArea Credit Control Area
prctr ProfitCenter Profit Center
xref3 Reference3IDByBusinessPartner Reference Key 3
qsskz WithholdingTaxCode WTax Code
dtws1 DataExchangeInstruction1 Instruction 1
dtws2 DataExchangeInstruction2 Instruction 2
dtws3 DataExchangeInstruction3 Instruction 3
dtws4 DataExchangeInstruction4 Instruction 4
xpypr HasPaymentOrder Payment Sent
kidno PaymentReference Payment Reference
t014_waers CreditControlAreaCurrency Credit Control Area Currency
absbt HedgedAmount
ccbtc PaymentCardPaymentSettlement Payment Card Payment Settlement
pycur PaymentCurrency Payment Currency
pyamt AmountInPaymentCurrency Amount in Payment Currency
bupla BusinessPlace Business place
secco TaxSection Tax Section
cession_kz AccountsReceivableIsPledged Accounts Receivable Is Pledged
grant_nbr GrantID Sender Grant
gmvkz CustomerIsInExecution Customer Is In Execution
pprct PartnerProfitCenter Profit Center
buzid AccountingDocumentItemType Line Item ID
auggj ClearingJournalEntryFiscalYear Fiscal Year of Clearing Journal Entry
hktid HouseBankAccount House Bank Account
budget_pd BudgetPeriod Budget Period
pays_prov PaymentServiceProvider Payt Srvc Provider
pays_tran PaymentRefByPaytSrvcProvider Reference by PSP
mndid SEPAMandate SEPA Mandate
payt_rsn PaymentReason Payment Reason
vname JointVenture Joint venture
egrup JointVentureEquityGroup Joint Venture Equity Group
gkont OffsettingAccount Offsetting Acct
gkart OffsettingAccountType Offset Acct Type
awtyp ReferenceDocumentType Reference Document Type
bukrs_sender _JournalEntry SenderCompanyCode Sender Company Code
belnr_sender _JournalEntry SenderAccountingDocument Sender Journal Entry
gjahr_sender _JournalEntry SenderFiscalYear Sender FiscalYr

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_CcpCustLineItem.
-- 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: PCCPCSTLNITM

CREATE VIEW P_CcpCustLineItem AS
SELECT
  CompanyCode AS bukrs,
  FiscalYear AS gjahr,
  AccountingDocument AS belnr,
  AccountingDocumentItem AS buzei,
  Customer AS kunnr,
  SpecialGLTransactionType AS umsks,
  SpecialGLCode AS umskz,
  ClearingDate AS augdt,
  ClearingJournalEntry AS augbl,
  AssignmentReference AS zuonr,
  PostingDate AS budat,
  DocumentDate AS bldat,
  TransactionCurrency AS waers,
  _JournalEntry.DocumentReferenceID AS xblnr,
  AccountingDocumentType AS blart,
  FiscalPeriod AS monat,
  PostingKey AS bschl,
  DebitCreditCode AS shkzg,
  BusinessArea AS gsber,
  TaxCode AS mwskz,
  CompanyCodeCurrency AS hwaer,
  AmountInCompanyCodeCurrency AS dmbtr,
  AmountInTransactionCurrency AS wrbtr,
  TaxAmountInCoCodeCrcy AS mwsts,
  TaxAmount AS wmwst,
  ValuationDiffAmtInCoCodeCrcy AS bdiff,
  AdditionalCurrency1 AS hwae2,
  AdditionalCurrency2 AS hwae3,
  ValuationDiffAmtInAddlCrcy1 AS bdif2,
  DocumentItemText AS sgtxt,
  Project AS projn,
  OrderID AS aufnr,
  MasterFixedAsset AS anln1,
  FixedAsset AS anln2,
  OperationalGLAccount AS saknr,
  GLAccount AS hkont,
  BranchAccount AS filkd,
  DueCalculationBaseDate AS zfbdt,
  PaymentTerms AS zterm,
  CashDiscount1Days AS zbd1t,
  CashDiscount2Days AS zbd2t,
  NetPaymentDays AS zbd3t,
  CashDiscount1Percent AS zbd1p,
  CashDiscount2Percent AS zbd2p,
  CashDiscount1DueDate AS sk1dt,
  CashDiscount2DueDate AS sk2dt,
  NetDueDate AS netdt,
  CashDiscountBaseAmount AS skfbt,
  CashDiscountAmtInCoCodeCrcy AS sknto,
  CashDiscountAmount AS wskto,
  PaymentMethod AS zlsch,
  PaymentBlockingReason AS zlspr,
  FixedCashDiscount AS zbfix,
  HouseBank AS hbkid,
  BPBankAccountInternalID AS bvtyp,
  InvoiceReference AS rebzg,
  InvoiceReferenceFiscalYear AS rebzj,
  InvoiceItemReference AS rebzz,
  InvoiceList AS samnr,
  DunningBlockingReason AS mansp,
  DunningKey AS mschl,
  LastDunningDate AS madat,
  DunningLevel AS manst,
  DunningArea AS maber,
  IsUsedInPaymentTransaction AS xzahl,
  TaxDistributionCode1 AS mwsk1,
  TaxDistributionCode2 AS mwsk2,
  TaxDistributionCode3 AS mwsk3,
  AccountingDocumentCategory AS bstat,
  PartnerCompany AS vbund,
  BillingDocument AS vbeln,
  FollowOnDocumentType AS rebzt,
  VATRegistration AS stceg,
  DelivOfGoodsDestCountry AS egbld,
  PaymentDifferenceReason AS rstgr,
  TreasuryContractType AS vertt,
  AssetContract AS vertn,
  CashFlowType AS vbewa,
  BillOfExchangeUsage AS wverw,
  WBSElementInternalID AS projk,
  CommitmentItem AS fipos,
  ProjectNetwork AS nplnr,
  OrderInternalBillOfOperations AS aufpl,
  OrderIntBillOfOperationsItem AS aplzl,
  IsEUTriangularDeal AS xegdr,
  AmountInAdditionalCurrency1 AS dmbe2,
  AmountInAdditionalCurrency2 AS dmbe3,
  ValuationDiffAmtInAddlCrcy2 AS bdif3,
  ClearingIsReversed AS xragl,
  PaymentMethodSupplement AS uzawe,
  _JournalEntry.ReversalIsPlanned AS xstov,
  Reference1IDByBusinessPartner AS xref1,
  Reference2IDByBusinessPartner AS xref2,
  BalanceTransactionCurrency AS pswsl,
  AmountInBalanceTransacCrcy AS pswbt,
  StateCentralBankPaymentReason AS lzbkz,
  SupplyingCountry AS landl,
  RealEstateObject AS imkey,
  SalesDocument AS vbel2,
  SalesDocumentItem AS posn2,
  ScheduleLine AS eten2,
  FundsCenter AS fistl,
  Fund AS geber,
  SettlementReferenceDate AS dabrz,
  IsNegativePosting AS xnegp,
  CostCenter AS kostl,
  PaymentCardItem AS rfzei,
  CreditControlArea AS kkber,
  ProfitCenter AS prctr,
  Reference3IDByBusinessPartner AS xref3,
  WithholdingTaxCode AS qsskz,
  DataExchangeInstruction1 AS dtws1,
  DataExchangeInstruction2 AS dtws2,
  DataExchangeInstruction3 AS dtws3,
  DataExchangeInstruction4 AS dtws4,
  HasPaymentOrder AS xpypr,
  PaymentReference AS kidno,
  CreditControlAreaCurrency AS t014_waers,
  HedgedAmount AS absbt,
  PaymentCardPaymentSettlement AS ccbtc,
  PaymentCurrency AS pycur,
  AmountInPaymentCurrency AS pyamt,
  BusinessPlace AS bupla,
  TaxSection AS secco,
  AccountsReceivableIsPledged AS cession_kz,
  GrantID AS grant_nbr,
  CustomerIsInExecution AS gmvkz,
  PartnerProfitCenter AS pprct,
  AccountingDocumentItemType AS buzid,
  ClearingJournalEntryFiscalYear AS auggj,
  HouseBankAccount AS hktid,
  BudgetPeriod AS budget_pd,
  PaymentServiceProvider AS pays_prov,
  PaymentRefByPaytSrvcProvider AS pays_tran,
  SEPAMandate AS mndid,
  PaymentReason AS payt_rsn,
  JointVenture AS vname,
  JointVentureEquityGroup AS egrup,
  OffsettingAccount AS gkont,
  OffsettingAccountType AS gkart,
  ReferenceDocumentType AS awtyp,
  _JournalEntry.SenderCompanyCode AS bukrs_sender,
  _JournalEntry.SenderAccountingDocument AS belnr_sender,
  _JournalEntry.SenderFiscalYear AS gjahr_sender
FROM I_OperationalAcctgDocItem
;