I_BPSuplrDocAssgmtProcChanges

DDL: I_BPSUPLRDOCASSGMTPROCCHANGES Type: view_entity TRANSACTIONAL Package: MDC_SUPPL_STAGING_BO

BP Supplier Document Assignment Changes

I_BPSuplrDocAssgmtProcChanges is a Transactional CDS View that provides data about "BP Supplier Document Assignment Changes" in SAP S/4HANA. It reads from 2 data sources (I_BPSuplrDocumentAssgmtProc, I_BPSuplrDocumentAssgmtProc) and exposes 49 fields with key fields MasterDataChangeProcess, MDChgProcessStep, MDChgProcessSrceSystem, MDChgProcessSrceObject, DocumentInfoRecordDocType. It has 1 association to related views. Part of development package MDC_SUPPL_STAGING_BO.

Data Sources (2)

SourceAliasJoin Type
I_BPSuplrDocumentAssgmtProc _Current from
I_BPSuplrDocumentAssgmtProc _Current union_all

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_BPSupplierProcess _Supplier $projection.MasterDataChangeProcess = _Supplier.MasterDataChangeProcess and $projection.MDChgProcessStep = _Supplier.MDChgProcessStep and $projection.MDChgProcessSrceSystem = _Supplier.MDChgProcessSrceSystem and $projection.MDChgProcessSrceObject = _Supplier.MDChgProcessSrceObject

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label BP Supplier Document Assignment Changes view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #TRANSACTIONAL view

Fields (49)

