I_BPSuplrDocumentAssgmtProc

DDL: I_BPSUPLRDOCUMENTASSGMTPROC Type: view_entity BASIC

BP Supplier Document Assignment

I_BPSuplrDocumentAssgmtProc is a Basic CDS View that provides data about "BP Supplier Document Assignment" in SAP S/4HANA. It reads from 1 data source (lfa1_drad_prc) and exposes 28 fields with key fields MasterDataChangeProcess, MDChgProcessStep, MDChgProcessSrceSystem, MDChgProcessSrceObject, DocumentInfoRecordDocType. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
lfa1_drad_prc lfa1_drad_prc from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_BPSupplierProcess _Supplier lfa1_drad_prc.process_id = _Supplier.MasterDataChangeProcess and lfa1_drad_prc.process_step_no = _Supplier.MDChgProcessStep and lfa1_drad_prc.source_system = _Supplier.MDChgProcessSrceSystem and lfa1_drad_prc.source_id = _Supplier.MDChgProcessSrceObject

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label BP Supplier Document Assignment view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #BASIC view

Fields (28)

KeyFieldSource TableSource FieldDescription
KEY MasterDataChangeProcess process_id Process Instance ID
KEY MDChgProcessStep process_step_no Step Number
KEY MDChgProcessSrceSystem source_system Source System
KEY MDChgProcessSrceObject source_id UUID
KEY DocumentInfoRecordDocType dokar SW Document Type
KEY DocumentInfoRecordDocNumber doknr Document
KEY DocumentInfoRecordDocVersion dokvr Doc. Version
KEY DocumentInfoRecordDocPart doktl Document Part
KEY LinkedSAPObject dokob Object
KEY DocObjectLinkCounter obzae Object counters
KEY LinkedSAPObjectKey objky Relation (Key)
BPAssignmentID assignment_id Assignment ID
Supplier lifnr Vendor no.
DocInfoRecdLinkStatus vrkstat Link status
DocInfoRecdObjectLinkStatus vrkstat1 Object link status
ObjectTypeDatabaseTable vobj Table
DocInfoRecdAdditionalObjectKey vkey Object Key
DocLinkDirectionIsActive vdir Active
IsDefaultDocument viewflag View indocator
DocInfoRecdIsMarkedForDeletion delflag Yes/No (X/ )
DocInfoRecdLongTextUUID longtext_id Long Text ID
IsDocInfoRecdCreatedFromCAD cad_pos CAD
DocInfoRecdConfignMgmtFixed cm_fixed Fixed
IsArchived archflag Arch. Flag
MDChgProcessSourceModified source_modified Modified
MDChgProcessSourceModifBinary source_modification_blip Modification
MDChgProcSrceLastChgdDateTime source_recency Last Changed On
_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_BPSuplrDocumentAssgmtProc.
-- 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_BPSuplrDocumentAssgmtProc AS
SELECT
  process_id AS MasterDataChangeProcess,
  process_step_no AS MDChgProcessStep,
  source_system AS MDChgProcessSrceSystem,
  source_id AS MDChgProcessSrceObject,
  dokar AS DocumentInfoRecordDocType,
  doknr AS DocumentInfoRecordDocNumber,
  dokvr AS DocumentInfoRecordDocVersion,
  doktl AS DocumentInfoRecordDocPart,
  dokob AS LinkedSAPObject,
  obzae AS DocObjectLinkCounter,
  objky AS LinkedSAPObjectKey,
  assignment_id AS BPAssignmentID,
  lifnr AS Supplier,
  vrkstat AS DocInfoRecdLinkStatus,
  vrkstat1 AS DocInfoRecdObjectLinkStatus,
  vobj AS ObjectTypeDatabaseTable,
  vkey AS DocInfoRecdAdditionalObjectKey,
  vdir AS DocLinkDirectionIsActive,
  viewflag AS IsDefaultDocument,
  delflag AS DocInfoRecdIsMarkedForDeletion,
  longtext_id AS DocInfoRecdLongTextUUID,
  cad_pos AS IsDocInfoRecdCreatedFromCAD,
  cm_fixed AS DocInfoRecdConfignMgmtFixed,
  archflag AS IsArchived,
  source_modified AS MDChgProcessSourceModified,
  source_modification_blip AS MDChgProcessSourceModifBinary,
  source_recency AS MDChgProcSrceLastChgdDateTime
FROM lfa1_drad_prc
LEFT OUTER JOIN I_BPSupplierProcess AS _Supplier ON lfa1_drad_prc.process_id = _Supplier.MasterDataChangeProcess AND lfa1_drad_prc.process_step_no = _Supplier.MDChgProcessStep AND lfa1_drad_prc.source_system = _Supplier.MDChgProcessSrceSystem AND lfa1_drad_prc.source_id = _Supplier.MDChgProcessSrceObject  -- association [1..1]
;