I_BPCustCoTextGeneralProcChgs

DDL: I_BPCUSTCOTEXTGENERALPROCCHGS Type: view_entity TRANSACTIONAL

Customer Company Descr General Changes

I_BPCustCoTextGeneralProcChgs is a Transactional CDS View that provides data about "Customer Company Descr General Changes" in SAP S/4HANA. It reads from 2 data sources (I_BPCustCoTextGeneralProcess, I_BPCustCoTextGeneralProcess) and exposes 49 fields with key fields MasterDataChangeProcess, MDChgProcessStep, MDChgProcessSrceSystem, MDChgProcessSrceObject, ApplicationTextObjectType. It has 2 associations to related views.

Data Sources (2)

SourceAliasJoin Type
I_BPCustCoTextGeneralProcess _Current from
I_BPCustCoTextGeneralProcess _Current union_all

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_BPCustomerProcess _Customer $projection.MasterDataChangeProcess = _Customer.MasterDataChangeProcess and $projection.MDChgProcessStep = _Customer.MDChgProcessStep and $projection.MDChgProcessSrceSystem = _Customer.MDChgProcessSrceSystem and $projection.MDChgProcessSrceObject = _Customer.MDChgProcessSrceObject
[1..1] I_BPCustomerCompanyProcess _CustomerCompanyCode $projection.MasterDataChangeProcess = _CustomerCompanyCode.MasterDataChangeProcess and $projection.MDChgProcessStep = _CustomerCompanyCode.MDChgProcessStep and $projection.MDChgProcessSrceSystem = _CustomerCompanyCode.MDChgProcessSrceSystem and $projection.MDChgProcessSrceObject = _CustomerCompanyCode.MDChgProcessSrceObject and $projection.BPAssignmentID = _CustomerCompanyCode.BPAssignmentID and $projection.CompanyCode = _CustomerCompanyCode.CompanyCode

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Customer Company Descr General Changes view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #TRANSACTIONAL view

Fields (49)

