C_OutgInvoiceTP
C_OutgInvoiceTP is a Consumption CDS View in SAP S/4HANA. It reads from 1 data source (R_IncgOutgInvoiceTP) and exposes 168 fields with key field OutgoingInvoiceUUID. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| R_IncgOutgInvoiceTP | R_IncgOutgInvoiceTP | projection |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_FixedCashDiscountType | _FixedCashTypeText | $projection.FixedCashDiscount = _FixedCashTypeText.FixedCashDiscount |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| Metadata.allowExtensions | true | view | |
| Search.searchable | true | view |
Fields (168)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | OutgoingInvoiceUUID | OutgoingInvoiceUUID | Upload Invoice UUID | |
| AccountingDocument | AccountingDocument | Journal Entry | ||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| CompanyCodeName | _CompanyCode | CompanyCodeName | Company Name | |
| SupplierInvoiceTransactionType | SupplierInvoiceTransactionType | Transaction | ||
| SuplrInvcTransactionTypeDesc | _SuplrInvcTransactionTypeDesc | SuplrInvcTransactionTypeDesc | ||
| Customer | Customer | Sold-to Party | ||
| CustomerName | _Customer | CustomerName | Name of Customer | |
| DocumentReferenceID | DocumentReferenceID | Reference | ||
| InvoiceDate | InvoiceDate | Run On | ||
| PostingDate | PostingDate | Posting Date for GR | ||
| AccountingDocumentTypeName | ||||
| AccountingDocumentType | AccountingDocumentType | Journal Entry Type | ||
| AccountingDocumentHeaderText | AccountingDocumentHeaderText | Doc.Header Text | ||
| TransactionCurrency | TransactionCurrency | Transaction Currency | ||
| TotalAmountInTransactionCrcy | TotalAmountInTransactionCrcy | Total Amt In Tr Crcy | ||
| BusinessPlace | BusinessPlace | Business place | ||
| BusinessPlaceName | _Branch | BranchName | ||
| BusinessSectionCode | BusinessSectionCode | Section Code | ||
| BusinessSectionCodeName | ||||
| SuplrInvcPaymentBlockingReason | SuplrInvcPaymentBlockingReason | Pmnt block | ||
| PaymentBlockingReasonName | _PaymentBlockingReasonText | PaymentBlockingReasonName | ||
| DueCalculationBaseDate | DueCalculationBaseDate | Due Calculation Base Date | ||
| CashDiscountAmount | CashDiscountAmount | CD Amount | ||
| EligibleAmountForCshDiscInTC | EligibleAmountForCshDiscInTC | Cash Discount Base | ||
| PaymentMethod | PaymentMethod | Pymt Meth. | ||
| PaymentMethodName | _PaymentMethodInCountryVH | PaymentMethodDescription | ||
| PaymentMethodSupplement | PaymentMethodSupplement | Pmnt Meth. Sup. | ||
| PaymentReference | PaymentReference | Payment Reference | ||
| InvoiceReference | InvoiceReference | Invoice Reference | ||
| InvoiceReferenceFiscalYear | InvoiceReferenceFiscalYear | Invoice Reference Fiscal Year | ||
| InvoiceItemReference | InvoiceItemReference | Item | ||
| OutgoingInvoiceStatus | OutgoingInvoiceStatus | Status | ||
| StatusDescription | ||||
| StatusCriticality | StatusCriticality | |||
| SupplierBankType | SupplierBankType | Partner Bank Type | ||
| HouseBank | HouseBank | House Bank | ||
| HouseBankAccount | HouseBankAccount | House Bank Account | ||
| HouseBankAccountDescription | _HouseBankAccountText | HouseBankAccountDescription | ||
| DataExchangeInstruction1 | DataExchangeInstruction1 | Instruction 1 | ||
| DataExchangeInstruction2 | DataExchangeInstruction2 | Instruction 2 | ||
| DataExchangeInstruction3 | DataExchangeInstruction3 | Instruction 3 | ||
| DataExchangeInstruction4 | DataExchangeInstruction4 | Instruction 4 | ||
| PaymentDifferenceReason | PaymentDifferenceReason | Reason Code | ||
| PaymentDifferenceReasonDesc | _PaymentDifferenceReasonT | PaymentDifferenceReasonDesc | ||
| PaymentTerms | PaymentTerms | Pyt Terms | ||
| CashDiscount1Days | CashDiscount1Days | Days from Baseline Date for Payment | ||
| CashDiscount1Percent | CashDiscount1Percent | Disc. Percent 1 | ||
| CashDiscount2Days | CashDiscount2Days | Days from Baseline Date for Payment | ||
| CashDiscount2Percent | CashDiscount2Percent | Disc. Percent 2 | ||
| NetPaymentDays | NetPaymentDays | Net Pmt Terms Period | ||
| FixedCashDiscount | FixedCashDiscount | Fixed Cash Discount | ||
| ReconciliationAccount | ReconciliationAccount | Recon. account | ||
| GLAccountLongName | _GLAccountText | GLAccountLongName | Long Text | |
| AssignmentReference | AssignmentReference | Assignment Reference | ||
| DocumentItemText | DocumentItemText | Text | ||
| BusinessArea | BusinessArea | Business Area | ||
| BusinessAreaText | ||||
| PartnerBusinessArea | PartnerBusinessArea | Trdg Part.BA | ||
| PartnerBusinessAreaName | _PartnerBusinessAreaText | BusinessAreaName | Business Area Name | |
| TreasuryContract | TreasuryContract | Contract Number | ||
| TreasuryContractType | TreasuryContractType | Treasury Contract Type | ||
| TreasuryContractTypeName | _TreasuryContractTypeText | TreasuryContractTypeName | ||
| Reference1IDByBusinessPartner | Reference1IDByBusinessPartner | Reference Key 1 | ||
| Reference2IDByBusinessPartner | Reference2IDByBusinessPartner | Reference Key 2 | ||
| Reference3IDByBusinessPartner | Reference3IDByBusinessPartner | Reference Key 3 | ||
| StateCentralBankPaymentReason | StateCentralBankPaymentReason | SCB Ind. | ||
| StateCentralBankPaytRsnDesc | _StateCentralBankPaytRsn | StateCentralBankPaytRsnDesc | ||
| SupplyingCountry | SupplyingCountry | Supplying Ctry/Reg. | ||
| CountryName | _SupplyingCountryText | CountryName | Country | |
| RecrrgSuplrInvcIsSrvcInvoice | RecrrgSuplrInvcIsSrvcInvoice | Service Ind. | ||
| FinTransFlowType | FinTransFlowType | Flow Type | ||
| CreditControlArea | CreditControlArea | Credit Control Area | ||
| CreditControlAreaName | _CreditControlAreaText | CreditControlAreaName | ||
| ReportingCountry | ReportingCountry | Reporting Ctry/Reg. | ||
| CompanyCodeCountryName | _CompanyCodeCountryText | CountryName | Country | |
| IsEUTriangularDeal | IsEUTriangularDeal | Is EU Triangular Deal | ||
| PlanningLevel | PlanningLevel | Planning Level | ||
| PlanningLevelDescription | _PlanningLevelText | PlanningLevelDescription | ||
| PlanningDate | PlanningDate | Planning Date | ||
| IsNegativePosting | IsNegativePosting | Negative Posting | ||
| TaxReportingDate | TaxReportingDate | Tax Reporting Date | ||
| TaxFulfillmentDate | TaxFulfillmentDate | Tax Settlement Date | ||
| TaxDeterminationDate | TaxDeterminationDate | Tx Determination Dte | ||
| TaxCountry | TaxCountry | Tax Ctry/Reg. | ||
| TaxCountryName | _TaxCountryText | CountryName | Country | |
| ExchangeRate | ExchangeRate | Exchange rate | ||
| RAItemTranslationDate | RAItemTranslationDate | Translatn Date | ||
| CreatedByUser | CreatedByUser | User Name | ||
| UserName | UserName | User who owns item | ||
| CreationDateTime | CreationDateTime | Timestamp | ||
| CreationDate | CreationDate | Time Stamp | ||
| FinPlanApplicationLogHandle | FinPlanApplicationLogHandle | Handle | ||
| EventHandlerTypeDescription | EventHandlerTypeDescription | Formula | ||
| BatchUUID | BatchUUID | Target Grp GUID | ||
| ExtractedItemIndex | ExtractedItemIndex | INT4 | ||
| CompanyCodeCountry | CompanyCodeCountry | Reporting Ctry/Reg. | ||
| OneTimeAccountBPSalutationText | OneTimeAccountBPSalutationText | Title | ||
| BusinessPartnerName1 | BusinessPartnerName1 | Name | ||
| BusinessPartnerName2 | BusinessPartnerName2 | Name 2 | ||
| BusinessPartnerName3 | BusinessPartnerName3 | Name 3 | ||
| BusinessPartnerName4 | BusinessPartnerName4 | Name 4 | ||
| StreetName | StreetName | Text | ||
| CityName | CityName | Name | ||
| PostalCode | PostalCode | Postal Code | ||
| POBox | POBox | PO Box | ||
| POBoxIsWithoutNumber | POBoxIsWithoutNumber | PO Box w/o No. | ||
| POBoxPostalCode | POBoxPostalCode | PO Box Postal Code | ||
| Country | Country | Venue: Ctry/Reg | ||
| Region | Region | Venue Region | ||
| EmailAddress | EmailAddress | E-Mail Address | ||
| BankCountry | BankCountry | Bank Ctry/Rgn. Key | ||
| BankInternalID | BankInternalID | Bank Key | ||
| BankAccount | BankAccount | Bank acct | ||
| SWIFTCode | SWIFTCode | SWIFT/BIC | ||
| BankReference | BankReference | Payment Reference | ||
| BankControlKey | BankControlKey | Control Key | ||
| IBAN | IBAN | IBAN House Bank | ||
| PaymentSystem | PaymentSystem | Payment System | ||
| AliasType | AliasType | Alias Type | ||
| BPBankAccountAliasName | BPBankAccountAliasName | Bank Account Alias | ||
| IsVATLiable | IsVATLiable | Liable for VAT | ||
| AccountTaxType | AccountTaxType | Tax Type | ||
| TaxNumberType | TaxNumberType | Tax number type | ||
| TaxID1 | TaxID1 | Tax Number 1 | ||
| TaxID2 | TaxID2 | Tax Number 2 | ||
| TaxID3 | TaxID3 | Tax Number 3 | ||
| TaxID4 | TaxID4 | Tax Number 4 | ||
| TaxID5 | TaxID5 | Tax Number 5 | ||
| VATRegistration | VATRegistration | VAT Registration No. | ||
| IsNaturalPerson | IsNaturalPerson | Natural person | ||
| OneTmeAcctIsEqualizationTxSubj | OneTmeAcctIsEqualizationTxSubj | Equalizatn tax | ||
| BusinessType | BusinessType | Type of Business | ||
| IndustryType | IndustryType | Type of Industry | ||
| RepresentativeName | RepresentativeName | Rep's Name | ||
| DataExchangeInstructionKey | DataExchangeInstructionKey | Instruction Key | ||
| DataMediumExchangeIndicator | DataMediumExchangeIndicator | DME Rec. Code | ||
| AlternativePayeeIsAllowed | AlternativePayeeIsAllowed | Payee in doc. | ||
| IsOneTimeAccount | IsOneTimeAccount | One-time acct | ||
| AddressAndBankIsSetManually | AddressAndBankIsSetManually | Address and Bank is Set Manually | ||
| ApplicationLogHandle | ApplicationLogHandle | Log Handle | ||
| SitnTypeDescription | SitnTypeDescription | Formula | ||
| AlternativePayerAccount | AlternativePayerAccount | Alternat.payer | ||
| CustomerNum | CustomerNum | Customer | ||
| _CompanyCode | _CompanyCode | |||
| _Customer | _Customer | |||
| _CustomerCompany | _CustomerCompany | |||
| _SuplrInvcTransactionTypeDesc | _SuplrInvcTransactionTypeDesc | |||
| _PaymentTerms | _SupplierInvoice | _PaymentTerms | ||
| _SupplierInvoiceStatusText | _SupplierInvoiceStatusText | |||
| _FixedCashTypeText | _FixedCashTypeText | |||
| _AccountDocType | _AccountDocType | |||
| _BusinessAreaText | _BusinessAreaText | |||
| _PartnerBusinessAreaText | _PartnerBusinessAreaText | |||
| _BusinessPlaceSectionCodeName | _BusinessPlaceSectionCodeName | |||
| _Branch | _Branch | |||
| _SupplyingCountryText | _SupplyingCountryText | |||
| _CompanyCodeCountryText | _CompanyCodeCountryText | |||
| _TaxCountryText | _TaxCountryText | |||
| _HouseBankAccountText | _HouseBankAccountText | |||
| _PaymentMethodInCountryVH | _PaymentMethodInCountryVH | |||
| _PaymentBlockingReasonText | _PaymentBlockingReasonText | |||
| _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 C_OutgInvoiceTP.
-- 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 C_OutgInvoiceTP AS
SELECT
OutgoingInvoiceUUID,
AccountingDocument,
CompanyCode,
_CompanyCode.CompanyCodeName AS CompanyCodeName,
SupplierInvoiceTransactionType,
_SuplrInvcTransactionTypeDesc.SuplrInvcTransactionTypeDesc AS SuplrInvcTransactionTypeDesc,
Customer,
_Customer.CustomerName AS CustomerName,
DocumentReferenceID,
InvoiceDate,
PostingDate,
_AccountDocType._Text[1:Language=$session.system_language].AccountingDocumentTypeName AS AccountingDocumentTypeName,
AccountingDocumentType,
AccountingDocumentHeaderText,
TransactionCurrency,
TotalAmountInTransactionCrcy,
BusinessPlace,
_Branch.BranchName AS BusinessPlaceName,
BusinessSectionCode,
_BusinessPlaceSectionCodeName[1:Language=$session.system_language].BusinessSectionCodeName AS BusinessSectionCodeName,
SuplrInvcPaymentBlockingReason,
_PaymentBlockingReasonText.PaymentBlockingReasonName AS PaymentBlockingReasonName,
DueCalculationBaseDate,
CashDiscountAmount,
EligibleAmountForCshDiscInTC,
PaymentMethod,
_PaymentMethodInCountryVH.PaymentMethodDescription AS PaymentMethodName,
PaymentMethodSupplement,
PaymentReference,
InvoiceReference,
InvoiceReferenceFiscalYear,
InvoiceItemReference,
OutgoingInvoiceStatus,
_SupplierInvoiceStatusText._Text[1:Language=$session.system_language].StatusDescription AS StatusDescription,
StatusCriticality,
SupplierBankType,
HouseBank,
HouseBankAccount,
_HouseBankAccountText.HouseBankAccountDescription AS HouseBankAccountDescription,
DataExchangeInstruction1,
DataExchangeInstruction2,
DataExchangeInstruction3,
DataExchangeInstruction4,
PaymentDifferenceReason,
_PaymentDifferenceReasonT.PaymentDifferenceReasonDesc AS PaymentDifferenceReasonDesc,
PaymentTerms,
CashDiscount1Days,
CashDiscount1Percent,
CashDiscount2Days,
CashDiscount2Percent,
NetPaymentDays,
FixedCashDiscount,
ReconciliationAccount,
_GLAccountText.GLAccountLongName AS GLAccountLongName,
AssignmentReference,
DocumentItemText,
BusinessArea,
_BusinessAreaText[1:Language=$session.system_language].BusinessAreaName AS BusinessAreaText,
PartnerBusinessArea,
_PartnerBusinessAreaText.BusinessAreaName AS PartnerBusinessAreaName,
TreasuryContract,
TreasuryContractType,
_TreasuryContractTypeText.TreasuryContractTypeName AS TreasuryContractTypeName,
Reference1IDByBusinessPartner,
Reference2IDByBusinessPartner,
Reference3IDByBusinessPartner,
StateCentralBankPaymentReason,
_StateCentralBankPaytRsn.StateCentralBankPaytRsnDesc AS StateCentralBankPaytRsnDesc,
SupplyingCountry,
_SupplyingCountryText.CountryName AS CountryName,
RecrrgSuplrInvcIsSrvcInvoice,
FinTransFlowType,
CreditControlArea,
_CreditControlAreaText.CreditControlAreaName AS CreditControlAreaName,
ReportingCountry,
_CompanyCodeCountryText.CountryName AS CompanyCodeCountryName,
IsEUTriangularDeal,
PlanningLevel,
_PlanningLevelText.PlanningLevelDescription AS PlanningLevelDescription,
PlanningDate,
IsNegativePosting,
TaxReportingDate,
TaxFulfillmentDate,
TaxDeterminationDate,
TaxCountry,
_TaxCountryText.CountryName AS TaxCountryName,
ExchangeRate,
RAItemTranslationDate,
CreatedByUser,
UserName,
CreationDateTime,
CreationDate,
FinPlanApplicationLogHandle,
EventHandlerTypeDescription,
BatchUUID,
ExtractedItemIndex,
CompanyCodeCountry,
OneTimeAccountBPSalutationText,
BusinessPartnerName1,
BusinessPartnerName2,
BusinessPartnerName3,
BusinessPartnerName4,
StreetName,
CityName,
PostalCode,
POBox,
POBoxIsWithoutNumber,
POBoxPostalCode,
Country,
Region,
EmailAddress,
BankCountry,
BankInternalID,
BankAccount,
SWIFTCode,
BankReference,
BankControlKey,
IBAN,
PaymentSystem,
AliasType,
BPBankAccountAliasName,
IsVATLiable,
AccountTaxType,
TaxNumberType,
TaxID1,
TaxID2,
TaxID3,
TaxID4,
TaxID5,
VATRegistration,
IsNaturalPerson,
OneTmeAcctIsEqualizationTxSubj,
BusinessType,
IndustryType,
RepresentativeName,
DataExchangeInstructionKey,
DataMediumExchangeIndicator,
AlternativePayeeIsAllowed,
IsOneTimeAccount,
AddressAndBankIsSetManually,
ApplicationLogHandle,
SitnTypeDescription,
AlternativePayerAccount,
CustomerNum,
_SupplierInvoice._PaymentTerms AS _PaymentTerms
FROM R_IncgOutgInvoiceTP
LEFT OUTER JOIN I_FixedCashDiscountType AS _FixedCashTypeText ON FixedCashDiscount = _FixedCashTypeText.FixedCashDiscount -- 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