R_IncgOutgInvoiceTP
Manage AP/AR Invoice Header Information
R_IncgOutgInvoiceTP is a Transactional CDS View that provides data about "Manage AP/AR Invoice Header Information" in SAP S/4HANA. It reads from 1 data source (farp_miv_ivinf) and exposes 153 fields with key field OutgoingInvoiceUUID. It has 25 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| farp_miv_ivinf | _SupplierInvoice | from |
Associations (25)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_CompanyCode | _CompanyCode | $projection.CompanyCode = _CompanyCode.CompanyCode |
| [0..1] | I_CustomerCompany | _CustomerCompany | $projection.Customer = _CustomerCompany.Customer and $projection.CompanyCode = _CustomerCompany.CompanyCode |
| [0..1] | I_PaymentTerms | _PaymentTerms | $projection.PaymentTerms = _PaymentTerms.PaymentTerms |
| [0..1] | I_AccountingDocumentType | _AccountDocType | $projection.AccountingDocumentType = _AccountDocType.AccountingDocumentType |
| [0..1] | I_SuplrInvcTransactionTypeDesc | _SuplrInvcTransactionTypeDesc | $projection.SupplierInvoiceTransactionType = _SuplrInvcTransactionTypeDesc.SupplierInvoiceTransactionType and _SuplrInvcTransactionTypeDesc.Language = $session.system_language |
| [0..1] | I_OutgoingInvoiceStatus | _SupplierInvoiceStatusText | $projection.OutgoingInvoiceStatus = _SupplierInvoiceStatusText.OutgoingInvoiceStatus |
| [0..1] | I_BusinessAreaText | _BusinessAreaText | $projection.BusinessArea = _BusinessAreaText.BusinessArea and _BusinessAreaText.Language = $session.system_language |
| [0..1] | I_BusinessAreaText | _PartnerBusinessAreaText | $projection.PartnerBusinessArea = _PartnerBusinessAreaText.BusinessArea and _PartnerBusinessAreaText.Language = $session.system_language |
| [0..1] | I_BusinessPlaceSectionCodeName | _BusinessPlaceSectionCodeName | $projection.BusinessSectionCode = _BusinessPlaceSectionCodeName.BusinessSectionCode and _BusinessPlaceSectionCodeName.Language = $session.system_language and $projection.CompanyCode = _BusinessPlaceSectionCodeName.CompanyCode |
| [0..1] | I_Branch | _Branch | $projection.BusinessPlace = _Branch.Branch and $projection.CompanyCode = _Branch.CompanyCode |
| [0..1] | I_CountryText | _SupplyingCountryText | $projection.SupplyingCountry = _SupplyingCountryText.Country and _SupplyingCountryText.Language = $session.system_language |
| [0..1] | I_CountryText | _CompanyCodeCountryText | $projection.ReportingCountry = _CompanyCodeCountryText.Country and _CompanyCodeCountryText.Language = $session.system_language |
| [0..1] | I_CountryText | _TaxCountryText | $projection.TaxCountry = _TaxCountryText.Country and _TaxCountryText.Language = $session.system_language |
| [0..1] | I_HouseBankAccountText | _HouseBankAccountText | $projection.CompanyCode = _HouseBankAccountText.CompanyCode and $projection.HouseBank = _HouseBankAccountText.HouseBank and $projection.HouseBankAccount = _HouseBankAccountText.HouseBankAccount and _HouseBankAccountText.Language = $session.system_language |
| [0..1] | I_PaymentMethodText | _PaymentMethodInCountryVH | $projection.PaymentMethod = _PaymentMethodInCountryVH.PaymentMethod and $projection.companycodecountry = _PaymentMethodInCountryVH.Country and _PaymentMethodInCountryVH.Language = $session.system_language |
| [0..1] | I_PaymentBlockingReasonText | _PaymentBlockingReasonText | $projection.SuplrInvcPaymentBlockingReason = _PaymentBlockingReasonText.PaymentBlockingReason and _PaymentBlockingReasonText.Language = $session.system_language |
| [0..1] | I_StateCentralBankPaytRsn | _StateCentralBankPaytRsn | $projection.StateCentralBankPaymentReason = _StateCentralBankPaytRsn.StateCentralBankPaymentReason |
| [0..1] | I_PlanningLevelText | _PlanningLevelText | $projection.PlanningLevel = _PlanningLevelText.PlanningLevel and _PlanningLevelText.Language = $session.system_language |
| [0..1] | I_TreasuryContractTypeText | _TreasuryContractTypeText | $projection.TreasuryContractType = _TreasuryContractTypeText.TreasuryContractType and _TreasuryContractTypeText.Language = $session.system_language |
| [0..1] | I_CreditControlAreaText | _CreditControlAreaText | $projection.CreditControlArea = _CreditControlAreaText.CreditControlArea and _CreditControlAreaText.Language = $session.system_language |
| [0..1] | I_PaymentDifferenceReasonT | _PaymentDifferenceReasonT | $projection.PaymentDifferenceReason = _PaymentDifferenceReasonT.PaymentDifferenceReason and _PaymentDifferenceReasonT.Language = $session.system_language and $projection.CompanyCode = _PaymentDifferenceReasonT.CompanyCode |
| [0..1] | I_GlAccountTextInCompanycode | _GLAccountText | $projection.CompanyCode = _GLAccountText.CompanyCode and $projection.ReconciliationAccount = _GLAccountText.GLAccount and _GLAccountText.Language = $session.system_language |
| [1..*] | R_IncgOutgInvoiceItemTP | _ManageInvoicesItem | |
| [1..*] | R_IncgOutgInvoiceWhgdTaxTP | _ManageInvoicesWhgdTax | |
| [1..*] | R_IncgOutgInvoiceTaxTP | _ManageInvoicesTax | |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Manage AP/AR Invoice Header Information | view | |
| Search.searchable | true | view | |
| AbapCatalog.dataMaintenance | #RESTRICTED | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| ObjectModel.sapObjectNodeType.name | InvoiceList | view |
Fields (153)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | OutgoingInvoiceUUID | farp_miv_ivinf | outgoinginvoiceuuid | Upload Invoice UUID |
| AccountingDocument | farp_miv_ivinf | accountingdocument | Journal Entry | |
| CompanyCode | farp_miv_ivinf | companycode | Receiver Company Code | |
| InvoicingParty | farp_miv_ivinf | invoicingparty | Supplier | |
| Customer | farp_miv_ivinf | customer | Sold-to Party | |
| DocumentReferenceID | farp_miv_ivinf | documentreferenceid | Reference | |
| AccountingDocumentHeaderText | farp_miv_ivinf | accountingdocumentheadertext | Doc.Header Text | |
| TotalAmountInTransactionCrcy | farp_miv_ivinf | totalamountintransactioncrcy | Total Amt In Tr Crcy | |
| TransactionCurrency | farp_miv_ivinf | transactioncurrency | Transaction Currency | |
| ReconciliationAccount | farp_miv_ivinf | reconciliationaccount | Recon. account | |
| AssignmentReference | farp_miv_ivinf | assignmentreference | Assignment Reference | |
| PostingDate | farp_miv_ivinf | postingdate | Posting Date for GR | |
| InvoiceDate | farp_miv_ivinf | invoicedate | Run On | |
| FiscalYear | farp_miv_ivinf | fiscalyear | G/L Fiscal Year | |
| SupplierBankType | farp_miv_ivinf | supplierbanktype | Partner Bank Type | |
| IBAN | farp_miv_ivinf | iban | IBAN House Bank | |
| SWIFTCode | farp_miv_ivinf | swiftcode | SWIFT/BIC | |
| PaymentTerms | farp_miv_ivinf | paymentterms | Pyt Terms | |
| PaymentMethod | farp_miv_ivinf | paymentmethod | Pymt Meth. | |
| PaymentReference | farp_miv_ivinf | paymentreference | Payment Reference | |
| CashDiscount1Days | farp_miv_ivinf | cashdiscount1days | Days from Baseline Date for Payment | |
| CashDiscount1Percent | farp_miv_ivinf | cashdiscount1percent | Disc. Percent 1 | |
| CashDiscount2Days | farp_miv_ivinf | cashdiscount2days | Days from Baseline Date for Payment | |
| CashDiscount2Percent | farp_miv_ivinf | cashdiscount2percent | Disc. Percent 2 | |
| NetPaymentDays | farp_miv_ivinf | netpaymentdays | Net Pmt Terms Period | |
| HouseBank | farp_miv_ivinf | housebank | House Bank | |
| HouseBankAccount | farp_miv_ivinf | housebankaccount | House Bank Account | |
| ManualCashDiscount | farp_miv_ivinf | manualcashdiscount | CD Amount | |
| PaymentMethodSupplement | farp_miv_ivinf | paymentmethodsupplement | Pmnt Meth. Sup. | |
| SuplrInvcPaymentBlockingReason | farp_miv_ivinf | suplrinvcpaymentblockingreason | Pmnt block | |
| TaxDeterminationDate | farp_miv_ivinf | taxdeterminationdate | Tx Determination Dte | |
| OutgoingInvoiceStatus | farp_miv_ivinf | outgoinginvoicestatus | Status | |
| SupplierInvoiceTransactionType | farp_miv_ivinf | supplierinvoicetransactiontype | Transaction | |
| AccountingDocumentType | farp_miv_ivinf | accountingdocumenttype | Journal Entry Type | |
| PaymentBlockingReason | farp_miv_ivinf | paymentblockingreason | Pmnt block | |
| DueCalculationBaseDate | farp_miv_ivinf | duecalculationbasedate | Due Calculation Base Date | |
| CashDiscountAmount | farp_miv_ivinf | cashdiscountamount | CD Amount | |
| EligibleAmountForCshDiscInTC | farp_miv_ivinf | eligibleamountforcshdiscintc | Cash Discount Base | |
| InvoiceReference | farp_miv_ivinf | invoicereference | Invoice Reference | |
| InvoiceItemReference | farp_miv_ivinf | invoiceitemreference | Item | |
| DataExchangeInstruction1 | farp_miv_ivinf | dataexchangeinstruction1 | Instruction 1 | |
| DataExchangeInstruction2 | farp_miv_ivinf | dataexchangeinstruction2 | Instruction 2 | |
| DataExchangeInstruction3 | farp_miv_ivinf | dataexchangeinstruction3 | Instruction 3 | |
| DataExchangeInstruction4 | farp_miv_ivinf | dataexchangeinstruction4 | Instruction 4 | |
| PaymentDifferenceReason | farp_miv_ivinf | paymentdifferencereason | Reason Code | |
| FixedCashDiscount | farp_miv_ivinf | fixedcashdiscount | Fixed Cash Discount | |
| DocumentItemText | farp_miv_ivinf | documentitemtext | Text | |
| BusinessArea | farp_miv_ivinf | businessarea | Business Area | |
| PartnerBusinessArea | farp_miv_ivinf | partnerbusinessarea | Trdg Part.BA | |
| TreasuryContract | farp_miv_ivinf | treasurycontract | Contract Number | |
| TreasuryContractType | farp_miv_ivinf | treasurycontracttype | Treasury Contract Type | |
| Reference1IDByBusinessPartner | farp_miv_ivinf | reference1idbybusinesspartner | Reference Key 1 | |
| Reference2IDByBusinessPartner | farp_miv_ivinf | reference2idbybusinesspartner | Reference Key 2 | |
| Reference3IDByBusinessPartner | farp_miv_ivinf | reference3idbybusinesspartner | Reference Key 3 | |
| StateCentralBankPaymentReason | farp_miv_ivinf | statecentralbankpaymentreason | SCB Ind. | |
| SupplyingCountry | farp_miv_ivinf | supplyingcountry | Supplying Ctry/Reg. | |
| RecrrgSuplrInvcIsSrvcInvoice | farp_miv_ivinf | recrrgsuplrinvcissrvcinvoice | Service Ind. | |
| FinTransFlowType | farp_miv_ivinf | fintransflowtype | Flow Type | |
| CreditControlArea | farp_miv_ivinf | creditcontrolarea | Credit Control Area | |
| ReportingCountry | farp_miv_ivinf | companycodecountry | Reporting Ctry/Reg. | |
| IsEUTriangularDeal | farp_miv_ivinf | iseutriangulardeal | Is EU Triangular Deal | |
| PlanningLevel | farp_miv_ivinf | planninglevel | Planning Level | |
| PlanningDate | farp_miv_ivinf | planningdate | Planning Date | |
| IsNegativePosting | farp_miv_ivinf | isnegativeposting | Negative Posting | |
| TaxReportingDate | farp_miv_ivinf | taxreportingdate | Tax Reporting Date | |
| TaxFulfillmentDate | farp_miv_ivinf | taxfulfillmentdate | Tax Settlement Date | |
| TaxCountry | farp_miv_ivinf | taxcountry | Tax Ctry/Reg. | |
| ExchangeRate | farp_miv_ivinf | exchangerate | Exchange rate | |
| RAItemTranslationDate | farp_miv_ivinf | raitemtranslationdate | Translatn Date | |
| CreatedByUser | farp_miv_ivinf | createdbyuser | User Name | |
| UserName | farp_miv_ivinf | username | User who owns item | |
| CreationDateTime | farp_miv_ivinf | creationdatetime | Timestamp | |
| LastChangedByUser | farp_miv_ivinf | lastchangedbyuser | User Name | |
| LastChangeDateTime | farp_miv_ivinf | lastchangedatetime | Timestamp | |
| BusinessPlace | farp_miv_ivinf | businessplace | Business place | |
| BusinessSectionCode | farp_miv_ivinf | businesssectioncode | Section Code | |
| InvoiceReferenceFiscalYear | farp_miv_ivinf | invoicereferencefiscalyear | Invoice Reference Fiscal Year | |
| CreationDate | farp_miv_ivinf | creationdate | Time Stamp | |
| FinPlanApplicationLogHandle | farp_miv_ivinf | finplanapplicationloghandle | Handle | |
| EventHandlerTypeDescription | farp_miv_ivinf | eventhandlertypedescription | Formula | |
| BatchUUID | farp_miv_ivinf | uploadbatchuuid | Upload Batch UUID | |
| ExtractedItemIndex | farp_miv_ivinf | documentsequenceno | Doc. Sequence Number | |
| OneTimeAccountBPSalutationText | farp_miv_ivinf | onetimeaccountbpsalutationtext | Title | |
| BusinessPartnerName1 | farp_miv_ivinf | businesspartnername1 | Name | |
| BusinessPartnerName2 | farp_miv_ivinf | businesspartnername2 | Name 2 | |
| BusinessPartnerName3 | farp_miv_ivinf | businesspartnername3 | Name 3 | |
| BusinessPartnerName4 | farp_miv_ivinf | businesspartnername4 | Name 4 | |
| StreetName | farp_miv_ivinf | streetname | Text | |
| CityName | farp_miv_ivinf | cityname | Name | |
| PostalCode | farp_miv_ivinf | postalcode | Postal Code | |
| POBox | farp_miv_ivinf | pobox | PO Box | |
| POBoxIsWithoutNumber | farp_miv_ivinf | poboxiswithoutnumber | PO Box w/o No. | |
| POBoxPostalCode | farp_miv_ivinf | poboxpostalcode | PO Box Postal Code | |
| Country | farp_miv_ivinf | country | Venue: Ctry/Reg | |
| Region | farp_miv_ivinf | region | Venue Region | |
| EmailAddress | farp_miv_ivinf | emailaddress | E-Mail Address | |
| BankCountry | farp_miv_ivinf | bankcountry | Bank Ctry/Rgn. Key | |
| BankInternalID | farp_miv_ivinf | bankinternalid | Bank Key | |
| BankAccount | farp_miv_ivinf | bankaccount | Bank acct | |
| BankReference | farp_miv_ivinf | bankreference | Payment Reference | |
| BankControlKey | farp_miv_ivinf | bankcontrolkey | Control Key | |
| PaymentSystem | farp_miv_ivinf | paymentsystem | Payment System | |
| AliasType | farp_miv_ivinf | aliastype | Alias Type | |
| BPBankAccountAliasName | farp_miv_ivinf | bpbankaccountaliasname | Bank Account Alias | |
| IsVATLiable | farp_miv_ivinf | isvatliable | Liable for VAT | |
| AccountTaxType | farp_miv_ivinf | accounttaxtype | Tax Type | |
| TaxNumberType | farp_miv_ivinf | taxnumbertype | Tax number type | |
| TaxID1 | farp_miv_ivinf | taxid1 | Tax Number 1 | |
| TaxID2 | farp_miv_ivinf | taxid2 | Tax Number 2 | |
| TaxID3 | farp_miv_ivinf | taxid3 | Tax Number 3 | |
| TaxID4 | farp_miv_ivinf | taxid4 | Tax Number 4 | |
| TaxID5 | farp_miv_ivinf | taxid5 | Tax Number 5 | |
| VATRegistration | farp_miv_ivinf | vatregistration | VAT Registration No. | |
| IsNaturalPerson | farp_miv_ivinf | isnaturalperson | Natural person | |
| OneTmeAcctIsEqualizationTxSubj | farp_miv_ivinf | onetmeacctisequalizationtxsubj | Equalizatn tax | |
| BusinessType | farp_miv_ivinf | businesstype | Type of Business | |
| IndustryType | farp_miv_ivinf | industrytype | Type of Industry | |
| RepresentativeName | farp_miv_ivinf | representativename | Rep's Name | |
| DataExchangeInstructionKey | farp_miv_ivinf | dataexchangeinstructionkey | Instruction Key | |
| DataMediumExchangeIndicator | farp_miv_ivinf | datamediumexchangeindicator | DME Rec. Code | |
| AlternativePayeeIsAllowed | farp_miv_ivinf | alternativepayeeisallowed | Payee in doc. | |
| IsOneTimeAccount | farp_miv_ivinf | isonetimeaccount | One-time acct | |
| AddressAndBankIsSetManually | farp_miv_ivinf | addressandbankissetmanually | Address and Bank is Set Manually | |
| ApplicationLogHandle | farp_miv_ivinf | applicationloghandle | Log Handle | |
| SitnTypeDescription | farp_miv_ivinf | sitntypedescription | Formula | |
| CompanyCodeCountry | _CompanyCode | Country | Venue: Ctry/Reg | |
| _ManageInvoicesItem | _ManageInvoicesItem | |||
| _ManageInvoicesWhgdTax | _ManageInvoicesWhgdTax | |||
| _ManageInvoicesTax | _ManageInvoicesTax | |||
| _CompanyCode | _CompanyCode | |||
| CustomerNum | _CustomerCompany | Customer | Sold-to Party | |
| _CustomerCompany | _CustomerCompany | |||
| _Customer | _CustomerCompany | _Customer | ||
| _PaymentTerms | _PaymentTerms | |||
| _AccountDocType | _AccountDocType | |||
| _SuplrInvcTransactionTypeDesc | _SuplrInvcTransactionTypeDesc | |||
| _SupplierInvoiceStatusText | _SupplierInvoiceStatusText | |||
| _BusinessAreaText | _BusinessAreaText | |||
| _BusinessPlaceSectionCodeName | _BusinessPlaceSectionCodeName | |||
| _Branch | _Branch | |||
| _SupplyingCountryText | _SupplyingCountryText | |||
| _CompanyCodeCountryText | _CompanyCodeCountryText | |||
| _HouseBankAccountText | _HouseBankAccountText | |||
| _PartnerBusinessAreaText | _PartnerBusinessAreaText | |||
| _PaymentMethodInCountryVH | _PaymentMethodInCountryVH | |||
| _PaymentBlockingReasonText | _PaymentBlockingReasonText | |||
| _TaxCountryText | _TaxCountryText | |||
| _StateCentralBankPaytRsn | _StateCentralBankPaytRsn | |||
| _PlanningLevelText | _PlanningLevelText | |||
| _TreasuryContractTypeText | _TreasuryContractTypeText | |||
| _CreditControlAreaText | _CreditControlAreaText | |||
| _PaymentDifferenceReasonT | _PaymentDifferenceReasonT | |||
| _GLAccountText | _GLAccountText |
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 R_IncgOutgInvoiceTP.
-- 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.
CREATE VIEW R_IncgOutgInvoiceTP AS
SELECT
_SupplierInvoice.outgoinginvoiceuuid AS OutgoingInvoiceUUID,
_SupplierInvoice.accountingdocument AS AccountingDocument,
_SupplierInvoice.companycode AS CompanyCode,
_SupplierInvoice.invoicingparty AS InvoicingParty,
_SupplierInvoice.customer AS Customer,
_SupplierInvoice.documentreferenceid AS DocumentReferenceID,
_SupplierInvoice.accountingdocumentheadertext AS AccountingDocumentHeaderText,
_SupplierInvoice.totalamountintransactioncrcy AS TotalAmountInTransactionCrcy,
_SupplierInvoice.transactioncurrency AS TransactionCurrency,
_SupplierInvoice.reconciliationaccount AS ReconciliationAccount,
_SupplierInvoice.assignmentreference AS AssignmentReference,
_SupplierInvoice.postingdate AS PostingDate,
_SupplierInvoice.invoicedate AS InvoiceDate,
_SupplierInvoice.fiscalyear AS FiscalYear,
_SupplierInvoice.supplierbanktype AS SupplierBankType,
_SupplierInvoice.iban AS IBAN,
_SupplierInvoice.swiftcode AS SWIFTCode,
_SupplierInvoice.paymentterms AS PaymentTerms,
_SupplierInvoice.paymentmethod AS PaymentMethod,
_SupplierInvoice.paymentreference AS PaymentReference,
_SupplierInvoice.cashdiscount1days AS CashDiscount1Days,
_SupplierInvoice.cashdiscount1percent AS CashDiscount1Percent,
_SupplierInvoice.cashdiscount2days AS CashDiscount2Days,
_SupplierInvoice.cashdiscount2percent AS CashDiscount2Percent,
_SupplierInvoice.netpaymentdays AS NetPaymentDays,
_SupplierInvoice.housebank AS HouseBank,
_SupplierInvoice.housebankaccount AS HouseBankAccount,
_SupplierInvoice.manualcashdiscount AS ManualCashDiscount,
_SupplierInvoice.paymentmethodsupplement AS PaymentMethodSupplement,
_SupplierInvoice.suplrinvcpaymentblockingreason AS SuplrInvcPaymentBlockingReason,
_SupplierInvoice.taxdeterminationdate AS TaxDeterminationDate,
_SupplierInvoice.outgoinginvoicestatus AS OutgoingInvoiceStatus,
_SupplierInvoice.supplierinvoicetransactiontype AS SupplierInvoiceTransactionType,
_SupplierInvoice.accountingdocumenttype AS AccountingDocumentType,
_SupplierInvoice.paymentblockingreason AS PaymentBlockingReason,
_SupplierInvoice.duecalculationbasedate AS DueCalculationBaseDate,
_SupplierInvoice.cashdiscountamount AS CashDiscountAmount,
_SupplierInvoice.eligibleamountforcshdiscintc AS EligibleAmountForCshDiscInTC,
_SupplierInvoice.invoicereference AS InvoiceReference,
_SupplierInvoice.invoiceitemreference AS InvoiceItemReference,
_SupplierInvoice.dataexchangeinstruction1 AS DataExchangeInstruction1,
_SupplierInvoice.dataexchangeinstruction2 AS DataExchangeInstruction2,
_SupplierInvoice.dataexchangeinstruction3 AS DataExchangeInstruction3,
_SupplierInvoice.dataexchangeinstruction4 AS DataExchangeInstruction4,
_SupplierInvoice.paymentdifferencereason AS PaymentDifferenceReason,
_SupplierInvoice.fixedcashdiscount AS FixedCashDiscount,
_SupplierInvoice.documentitemtext AS DocumentItemText,
_SupplierInvoice.businessarea AS BusinessArea,
_SupplierInvoice.partnerbusinessarea AS PartnerBusinessArea,
_SupplierInvoice.treasurycontract AS TreasuryContract,
_SupplierInvoice.treasurycontracttype AS TreasuryContractType,
_SupplierInvoice.reference1idbybusinesspartner AS Reference1IDByBusinessPartner,
_SupplierInvoice.reference2idbybusinesspartner AS Reference2IDByBusinessPartner,
_SupplierInvoice.reference3idbybusinesspartner AS Reference3IDByBusinessPartner,
_SupplierInvoice.statecentralbankpaymentreason AS StateCentralBankPaymentReason,
_SupplierInvoice.supplyingcountry AS SupplyingCountry,
_SupplierInvoice.recrrgsuplrinvcissrvcinvoice AS RecrrgSuplrInvcIsSrvcInvoice,
_SupplierInvoice.fintransflowtype AS FinTransFlowType,
_SupplierInvoice.creditcontrolarea AS CreditControlArea,
_SupplierInvoice.companycodecountry AS ReportingCountry,
_SupplierInvoice.iseutriangulardeal AS IsEUTriangularDeal,
_SupplierInvoice.planninglevel AS PlanningLevel,
_SupplierInvoice.planningdate AS PlanningDate,
_SupplierInvoice.isnegativeposting AS IsNegativePosting,
_SupplierInvoice.taxreportingdate AS TaxReportingDate,
_SupplierInvoice.taxfulfillmentdate AS TaxFulfillmentDate,
_SupplierInvoice.taxcountry AS TaxCountry,
_SupplierInvoice.exchangerate AS ExchangeRate,
_SupplierInvoice.raitemtranslationdate AS RAItemTranslationDate,
_SupplierInvoice.createdbyuser AS CreatedByUser,
_SupplierInvoice.username AS UserName,
_SupplierInvoice.creationdatetime AS CreationDateTime,
_SupplierInvoice.lastchangedbyuser AS LastChangedByUser,
_SupplierInvoice.lastchangedatetime AS LastChangeDateTime,
_SupplierInvoice.businessplace AS BusinessPlace,
_SupplierInvoice.businesssectioncode AS BusinessSectionCode,
_SupplierInvoice.invoicereferencefiscalyear AS InvoiceReferenceFiscalYear,
_SupplierInvoice.creationdate AS CreationDate,
_SupplierInvoice.finplanapplicationloghandle AS FinPlanApplicationLogHandle,
_SupplierInvoice.eventhandlertypedescription AS EventHandlerTypeDescription,
_SupplierInvoice.uploadbatchuuid AS BatchUUID,
_SupplierInvoice.documentsequenceno AS ExtractedItemIndex,
_SupplierInvoice.onetimeaccountbpsalutationtext AS OneTimeAccountBPSalutationText,
_SupplierInvoice.businesspartnername1 AS BusinessPartnerName1,
_SupplierInvoice.businesspartnername2 AS BusinessPartnerName2,
_SupplierInvoice.businesspartnername3 AS BusinessPartnerName3,
_SupplierInvoice.businesspartnername4 AS BusinessPartnerName4,
_SupplierInvoice.streetname AS StreetName,
_SupplierInvoice.cityname AS CityName,
_SupplierInvoice.postalcode AS PostalCode,
_SupplierInvoice.pobox AS POBox,
_SupplierInvoice.poboxiswithoutnumber AS POBoxIsWithoutNumber,
_SupplierInvoice.poboxpostalcode AS POBoxPostalCode,
_SupplierInvoice.country AS Country,
_SupplierInvoice.region AS Region,
_SupplierInvoice.emailaddress AS EmailAddress,
_SupplierInvoice.bankcountry AS BankCountry,
_SupplierInvoice.bankinternalid AS BankInternalID,
_SupplierInvoice.bankaccount AS BankAccount,
_SupplierInvoice.bankreference AS BankReference,
_SupplierInvoice.bankcontrolkey AS BankControlKey,
_SupplierInvoice.paymentsystem AS PaymentSystem,
_SupplierInvoice.aliastype AS AliasType,
_SupplierInvoice.bpbankaccountaliasname AS BPBankAccountAliasName,
_SupplierInvoice.isvatliable AS IsVATLiable,
_SupplierInvoice.accounttaxtype AS AccountTaxType,
_SupplierInvoice.taxnumbertype AS TaxNumberType,
_SupplierInvoice.taxid1 AS TaxID1,
_SupplierInvoice.taxid2 AS TaxID2,
_SupplierInvoice.taxid3 AS TaxID3,
_SupplierInvoice.taxid4 AS TaxID4,
_SupplierInvoice.taxid5 AS TaxID5,
_SupplierInvoice.vatregistration AS VATRegistration,
_SupplierInvoice.isnaturalperson AS IsNaturalPerson,
_SupplierInvoice.onetmeacctisequalizationtxsubj AS OneTmeAcctIsEqualizationTxSubj,
_SupplierInvoice.businesstype AS BusinessType,
_SupplierInvoice.industrytype AS IndustryType,
_SupplierInvoice.representativename AS RepresentativeName,
_SupplierInvoice.dataexchangeinstructionkey AS DataExchangeInstructionKey,
_SupplierInvoice.datamediumexchangeindicator AS DataMediumExchangeIndicator,
_SupplierInvoice.alternativepayeeisallowed AS AlternativePayeeIsAllowed,
_SupplierInvoice.isonetimeaccount AS IsOneTimeAccount,
_SupplierInvoice.addressandbankissetmanually AS AddressAndBankIsSetManually,
_SupplierInvoice.applicationloghandle AS ApplicationLogHandle,
_SupplierInvoice.sitntypedescription AS SitnTypeDescription,
_CompanyCode.Country AS CompanyCodeCountry,
_CustomerCompany.Customer AS CustomerNum,
_CustomerCompany._Customer AS _Customer
FROM farp_miv_ivinf AS _SupplierInvoice
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode -- association [0..1]
LEFT OUTER JOIN I_CustomerCompany AS _CustomerCompany ON Customer = _CustomerCompany.Customer AND CompanyCode = _CustomerCompany.CompanyCode -- association [0..1]
LEFT OUTER JOIN I_PaymentTerms AS _PaymentTerms ON PaymentTerms = _PaymentTerms.PaymentTerms -- association [0..1]
LEFT OUTER JOIN I_AccountingDocumentType AS _AccountDocType ON AccountingDocumentType = _AccountDocType.AccountingDocumentType -- association [0..1]
LEFT OUTER JOIN I_SuplrInvcTransactionTypeDesc AS _SuplrInvcTransactionTypeDesc ON SupplierInvoiceTransactionType = _SuplrInvcTransactionTypeDesc.SupplierInvoiceTransactionType AND _SuplrInvcTransactionTypeDesc.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_OutgoingInvoiceStatus AS _SupplierInvoiceStatusText ON OutgoingInvoiceStatus = _SupplierInvoiceStatusText.OutgoingInvoiceStatus -- association [0..1]
LEFT OUTER JOIN I_BusinessAreaText AS _BusinessAreaText ON BusinessArea = _BusinessAreaText.BusinessArea AND _BusinessAreaText.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_BusinessAreaText AS _PartnerBusinessAreaText ON PartnerBusinessArea = _PartnerBusinessAreaText.BusinessArea AND _PartnerBusinessAreaText.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_BusinessPlaceSectionCodeName AS _BusinessPlaceSectionCodeName ON BusinessSectionCode = _BusinessPlaceSectionCodeName.BusinessSectionCode AND _BusinessPlaceSectionCodeName.Language = $session.system_language AND CompanyCode = _BusinessPlaceSectionCodeName.CompanyCode -- association [0..1]
LEFT OUTER JOIN I_Branch AS _Branch ON BusinessPlace = _Branch.Branch AND CompanyCode = _Branch.CompanyCode -- association [0..1]
LEFT OUTER JOIN I_CountryText AS _SupplyingCountryText ON SupplyingCountry = _SupplyingCountryText.Country AND _SupplyingCountryText.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_CountryText AS _CompanyCodeCountryText ON ReportingCountry = _CompanyCodeCountryText.Country AND _CompanyCodeCountryText.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_CountryText AS _TaxCountryText ON TaxCountry = _TaxCountryText.Country AND _TaxCountryText.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_HouseBankAccountText AS _HouseBankAccountText ON CompanyCode = _HouseBankAccountText.CompanyCode AND HouseBank = _HouseBankAccountText.HouseBank AND HouseBankAccount = _HouseBankAccountText.HouseBankAccount AND _HouseBankAccountText.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_PaymentMethodText AS _PaymentMethodInCountryVH ON PaymentMethod = _PaymentMethodInCountryVH.PaymentMethod AND companycodecountry = _PaymentMethodInCountryVH.Country AND _PaymentMethodInCountryVH.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_PaymentBlockingReasonText AS _PaymentBlockingReasonText ON SuplrInvcPaymentBlockingReason = _PaymentBlockingReasonText.PaymentBlockingReason AND _PaymentBlockingReasonText.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_StateCentralBankPaytRsn AS _StateCentralBankPaytRsn ON StateCentralBankPaymentReason = _StateCentralBankPaytRsn.StateCentralBankPaymentReason -- association [0..1]
LEFT OUTER JOIN I_PlanningLevelText AS _PlanningLevelText ON PlanningLevel = _PlanningLevelText.PlanningLevel AND _PlanningLevelText.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_TreasuryContractTypeText AS _TreasuryContractTypeText ON TreasuryContractType = _TreasuryContractTypeText.TreasuryContractType AND _TreasuryContractTypeText.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_CreditControlAreaText AS _CreditControlAreaText ON CreditControlArea = _CreditControlAreaText.CreditControlArea AND _CreditControlAreaText.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_PaymentDifferenceReasonT AS _PaymentDifferenceReasonT ON PaymentDifferenceReason = _PaymentDifferenceReasonT.PaymentDifferenceReason AND _PaymentDifferenceReasonT.Language = $session.system_language AND CompanyCode = _PaymentDifferenceReasonT.CompanyCode -- association [0..1]
LEFT OUTER JOIN I_GlAccountTextInCompanycode AS _GLAccountText ON CompanyCode = _GLAccountText.CompanyCode AND ReconciliationAccount = _GLAccountText.GLAccount AND _GLAccountText.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN R_IncgOutgInvoiceItemTP AS _ManageInvoicesItem ON /* condition not available in parsed metadata */ -- association [1..*]
LEFT OUTER JOIN R_IncgOutgInvoiceWhgdTaxTP AS _ManageInvoicesWhgdTax ON /* condition not available in parsed metadata */ -- association [1..*]
LEFT OUTER JOIN R_IncgOutgInvoiceTaxTP AS _ManageInvoicesTax ON /* condition not available in parsed metadata */ -- association [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