I_BPSuplrDocumentAssgmtProc
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)
| Source | Alias | Join Type |
|---|---|---|
| lfa1_drad_prc | lfa1_drad_prc | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
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