C_CN_TaxInputInvcStsChgLg

DDL: C_CN_TAXINPUTINVCSTSCHGLG Type: view CONSUMPTION Package: GLO_FIN_TAX_INVC_MGMT_COMM_CN

Incoming VAT Invoice Operation Log

C_CN_TaxInputInvcStsChgLg is a Consumption CDS View that provides data about "Incoming VAT Invoice Operation Log" in SAP S/4HANA. It reads from 1 data source (I_CN_TaxInputInvcStsChgLg) and exposes 14 fields with key field CN_TaxInvcStsChgLgUUID. It has 3 associations to related views. Part of development package GLO_FIN_TAX_INVC_MGMT_COMM_CN.

Data Sources (1)

SourceAliasJoin Type
I_CN_TaxInputInvcStsChgLg I_CN_TaxInputInvcStsChgLg from

Associations (3)

CardinalityTargetAliasCondition
[1..1] C_CN_TaxInvcInptProcgSts _InitialInvoiceStatus $projection.CN_TaxInvcChgLgStatus = _InitialInvoiceStatus.CN_TaxInvcInptProcgSts
[1..1] C_CN_TaxInvcInptProcgSts _NextInvoiceStatus $projection.CN_TaxInvcChgLgNextStatus = _NextInvoiceStatus.CN_TaxInvcInptProcgSts
[1..1] C_CN_TaxInputInvc _Invoice $projection.CN_TaxInvcUUID = _Invoice.CN_TaxInvcUUID

Annotations (16)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName CCNTXISTSLG view
AbapCatalog.compiler.compareFilter true view
VDM.viewType #CONSUMPTION view
VDM.private false view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
EndUserText.label Incoming VAT Invoice Operation Log view
ObjectModel.representativeKey CN_TaxInvcStsChgLgUUID view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
UI.headerInfo.typeName Invoice Operation Log view
UI.headerInfo.typeNamePlural Invoice Operation Logs view
UI.headerInfo.title.type #STANDARD view
UI.headerInfo.title.value CN_TaxInvcStsChgLgUUID view

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY CN_TaxInvcStsChgLgUUID _log CN_TaxInvcStsChgLgUUID
CN_TaxEntityID _Invoice CN_TaxEntityID Tax Entity
CN_TaxInputInvcActn _log CN_TaxInputInvcActn
CN_TaxInvcUUID _log CN_TaxInvcUUID Invoice UUID
CN_TaxInvcChgLgStatus
CN_TaxInvcChgLgNextStatus Processing Status
ARCommentText _log ARCommentText
LastChangedByUser _log LastChangedByUser User Name
LastChangedByUserName
LastChangeDateTime _log LastChangeDateTime Timestamp
_InitialInvoiceStatus _InitialInvoiceStatus
DocumentStatusDesc
_NextInvoiceStatus _NextInvoiceStatus
_Invoice _Invoice

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_CN_TaxInputInvcStsChgLg.
-- 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_CN_TaxInputInvcStsChgLg AS
SELECT
  _log.CN_TaxInvcStsChgLgUUID AS CN_TaxInvcStsChgLgUUID,
  _Invoice.CN_TaxEntityID AS CN_TaxEntityID,
  _log.CN_TaxInputInvcActn AS CN_TaxInputInvcActn,
  _log.CN_TaxInvcUUID AS CN_TaxInvcUUID,
  _log.ARCommentText AS ARCommentText,
  _log.LastChangedByUser AS LastChangedByUser,
  cast ( _log.LastChangedByUserName as ficntaxinvc_processor ) AS LastChangedByUserName,
  _log.LastChangeDateTime AS LastChangeDateTime,
  cast (_NextInvoiceStatus.DocumentStatusDesc as ficntaxinvc_status_text) AS DocumentStatusDesc
FROM I_CN_TaxInputInvcStsChgLg
LEFT OUTER JOIN C_CN_TaxInvcInptProcgSts AS _InitialInvoiceStatus ON CN_TaxInvcChgLgStatus = _InitialInvoiceStatus.CN_TaxInvcInptProcgSts  -- association [1..1]
LEFT OUTER JOIN C_CN_TaxInvcInptProcgSts AS _NextInvoiceStatus ON CN_TaxInvcChgLgNextStatus = _NextInvoiceStatus.CN_TaxInvcInptProcgSts  -- association [1..1]
LEFT OUTER JOIN C_CN_TaxInputInvc AS _Invoice ON CN_TaxInvcUUID = _Invoice.CN_TaxInvcUUID  -- association [1..1]
;