I_CAInvcgRequest
Fakturierungsaufträge
I_CAInvcgRequest is a Basic CDS View that provides data about "Fakturierungsaufträge" in SAP S/4HANA. It reads from 1 data source (dfkkinv_trig) and exposes 59 fields with key fields CAInvcgSourceDocumentCat, CAInvcgSourceDocumentNumber. It has 21 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| dfkkinv_trig | dfkkinv_trig | from |
Associations (21)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_ContractAccountPartner | _ContractAccountPartner | $projection.ContractAccount = _ContractAccountPartner.ContractAccount and $projection.BusinessPartner = _ContractAccountPartner.BusinessPartner |
| [0..1] | I_BusinessPartner | _BusinessPartner | $projection.BusinessPartner = _BusinessPartner.BusinessPartner |
| [0..1] | I_ContractAccountHeader | _ContractAccountHeader | $projection.ContractAccount = _ContractAccountHeader.ContractAccount |
| [0..1] | I_ContractAccountHeader | _AltvContractAccountHeader | $projection.AltvContractAcctForCollvBills = _AltvContractAccountHeader.ContractAccount |
| [0..1] | I_CAInvcgSourceDocCat | _CAInvcgSourceDocCat | $projection.CAInvcgSourceDocumentCat = _CAInvcgSourceDocCat.CAInvcgSourceDocumentCat |
| [0..1] | I_CAInvcgCategory | _CAInvcgCategory | $projection.CAInvcgCategory = _CAInvcgCategory.CAInvcgCategory |
| [0..1] | I_CAInvcgReqLock | _CAInvcgReqLock | $projection.CAInvcgReqIsLockedForInvoicing = _CAInvcgReqLock.CAInvcgReqIsLockedForInvoicing |
| [0..1] | I_CAInvcgReqLockReason | _CAInvcgReqLockReason | $projection.CAInvcgReqLockReason = _CAInvcgReqLockReason.CAInvcgReqLockReason |
| [0..1] | I_CAInvcgSourceDocType | _CAInvcgSourceDocType | $projection.CAInvcgSourceDocumentType = _CAInvcgSourceDocType.CAInvcgSourceDocumentType and $projection.CAInvcgSourceDocumentCat = _CAInvcgSourceDocType.CAInvcgSourceDocumentCat |
| [0..1] | I_CAInvcgTargetProc | _CAInvcgTargetProc | $projection.CAInvcgTargetProcess = _CAInvcgTargetProc.CAInvcgTargetProcess |
| [0..1] | I_CAInvcgDocTechDocType | _CAInvcgDocTechDocType | $projection.CAInvcgTechnicalDocumentType = _CAInvcgDocTechDocType.CAInvcgTechnicalDocumentType |
| [0..1] | I_CAApplicationArea | _CAApplicationArea | $projection.CAApplicationArea = _CAApplicationArea.CAApplicationArea |
| [0..1] | I_CASubApplication | _CASubApplication | $projection.CASubApplication = _CASubApplication.CASubApplication |
| [0..1] | I_CAInvcgMasterDataType | _CAInvcgMasterDataType | $projection.CAInvcgMasterDataType = _CAInvcgMasterDataType.CAInvcgMasterDataType |
| [0..1] | I_CABillgDocOriginProcess | _CABillgDocOriginProcess | $projection.CABillgDocOriginProcess = _CABillgDocOriginProcess.CABillgDocOriginProcess |
| [0..1] | I_CAInvcgCorrectionCat | _CAInvcgCorrectionCat | $projection.CAInvcgCorrectionCategory = _CAInvcgCorrectionCat.CAInvcgCorrectionCategory |
| [0..1] | I_CAInvcgControlOfInvcgUnit | _CAInvcgControlOfInvcgUnit | $projection.CAInvcgControlOfInvoicingUnit = _CAInvcgControlOfInvcgUnit.CAInvcgControlOfInvoicingUnit |
| [0..1] | I_CACompanyCode | _CACompanyCode | $projection.CompanyCode = _CACompanyCode.CompanyCode |
| [0..1] | I_Division | _Division | $projection.Division = _Division.Division |
| [0..1] | I_Currency | _TransactionCurrency | $projection.TransactionCurrency = _TransactionCurrency.Currency |
| [0..1] | I_User | _User | $projection.CAInvcgReqCreationUser = _User.UserID |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| EndUserText.label | Fakturierungsaufträge | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view |
Fields (59)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CAInvcgSourceDocumentCat | Source Doc.Cat. | ||
| KEY | CAInvcgSourceDocumentNumber | Source Doc. No. | ||
| AltvContractAcctForCollvBills | abwvk | Coll. Bill Acct | ||
| CAApplicationArea | applk | ApplicationArea | ||
| CompanyCode | bukrs | Value | ||
| BusinessPlace | bupla | Business place | ||
| CAInvcgCorrectionCategory | Inv.Corr.Cat. | |||
| CAInvcgReqCreationDate | crdate | Sizing Date | ||
| CAInvcgReqCreationUser | crname | Last Changed By | ||
| CAInvcgReqStartDate | Validity Start Date | |||
| CAInvcgReqEndDate | Validity End Date | |||
| BusinessPartner | Tech. BPartner | |||
| CAInvcgCategory | inv_category | Invoicing Cat. | ||
| CAInvcgBaseDate | invoice_basedate | Baseline Date | ||
| CAInvcgFirstDate | invoice_first | Invoice From | ||
| CAInvcgReqIsLockedForInvoicing | invtriglock | Invoicing Lock | ||
| CAInvcgReqLockReason | invtriglock_rsn | Lock Reason | ||
| CAInvcgReqLockDate | invtriglock_date | |||
| CAInvcgReqLockedToDate | invtriglock_date_to | |||
| CAInvcgReqLockedByUser | invtriglock_user | |||
| LogicalSystem | log_system | Logical system | ||
| CAInvcgMasterDataType | mdcat | MasterData Type | ||
| CAPartnerSettlementRule | ptsrl | Settlement Rule | ||
| CASourceDocumentNumberOfItems | recnum | Number of Items | ||
| CABllbleItmNumber | Number of Items | |||
| CAInvcgControlOfInvoicingUnit | Inv. Unit Cntrl | |||
| CAInvcgReqIsDocumentSimulated | Simulation Doc. | |||
| Division | spart | Source supplier | ||
| CAInvcgSourceDocumentAmount | srcdoc_amount | Amount | ||
| CASourceDocumentCreationDate | srcdoc_crdate | Created On | ||
| CAInvcgSourceDocumentType | srcdoctype | Source Doc.Type | ||
| CABillgDocOriginProcess | srcprocess | Origin | ||
| CASubApplication | subap | Subapplication | ||
| CAInvcgTargetProcess | targprocess | Target Process | ||
| CAInvcgTechnicalDocumentType | Tech. Doc. Type | |||
| ContractAccount | vkont | Tech. CtrAcct | ||
| CAContract | vtref | Contract | ||
| TransactionCurrency | waers | Transaction Currency | ||
| _ContractAccountPartner | _ContractAccountPartner | |||
| _BusinessPartner | _BusinessPartner | |||
| _ContractAccountHeader | _ContractAccountHeader | |||
| _AltvContractAccountHeader | _AltvContractAccountHeader | |||
| _CAInvcgSourceDocCat | _CAInvcgSourceDocCat | |||
| _CAInvcgCategory | _CAInvcgCategory | |||
| _CAInvcgReqLock | _CAInvcgReqLock | |||
| _CAInvcgReqLockReason | _CAInvcgReqLockReason | |||
| _CAInvcgSourceDocType | _CAInvcgSourceDocType | |||
| _CAInvcgTargetProc | _CAInvcgTargetProc | |||
| _CAInvcgDocTechDocType | _CAInvcgDocTechDocType | |||
| _CAApplicationArea | _CAApplicationArea | |||
| _CASubApplication | _CASubApplication | |||
| _CAInvcgMasterDataType | _CAInvcgMasterDataType | |||
| _CABillgDocOriginProcess | _CABillgDocOriginProcess | |||
| _CAInvcgCorrectionCat | _CAInvcgCorrectionCat | |||
| _CAInvcgControlOfInvcgUnit | _CAInvcgControlOfInvcgUnit | |||
| _CACompanyCode | _CACompanyCode | |||
| _Division | _Division | |||
| _TransactionCurrency | _TransactionCurrency | |||
| _User | _User |
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 I_CAInvcgRequest.
-- 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 I_CAInvcgRequest AS
SELECT
cast(srcdoccat as srcdoccat_gfn_kk preserving type) AS CAInvcgSourceDocumentCat,
cast(srcdocno as srcdocno_gfn_kk preserving type) AS CAInvcgSourceDocumentNumber,
abwvk AS AltvContractAcctForCollvBills,
applk AS CAApplicationArea,
bukrs AS CompanyCode,
bupla AS BusinessPlace,
cast(corrcat as corrcat_gfn_kk preserving type) AS CAInvcgCorrectionCategory,
crdate AS CAInvcgReqCreationDate,
crname AS CAInvcgReqCreationUser,
cast(date_from as bill_period_from_gfn_kk preserving type) AS CAInvcgReqStartDate,
cast(date_to as bill_period_to_gfn_kk preserving type) AS CAInvcgReqEndDate,
cast(gpart as bu_partner preserving type) AS BusinessPartner,
inv_category AS CAInvcgCategory,
invoice_basedate AS CAInvcgBaseDate,
invoice_first AS CAInvcgFirstDate,
invtriglock AS CAInvcgReqIsLockedForInvoicing,
invtriglock_rsn AS CAInvcgReqLockReason,
invtriglock_date AS CAInvcgReqLockDate,
invtriglock_date_to AS CAInvcgReqLockedToDate,
invtriglock_user AS CAInvcgReqLockedByUser,
log_system AS LogicalSystem,
mdcat AS CAInvcgMasterDataType,
ptsrl AS CAPartnerSettlementRule,
recnum AS CASourceDocumentNumberOfItems,
cast(bit_number as bit_number_gfn_kk preserving type) AS CABllbleItmNumber,
cast(separate_inv as separate_inv_bitpack_gfn_kk preserving type) AS CAInvcgControlOfInvoicingUnit,
cast(simulated as invtrig_simulated_gfn_kk preserving type) AS CAInvcgReqIsDocumentSimulated,
spart AS Division,
srcdoc_amount AS CAInvcgSourceDocumentAmount,
srcdoc_crdate AS CASourceDocumentCreationDate,
srcdoctype AS CAInvcgSourceDocumentType,
srcprocess AS CABillgDocOriginProcess,
subap AS CASubApplication,
targprocess AS CAInvcgTargetProcess,
cast(techdoctype as techdoctype_gfn_kk preserving type) AS CAInvcgTechnicalDocumentType,
vkont AS ContractAccount,
vtref AS CAContract,
waers AS TransactionCurrency
FROM dfkkinv_trig
LEFT OUTER JOIN I_ContractAccountPartner AS _ContractAccountPartner ON ContractAccount = _ContractAccountPartner.ContractAccount AND BusinessPartner = _ContractAccountPartner.BusinessPartner -- association [0..1]
LEFT OUTER JOIN I_BusinessPartner AS _BusinessPartner ON BusinessPartner = _BusinessPartner.BusinessPartner -- association [0..1]
LEFT OUTER JOIN I_ContractAccountHeader AS _ContractAccountHeader ON ContractAccount = _ContractAccountHeader.ContractAccount -- association [0..1]
LEFT OUTER JOIN I_ContractAccountHeader AS _AltvContractAccountHeader ON AltvContractAcctForCollvBills = _AltvContractAccountHeader.ContractAccount -- association [0..1]
LEFT OUTER JOIN I_CAInvcgSourceDocCat AS _CAInvcgSourceDocCat ON CAInvcgSourceDocumentCat = _CAInvcgSourceDocCat.CAInvcgSourceDocumentCat -- association [0..1]
LEFT OUTER JOIN I_CAInvcgCategory AS _CAInvcgCategory ON CAInvcgCategory = _CAInvcgCategory.CAInvcgCategory -- association [0..1]
LEFT OUTER JOIN I_CAInvcgReqLock AS _CAInvcgReqLock ON CAInvcgReqIsLockedForInvoicing = _CAInvcgReqLock.CAInvcgReqIsLockedForInvoicing -- association [0..1]
LEFT OUTER JOIN I_CAInvcgReqLockReason AS _CAInvcgReqLockReason ON CAInvcgReqLockReason = _CAInvcgReqLockReason.CAInvcgReqLockReason -- association [0..1]
LEFT OUTER JOIN I_CAInvcgSourceDocType AS _CAInvcgSourceDocType ON CAInvcgSourceDocumentType = _CAInvcgSourceDocType.CAInvcgSourceDocumentType AND CAInvcgSourceDocumentCat = _CAInvcgSourceDocType.CAInvcgSourceDocumentCat -- association [0..1]
LEFT OUTER JOIN I_CAInvcgTargetProc AS _CAInvcgTargetProc ON CAInvcgTargetProcess = _CAInvcgTargetProc.CAInvcgTargetProcess -- association [0..1]
LEFT OUTER JOIN I_CAInvcgDocTechDocType AS _CAInvcgDocTechDocType ON CAInvcgTechnicalDocumentType = _CAInvcgDocTechDocType.CAInvcgTechnicalDocumentType -- association [0..1]
LEFT OUTER JOIN I_CAApplicationArea AS _CAApplicationArea ON CAApplicationArea = _CAApplicationArea.CAApplicationArea -- association [0..1]
LEFT OUTER JOIN I_CASubApplication AS _CASubApplication ON CASubApplication = _CASubApplication.CASubApplication -- association [0..1]
LEFT OUTER JOIN I_CAInvcgMasterDataType AS _CAInvcgMasterDataType ON CAInvcgMasterDataType = _CAInvcgMasterDataType.CAInvcgMasterDataType -- association [0..1]
LEFT OUTER JOIN I_CABillgDocOriginProcess AS _CABillgDocOriginProcess ON CABillgDocOriginProcess = _CABillgDocOriginProcess.CABillgDocOriginProcess -- association [0..1]
LEFT OUTER JOIN I_CAInvcgCorrectionCat AS _CAInvcgCorrectionCat ON CAInvcgCorrectionCategory = _CAInvcgCorrectionCat.CAInvcgCorrectionCategory -- association [0..1]
LEFT OUTER JOIN I_CAInvcgControlOfInvcgUnit AS _CAInvcgControlOfInvcgUnit ON CAInvcgControlOfInvoicingUnit = _CAInvcgControlOfInvcgUnit.CAInvcgControlOfInvoicingUnit -- association [0..1]
LEFT OUTER JOIN I_CACompanyCode AS _CACompanyCode ON CompanyCode = _CACompanyCode.CompanyCode -- association [0..1]
LEFT OUTER JOIN I_Division AS _Division ON Division = _Division.Division -- association [0..1]
LEFT OUTER JOIN I_Currency AS _TransactionCurrency ON TransactionCurrency = _TransactionCurrency.Currency -- association [0..1]
LEFT OUTER JOIN I_User AS _User ON CAInvcgReqCreationUser = _User.UserID -- 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