R_SafetyCertificateDraft
Safety Certificate Draft
R_SafetyCertificateDraft is a Basic CDS View that provides data about "Safety Certificate Draft" in SAP S/4HANA. It reads from 1 data source (safetycert_d) and exposes 77 fields with key fields SafetyCertificate, DraftUUID. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| safetycert_d | safetycert_d | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | E_SafetyCertificateDraft | _SafetyCertDExtension | $projection.SafetyCertificate = _SafetyCertDExtension.SafetyCertificate and $projection.DraftUUID = _SafetyCertDExtension.DraftUUID |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Safety Certificate Draft | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| AbapCatalog.extensibility.extensible | true | view | |
| AbapCatalog.extensibility.elementSuffix | SFT | view | |
| AbapCatalog.extensibility.quota.maximumFields | 250 | view | |
| AbapCatalog.extensibility.quota.maximumBytes | 5000 | view |
Fields (77)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SafetyCertificate | safetycertificate | WC Document | |
| KEY | DraftUUID | draftuuid | UUID | |
| SafetyCertificateInternalID | safetycertificateinternalid | Object number | ||
| SftyCertificateSubobjectType | sftycertificatesubobjecttype | Object Type | ||
| SftyCertExternalNumber | sftycertexternalnumber | WC Document | ||
| SafetyCertificateType | safetycertificatetype | Usage | ||
| SftyCertDesc | sftycertdesc | Short Text | ||
| WorkPermitReferenceWorkPermit | workpermitreferenceworkpermit | Application | ||
| SftyCertHasLongText | sftycerthaslongtext | Long Text | ||
| LongTextKey | longtextkey | Text Name | ||
| SftyCertIsDeleted | sftycertisdeleted | Delete | ||
| MaintenancePlannerGroup | maintenanceplannergroup | Planner Group | ||
| MaintenancePlanningPlant | maintenanceplanningplant | Planning Plant | ||
| SftyCertReferenceObjectType | sftycertreferenceobjecttype | Create with Referenc | ||
| ObjectTypeCode | objecttypecode | Object Type | ||
| OperationWorkCenterInternalID | operationworkcenterinternalid | Object ID | ||
| TechObjAuthorizationGroup | techobjauthorizationgroup | AuthorizGroup | ||
| SftyCertValidFrmDate | sftycertvalidfrmdate | Valid from | ||
| SftyCertValidFrmTime | sftycertvalidfrmtime | ValidFrm Time | ||
| SftyCertValidToDate | sftycertvalidtodate | Valid to | ||
| SftyCertValidToTime | sftycertvalidtotime | Valid-To Time | ||
| FunctionalLocation | functionallocation | Object ID | ||
| Equipment | equipment | Equipment check | ||
| FunctionalLocationLabelName | functionallocationlabelname | Functional Loc. | ||
| TechObjIsEquipOrFuncnlLoc | techobjisequiporfuncnlloc | Tech. Obj. Type | ||
| TechnicalObject | technicalobject | Technical Object | ||
| TechnicalObjectLabel | technicalobjectlabel | Tech. Object | ||
| TechnicalObjectDescription | technicalobjectdescription | Tech. Obj. Desc | ||
| SftyCertRefSftyCertTemplate | sftycertrefsftycerttemplate | WC Document | ||
| MaintenancePlant | maintenanceplant | Plant | ||
| PlantName | plantname | Plant Name | ||
| PlantSection | plantsection | Plant Section | ||
| AssetLocation | assetlocation | Location | ||
| AssetRoom | assetroom | Room | ||
| LocationName | locationname | Location Name | ||
| PlantSectionDesc | plantsectiondesc | |||
| MaintenancePlantName | maintenanceplantname | Plant Name | ||
| SftyCertHasObjectList | sftycerthasobjectlist | Obj.List Exists | ||
| CreatedByUserName | createdbyusername | Person Resp. | ||
| CreatedByUser | createdbyuser | User Name | ||
| CreationDate | creationdate | Time Stamp | ||
| CreationTime | creationtime | Time of Change | ||
| CreationDateTime | creationdatetime | Timestamp | ||
| ValidFromDateTime | validfromdatetime | Time Stamp | ||
| ValidToDateTime | validtodatetime | Time Stamp | ||
| LastChangedByUserName | lastchangedbyusername | User Name | ||
| LastChangedByUser | lastchangedbyuser | User Name | ||
| MaintenancePlanningPlantName | maintenanceplanningplantname | Plant Name | ||
| MaintenancePlannerGroupName | maintenanceplannergroupname | Planner Group Name | ||
| SftyCertificateTypeDescription | sftycertificatetypedescription | Sfty Cert Type Desc | ||
| LastChangeDate | lastchangedate | Time Stamp | ||
| LastChangeTime | lastchangetime | Time changed | ||
| LastChangeDateTime | lastchangedatetime | Timestamp | ||
| WorkCenter | workcenter | Work Center | ||
| WorkCenterText | workcentertext | Work Center Text | ||
| SftyCertCnctntdActvSystStsTxt | sftycertcnctntdactvsystststxt | Concatenated System Status | ||
| WorkCenterPlant | workcenterplant | Plant | ||
| MainWorkCenterPlantName | mainworkcenterplantname | Plant Name | ||
| SftyCertIsLinkdToDoc | sftycertislinkdtodoc | Document Link | ||
| StatusProfile | statusprofile | Status Profile | ||
| IsAttachmentsEnabled | isattachmentsenabled | Originals | ||
| SafetyCertificateTmplID | safetycertificatetmplid | Template | ||
| SftyCertHasMaintRemark | sftycerthasmaintremark | Remarks Mt | ||
| SftyCertHasOpRemark | sftycerthasopremark | Remarks Op | ||
| SftyCertProcessingStatus | sftycertprocessingstatus | Proc Stat Sfty Cert | ||
| SftyCertProcessingStatusText | sftycertprocessingstatustext | Short Description | ||
| SafetyCertificateLongText | safetycertificatelongtext | Long Text | ||
| SftyCertCancellationText | sftycertcancellationtext | Long Text | ||
| IsApproved | isapproved | Checkbox | ||
| PrintIsReal | printisreal | |||
| SftyCertChgStsActnEnbldVal | sftycertchgstsactnenbldval | |||
| DraftEntityCreationDateTime | draftentitycreationdatetime | Draft Created On | ||
| DraftEntityLastChangeDateTime | draftentitylastchangedatetime | Draft Last Changed On | ||
| DraftAdministrativeDataUUID | draftadministrativedatauuid | UUID | ||
| DraftEntityOperationCode | draftentityoperationcode | Draft - Operation Code | ||
| HasActiveEntity | hasactiveentity | TRUE | ||
| DraftFieldChanges | draftfieldchanges | Field Changes |
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 R_SafetyCertificateDraft.
-- 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 R_SafetyCertificateDraft AS
SELECT
SafetyCertificate,
DraftUUID,
SafetyCertificateInternalID,
SftyCertificateSubobjectType,
SftyCertExternalNumber,
SafetyCertificateType,
SftyCertDesc,
WorkPermitReferenceWorkPermit,
SftyCertHasLongText,
LongTextKey,
SftyCertIsDeleted,
MaintenancePlannerGroup,
MaintenancePlanningPlant,
SftyCertReferenceObjectType,
ObjectTypeCode,
OperationWorkCenterInternalID,
TechObjAuthorizationGroup,
SftyCertValidFrmDate,
SftyCertValidFrmTime,
SftyCertValidToDate,
SftyCertValidToTime,
FunctionalLocation,
Equipment,
FunctionalLocationLabelName,
TechObjIsEquipOrFuncnlLoc,
TechnicalObject,
TechnicalObjectLabel,
TechnicalObjectDescription,
SftyCertRefSftyCertTemplate,
MaintenancePlant,
PlantName,
PlantSection,
AssetLocation,
AssetRoom,
LocationName,
PlantSectionDesc,
MaintenancePlantName,
SftyCertHasObjectList,
CreatedByUserName,
CreatedByUser,
CreationDate,
CreationTime,
CreationDateTime,
ValidFromDateTime,
ValidToDateTime,
LastChangedByUserName,
LastChangedByUser,
MaintenancePlanningPlantName,
MaintenancePlannerGroupName,
SftyCertificateTypeDescription,
LastChangeDate,
LastChangeTime,
LastChangeDateTime,
WorkCenter,
WorkCenterText,
SftyCertCnctntdActvSystStsTxt,
WorkCenterPlant,
MainWorkCenterPlantName,
SftyCertIsLinkdToDoc,
StatusProfile,
IsAttachmentsEnabled,
SafetyCertificateTmplID,
SftyCertHasMaintRemark,
SftyCertHasOpRemark,
SftyCertProcessingStatus,
SftyCertProcessingStatusText,
SafetyCertificateLongText,
SftyCertCancellationText,
IsApproved,
PrintIsReal,
SftyCertChgStsActnEnbldVal,
DraftEntityCreationDateTime,
DraftEntityLastChangeDateTime,
DraftAdministrativeDataUUID,
DraftEntityOperationCode,
HasActiveEntity,
DraftFieldChanges
FROM safetycert_d
LEFT OUTER JOIN E_SafetyCertificateDraft AS _SafetyCertDExtension ON SafetyCertificate = _SafetyCertDExtension.SafetyCertificate AND DraftUUID = _SafetyCertDExtension.DraftUUID -- 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