KeyFieldSource TableSource FieldDescription
KEY MasterDataChangeProcess I_BPCustCoTextGeneralProcess MasterDataChangeProcess Process ID
KEY MDChgProcessStep I_BPCustCoTextGeneralProcess MDChgProcessStep Step Number
KEY MDChgProcessSrceSystem I_BPCustCoTextGeneralProcess MDChgProcessSrceSystem Source System
KEY MDChgProcessSrceObject I_BPCustCoTextGeneralProcess MDChgProcessSrceObject Source ID
KEY ApplicationTextObjectType I_BPCustCoTextGeneralProcess ApplicationTextObjectType Text object
KEY TextObjectKey I_BPCustCoTextGeneralProcess TextObjectKey Text Name
KEY LongTextID I_BPCustCoTextGeneralProcess LongTextID Text ID
KEY Language I_BPCustCoTextGeneralProcess Language Report Text Language
KEY BPAssignmentID I_BPCustCoTextGeneralProcess BPAssignmentID Assignment ID
KEY CompanyCode I_BPCustCoTextGeneralProcess CompanyCode Receiver Company Code
KEY MDChgProcessModelTableName _ModelTable MDChgProcessModelTableName
KEY MDChangeProcessModelFieldName
KEY char1000asMDChgProcessRecordObjectID
MDChangeProcModelTableDesc _ModelTable MDChangeProcModelTableDesc
MDChangeProcessModelFieldDesc
MDChgProcModelNodeExternalName
MDChgProcModTableExternalName
MDChgProcModFieldExternalName
MDChgProcCurrentAttributeValue
MDChgProcPrevAttributeValue
MDChgProcessAttributeIsChanged
MDChgProcessSourceModified I_BPCustCoTextGeneralProcess MDChgProcessSourceModified Modified
LanguageasMDChgProcessRecordObjectText
_Customer _Customer
MasterDataChangeProcess Process ID
KEY MDChgProcessStep I_BPCustCoTextGeneralProcess MDChgProcessStep Step Number
KEY MDChgProcessSrceSystem I_BPCustCoTextGeneralProcess MDChgProcessSrceSystem Source System
KEY MDChgProcessSrceObject I_BPCustCoTextGeneralProcess MDChgProcessSrceObject Source ID
KEY ApplicationTextObjectType I_BPCustCoTextGeneralProcess ApplicationTextObjectType Text object
KEY TextObjectKey I_BPCustCoTextGeneralProcess TextObjectKey Text Name
KEY LongTextID I_BPCustCoTextGeneralProcess LongTextID Text ID
KEY Language I_BPCustCoTextGeneralProcess Language Report Text Language
KEY BPAssignmentID I_BPCustCoTextGeneralProcess BPAssignmentID Assignment ID
KEY CompanyCode I_BPCustCoTextGeneralProcess CompanyCode Receiver Company Code
KEY MDChgProcessModelTableName _ModelField MDChgProcessModelTableName
KEY MDChangeProcessModelFieldName _ModelField MDChangeProcessModelFieldName
KEY char1000asMDChgProcessRecordObjectID
MDChangeProcModelTableDesc _ModelField MDChangeProcModelTableDesc
MDChangeProcessModelFieldDesc _ModelField MDChangeProcessModelFieldDesc
MDChgProcModelNodeExternalName
MDChgProcModTableExternalName
MDChgProcModFieldExternalName
MDChgProcCurrentAttributeValue
MDChgProcPrevAttributeValue
MDChgProcessAttributeIsChanged
MDChgProcessSourceModified I_BPCustCoTextGeneralProcess MDChgProcessSourceModified Modified
LanguageasMDChgProcessRecordObjectText
_Customer _Customer
_CustomerCompanyCode _CustomerCompanyCode

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_BPCustCoTextGeneralProcChgs.
-- 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_BPCustCoTextGeneralProcChgs AS
SELECT
  _Current.MasterDataChangeProcess AS MasterDataChangeProcess,
  _Current.MDChgProcessStep AS MDChgProcessStep,
  _Current.MDChgProcessSrceSystem AS MDChgProcessSrceSystem,
  _Current.MDChgProcessSrceObject AS MDChgProcessSrceObject,
  _Current.ApplicationTextObjectType AS ApplicationTextObjectType,
  _Current.TextObjectKey AS TextObjectKey,
  _Current.LongTextID AS LongTextID,
  _Current.Language AS Language,
  _Current.BPAssignmentID AS BPAssignmentID,
  _Current.CompanyCode AS CompanyCode,
  _ModelTable.MDChgProcessModelTableName AS MDChgProcessModelTableName,
  cast ( '' as fieldname ) AS MDChangeProcessModelFieldName,
  cast( concat( concat( concat( concat( concat( concat( _Current.MDChgProcessSrceSystem, concat( '%%', _Current.MDChgProcessSrceObject )), concat( '%%', _Current.BPAssignmentID )), concat( '%%', _Current.ApplicationTextObjectType )), concat( '%%', _Current.TextObjectKey )), concat( '%%', _Current.LongTextID )), concat( '%%', _Current.Language )) as abap.char(1000) ) as MDChgProcessRecordObjectID AS char1000asMDChgProcessRecordObjectID,
  _ModelTable.MDChangeProcModelTableDesc AS MDChangeProcModelTableDesc,
  cast ('' as as4text ) AS MDChangeProcessModelFieldDesc,
  cast( 'BusPartCustCompanyTextGeneral' as fieldname ) AS MDChgProcModelNodeExternalName,
  cast( 'I_BPCustCoTextGeneralProcessTP' 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,
  concat( concat( concat( ' ', _Current.TextObjectKey ), concat( ' ', _Current.LongTextID )), concat( ' ', _Current.Language )) as MDChgProcessRecordObjectText AS LanguageasMDChgProcessRecordObjectText
FROM I_BPCustCoTextGeneralProcess AS _Current
LEFT OUTER JOIN I_BPCustomerProcess AS _Customer ON MasterDataChangeProcess = _Customer.MasterDataChangeProcess AND MDChgProcessStep = _Customer.MDChgProcessStep AND MDChgProcessSrceSystem = _Customer.MDChgProcessSrceSystem AND MDChgProcessSrceObject = _Customer.MDChgProcessSrceObject  -- association [1..1]
LEFT OUTER JOIN I_BPCustomerCompanyProcess AS _CustomerCompanyCode ON MasterDataChangeProcess = _CustomerCompanyCode.MasterDataChangeProcess AND MDChgProcessStep = _CustomerCompanyCode.MDChgProcessStep AND MDChgProcessSrceSystem = _CustomerCompanyCode.MDChgProcessSrceSystem AND MDChgProcessSrceObject = _CustomerCompanyCode.MDChgProcessSrceObject AND BPAssignmentID = _CustomerCompanyCode.BPAssignmentID AND CompanyCode = _CustomerCompanyCode.CompanyCode  -- association [1..1]
-- UNION ALL with additional select branch(es): I_BPCustCoTextGeneralProcess
;