R_WorkAssignmentDraft

DDL: R_WORKASSIGNMENTDRAFT SQL: RWRKASSGMTDRAFT Type: view BASIC

View for the Draft Table wfp_d_wa_dft

R_WorkAssignmentDraft is a Basic CDS View that provides data about "View for the Draft Table wfp_d_wa_dft" in SAP S/4HANA. It reads from 1 data source (wfp_d_wa_dft) and exposes 29 fields with key field WorkAssignmentUUID.

Data Sources (1)

SourceAliasJoin Type
wfp_d_wa_dft wfp_d_wa_dft from

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName RWRKASSGMTDRAFT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label View for the Draft Table wfp_d_wa_dft view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.serviceQuality #A view

Fields (29)

KeyFieldSource TableSource FieldDescription
KEY WorkAssignmentUUID workassignmentuuid BP GUID
StartDate startdate Valid From
EndDate enddate Term to
WorkAssignment workassignment WorkForce Assgmt ID
WorkAssignmentExternalID workassignmentexternalid WFA Ext. ID
WorkforcePersonID workforcepersonid Worker ID
WorkforcePersonUserID workforcepersonuserid User ID
WorkAssignmentDataSource workassignmentdatasource Data Source
WorkAssignmentBusinessPartner workassignmentbusinesspartner Busn. Partner
Person person Person/ Farm/ Field
PersonUUID personuuid BP GUID
CompanyCode companycode Receiver Company Code
WorkAssignmentCountryISOCode workassignmentcountryisocode ISO Code
RoleCategory rolecategory BP Role Cat.
BasicRoleCategory basicrolecategory BP Role Cat.
BusinessPartnerRole businesspartnerrole BP Role
EmploymentSituation employmentsituation Employment Situation
BusPartRelshpSupplierIsVisible buspartrelshpsupplierisvisible Boolean Variable (X = True, - = False, Space = Unknown)
CreationDateTime creationdatetime Timestamp
BusinessPartnerRelshpSupplier businesspartnerrelshpsupplier Busn. Partner
BusinessPartnerName businesspartnername Extracted Customer Name
IsBlocked isblocked Boolean Variable (X = True, - = False, Space = Unknown)
IsBusinessPurposeCompleted isbusinesspurposecompleted Purpose Completed
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_WorkAssignmentDraft.
-- 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.
-- SQL view name: RWRKASSGMTDRAFT

CREATE VIEW R_WorkAssignmentDraft AS
SELECT
  WorkAssignmentUUID,
  StartDate,
  EndDate,
  WorkAssignment,
  WorkAssignmentExternalID,
  WorkforcePersonID,
  WorkforcePersonUserID,
  WorkAssignmentDataSource,
  WorkAssignmentBusinessPartner,
  Person,
  PersonUUID,
  CompanyCode,
  WorkAssignmentCountryISOCode,
  RoleCategory,
  BasicRoleCategory,
  BusinessPartnerRole,
  EmploymentSituation,
  BusPartRelshpSupplierIsVisible,
  CreationDateTime,
  BusinessPartnerRelshpSupplier,
  BusinessPartnerName,
  IsBlocked,
  IsBusinessPurposeCompleted,
  DraftEntityCreationDateTime,
  DraftEntityLastChangeDateTime,
  DraftAdministrativeDataUUID,
  DraftEntityOperationCode,
  HasActiveEntity,
  DraftFieldChanges
FROM wfp_d_wa_dft
;