KeyFieldSource TableSource FieldDescription
KEY MasterDataChangeProcess I_BPSuplrDocumentAssgmtProc MasterDataChangeProcess Process ID
KEY MDChgProcessStep I_BPSuplrDocumentAssgmtProc MDChgProcessStep Step Number
KEY MDChgProcessSrceSystem I_BPSuplrDocumentAssgmtProc MDChgProcessSrceSystem Source System
KEY MDChgProcessSrceObject I_BPSuplrDocumentAssgmtProc MDChgProcessSrceObject Source ID
KEY DocumentInfoRecordDocType I_BPSuplrDocumentAssgmtProc DocumentInfoRecordDocType Document Type
KEY DocumentInfoRecordDocNumber I_BPSuplrDocumentAssgmtProc DocumentInfoRecordDocNumber Document
KEY DocumentInfoRecordDocVersion I_BPSuplrDocumentAssgmtProc DocumentInfoRecordDocVersion Doc. Version
KEY DocumentInfoRecordDocPart I_BPSuplrDocumentAssgmtProc DocumentInfoRecordDocPart Document Part
KEY LinkedSAPObject I_BPSuplrDocumentAssgmtProc LinkedSAPObject Object
KEY LinkedSAPObjectKey I_BPSuplrDocumentAssgmtProc LinkedSAPObjectKey SAP Object Key
KEY DocObjectLinkCounter I_BPSuplrDocumentAssgmtProc DocObjectLinkCounter Obj.Ctr
KEY MDChgProcessModelTableName _ModelTable MDChgProcessModelTableName
KEY MDChangeProcessModelFieldName
KEY char1000asMDChgProcessRecordObjectID
MDChangeProcModelTableDesc _ModelTable MDChangeProcModelTableDesc
MDChangeProcessModelFieldDesc
MDChgProcModelNodeExternalName
MDChgProcModTableExternalName
MDChgProcModFieldExternalName
MDChgProcCurrentAttributeValue
MDChgProcPrevAttributeValue
MDChgProcessAttributeIsChanged
MDChgProcessSourceModified I_BPSuplrDocumentAssgmtProc MDChgProcessSourceModified Modified
char260asMDChgProcessRecordObjectText
MasterDataChangeProcess Process ID
KEY MDChgProcessStep I_BPSuplrDocumentAssgmtProc MDChgProcessStep Step Number
KEY MDChgProcessSrceSystem I_BPSuplrDocumentAssgmtProc MDChgProcessSrceSystem Source System
KEY MDChgProcessSrceObject I_BPSuplrDocumentAssgmtProc MDChgProcessSrceObject Source ID
KEY DocumentInfoRecordDocType I_BPSuplrDocumentAssgmtProc DocumentInfoRecordDocType Document Type
KEY DocumentInfoRecordDocNumber I_BPSuplrDocumentAssgmtProc DocumentInfoRecordDocNumber Document
KEY DocumentInfoRecordDocVersion I_BPSuplrDocumentAssgmtProc DocumentInfoRecordDocVersion Doc. Version
KEY DocumentInfoRecordDocPart I_BPSuplrDocumentAssgmtProc DocumentInfoRecordDocPart Document Part
KEY LinkedSAPObject I_BPSuplrDocumentAssgmtProc LinkedSAPObject Object
KEY LinkedSAPObjectKey I_BPSuplrDocumentAssgmtProc LinkedSAPObjectKey SAP Object Key
KEY DocObjectLinkCounter I_BPSuplrDocumentAssgmtProc DocObjectLinkCounter Obj.Ctr
KEY MDChgProcessModelTableName _ModelField MDChgProcessModelTableName
KEY MDChangeProcessModelFieldName _ModelField MDChangeProcessModelFieldName
KEY char1000asMDChgProcessRecordObjectID
MDChangeProcModelTableDesc _ModelField MDChangeProcModelTableDesc
MDChangeProcessModelFieldDesc _ModelField MDChangeProcessModelFieldDesc
MDChgProcModelNodeExternalName
MDChgProcModTableExternalName
MDChgProcModFieldExternalName
MDChgProcCurrentAttributeValue
MDChgProcPrevAttributeValue
MDChgProcessAttributeIsChanged
MDChgProcessSourceModified I_BPSuplrDocumentAssgmtProc MDChgProcessSourceModified Modified
char260asMDChgProcessRecordObjectText
_Supplier _Supplier

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_BPSuplrDocAssgmtProcChanges.
-- 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_BPSuplrDocAssgmtProcChanges AS
SELECT
  _Current.MasterDataChangeProcess AS MasterDataChangeProcess,
  _Current.MDChgProcessStep AS MDChgProcessStep,
  _Current.MDChgProcessSrceSystem AS MDChgProcessSrceSystem,
  _Current.MDChgProcessSrceObject AS MDChgProcessSrceObject,
  _Current.DocumentInfoRecordDocType AS DocumentInfoRecordDocType,
  _Current.DocumentInfoRecordDocNumber AS DocumentInfoRecordDocNumber,
  _Current.DocumentInfoRecordDocVersion AS DocumentInfoRecordDocVersion,
  _Current.DocumentInfoRecordDocPart AS DocumentInfoRecordDocPart,
  _Current.LinkedSAPObject AS LinkedSAPObject,
  _Current.LinkedSAPObjectKey AS LinkedSAPObjectKey,
  _Current.DocObjectLinkCounter AS DocObjectLinkCounter,
  _ModelTable.MDChgProcessModelTableName AS MDChgProcessModelTableName,
  cast ( '' as fieldname ) AS MDChangeProcessModelFieldName,
  cast( concat( concat( concat( _Current.MDChgProcessSrceSystem, concat( '%%', _Current.MDChgProcessSrceObject )), concat( '%%', _Current.BPAssignmentID )), concat( '%%', _Current.DocumentInfoRecordDocType )) as abap.char(1000) ) as MDChgProcessRecordObjectID AS char1000asMDChgProcessRecordObjectID,
  _ModelTable.MDChangeProcModelTableDesc AS MDChangeProcModelTableDesc,
  cast ('' as as4text ) AS MDChangeProcessModelFieldDesc,
  cast( 'BusPartSupplierDocument' as fieldname ) AS MDChgProcModelNodeExternalName,
  cast( 'I_BPSuplrDocumentAssgmtProcTP' as fieldname ) AS MDChgProcModTableExternalName,
  cast( '' as fieldname ) AS MDChgProcModFieldExternalName,
  cast( '' as abap.char( 260 ) ) AS MDChgProcCurrentAttributeValue,
  cast( '' as abap.char( 260 ) ) AS MDChgProcPrevAttributeValue,
  cast( '' as boolean ) AS MDChgProcessAttributeIsChanged,
  _Current.MDChgProcessSourceModified AS MDChgProcessSourceModified,
  cast( concat_with_space(coalesce(_Current.DocumentInfoRecordDocType,'') , concat( concat( '(', _Current.DocumentInfoRecordDocType ), ')' ) , 1 ) as abap.char( 260 ) ) as MDChgProcessRecordObjectText AS char260asMDChgProcessRecordObjectText
FROM I_BPSuplrDocumentAssgmtProc AS _Current
LEFT OUTER JOIN I_BPSupplierProcess AS _Supplier ON MasterDataChangeProcess = _Supplier.MasterDataChangeProcess AND MDChgProcessStep = _Supplier.MDChgProcessStep AND MDChgProcessSrceSystem = _Supplier.MDChgProcessSrceSystem AND MDChgProcessSrceObject = _Supplier.MDChgProcessSrceObject  -- association [1..1]
-- UNION ALL with additional select branch(es): I_BPSuplrDocumentAssgmtProc
;