I_BPSupplierWhgdTaxProcChgs

DDL: I_BPSUPPLIERWHGDTAXPROCCHGS Type: view_entity TRANSACTIONAL

Supplier Withholding Tax Proc Changes

I_BPSupplierWhgdTaxProcChgs is a Transactional CDS View that provides data about "Supplier Withholding Tax Proc Changes" in SAP S/4HANA. It reads from 2 data sources (I_BPSuplrWithholdingTaxProcess, I_BPSuplrWithholdingTaxProcess) and exposes 39 fields with key fields MasterDataChangeProcess, MDChgProcessStep, MDChgProcessSrceSystem, MDChgProcessSrceObject, CompanyCode. It has 2 associations to related views.

Data Sources (2)

SourceAliasJoin Type
I_BPSuplrWithholdingTaxProcess _Current from
I_BPSuplrWithholdingTaxProcess _Current union_all

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_BPSupplierProcess _Supplier $projection.MasterDataChangeProcess = _Supplier.MasterDataChangeProcess and $projection.MDChgProcessStep = _Supplier.MDChgProcessStep and $projection.MDChgProcessSrceSystem = _Supplier.MDChgProcessSrceSystem and $projection.MDChgProcessSrceObject = _Supplier.MDChgProcessSrceObject
[0..1] I_WithholdingTaxTypeText _Text $projection.Country = _Text.Country and $projection.WithholdingTaxType = _Text.WithholdingTaxType and _Text.Language = $session.system_language

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Supplier Withholding Tax Proc Changes view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #TRANSACTIONAL view
Metadata.ignorePropagatedAnnotations true view

Fields (39)

KeyFieldSource TableSource FieldDescription
KEY MasterDataChangeProcess I_BPSuplrWithholdingTaxProcess MasterDataChangeProcess Process ID
KEY MDChgProcessStep I_BPSuplrWithholdingTaxProcess MDChgProcessStep Step Number
KEY MDChgProcessSrceSystem I_BPSuplrWithholdingTaxProcess MDChgProcessSrceSystem Source System
KEY MDChgProcessSrceObject I_BPSuplrWithholdingTaxProcess MDChgProcessSrceObject Source ID
KEY CompanyCode I_BPSuplrWithholdingTaxProcess CompanyCode Receiver Company Code
KEY WithholdingTaxType I_BPSuplrWithholdingTaxProcess WithholdingTaxType WTax Type
KEY MDChgProcessModelTableName ModelTable MDChgProcessModelTableName
KEY MDChangeProcessModelFieldName
KEY char1000asMDChgProcessRecordObjectID
MDChangeProcModelTableDesc ModelTable MDChangeProcModelTableDesc
MDChangeProcessModelFieldDesc
MDChgProcModelNodeExternalName
MDChgProcModTableExternalName
MDChgProcModFieldExternalName
MDChgProcCurrentAttributeValue
MDChgProcPrevAttributeValue
MDChgProcessAttributeIsChanged
MDChgProcessSourceModified I_BPSuplrWithholdingTaxProcess MDChgProcessSourceModified Modified
Country CompanyCode Country Venue: Ctry/Reg
MasterDataChangeProcess Process ID
KEY MDChgProcessStep I_BPSuplrWithholdingTaxProcess MDChgProcessStep Step Number
KEY MDChgProcessSrceSystem I_BPSuplrWithholdingTaxProcess MDChgProcessSrceSystem Source System
KEY MDChgProcessSrceObject I_BPSuplrWithholdingTaxProcess MDChgProcessSrceObject Source ID
KEY CompanyCode I_BPSuplrWithholdingTaxProcess CompanyCode Receiver Company Code
KEY WithholdingTaxType I_BPSuplrWithholdingTaxProcess WithholdingTaxType WTax Type
KEY MDChgProcessModelTableName ModelField MDChgProcessModelTableName
KEY MDChangeProcessModelFieldName ModelField MDChangeProcessModelFieldName
KEY char1000asMDChgProcessRecordObjectID
MDChangeProcModelTableDesc ModelField MDChangeProcModelTableDesc
MDChangeProcessModelFieldDesc ModelField MDChangeProcessModelFieldDesc
MDChgProcModelNodeExternalName
MDChgProcModTableExternalName
MDChgProcModFieldExternalName
MDChgProcCurrentAttributeValue
MDChgProcPrevAttributeValue
MDChgProcessAttributeIsChanged
MDChgProcessSourceModified I_BPSuplrWithholdingTaxProcess MDChgProcessSourceModified Modified
Country CompanyCode Country Venue: Ctry/Reg
_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_BPSupplierWhgdTaxProcChgs.
-- 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_BPSupplierWhgdTaxProcChgs AS
SELECT
  _Current.MasterDataChangeProcess AS MasterDataChangeProcess,
  _Current.MDChgProcessStep AS MDChgProcessStep,
  _Current.MDChgProcessSrceSystem AS MDChgProcessSrceSystem,
  _Current.MDChgProcessSrceObject AS MDChgProcessSrceObject,
  _Current.CompanyCode AS CompanyCode,
  _Current.WithholdingTaxType AS WithholdingTaxType,
  ModelTable.MDChgProcessModelTableName AS MDChgProcessModelTableName,
  cast ( '' as fieldname ) AS MDChangeProcessModelFieldName,
  cast( concat( concat( concat( concat( _Current.MDChgProcessSrceSystem, concat( '%%', _Current.MDChgProcessSrceObject )), concat( '%%', _Current.BPAssignmentID )), concat( '%%', _Current.CompanyCode )), concat( '%%', _Current.WithholdingTaxType )) as abap.char(1000) ) as MDChgProcessRecordObjectID AS char1000asMDChgProcessRecordObjectID,
  ModelTable.MDChangeProcModelTableDesc AS MDChangeProcModelTableDesc,
  cast ('' as as4text ) AS MDChangeProcessModelFieldDesc,
  cast( 'BusPartSupplierWithholdingTax' as fieldname ) AS MDChgProcModelNodeExternalName,
  cast( 'I_BPSuplrWithholdingTaxProcTP' 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,
  CompanyCode.Country AS Country
FROM I_BPSuplrWithholdingTaxProcess AS _Current
LEFT OUTER JOIN I_BPSupplierProcess AS _Supplier ON MasterDataChangeProcess = _Supplier.MasterDataChangeProcess AND MDChgProcessStep = _Supplier.MDChgProcessStep AND MDChgProcessSrceSystem = _Supplier.MDChgProcessSrceSystem AND MDChgProcessSrceObject = _Supplier.MDChgProcessSrceObject  -- association [1..1]
LEFT OUTER JOIN I_WithholdingTaxTypeText AS _Text ON Country = _Text.Country AND WithholdingTaxType = _Text.WithholdingTaxType AND _Text.Language = $session.system_language  -- association [0..1]
-- UNION ALL with additional select branch(es): I_BPSuplrWithholdingTaxProcess
;