P_RU_ImportNotifHeaderWithBP

DDL: P_RU_IMPORTNOTIFHEADERWITHBP SQL: PRUIMPNOTIFHDRBP Type: view COMPOSITE

P_RU_ImportNotifHeaderWithBP is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_RU_ImportNotifHeaderBasic) and exposes 45 fields with key field RU_ImprtNotifInternalNumber.

Data Sources (1)

SourceAliasJoin Type
I_RU_ImportNotifHeaderBasic Header from

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName PRUIMPNOTIFHDRBP view
VDM.viewType #COMPOSITE view
VDM.private true view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (45)

KeyFieldSource TableSource FieldDescription
KEY RU_ImprtNotifInternalNumber I_RU_ImportNotifHeaderBasic RU_ImprtNotifInternalNumber Imp Notif Int Number
RU_ImprtNotifExternalNumber I_RU_ImportNotifHeaderBasic RU_ImprtNotifExternalNumber Imp Notif Ext Number
ExportConfirmationDate I_RU_ImportNotifHeaderBasic ExportConfirmationDate Export Confirm Date
RU_ImprtNotifRegistrationDate I_RU_ImportNotifHeaderBasic RU_ImprtNotifRegistrationDate Registration Date
CompanyCode I_RU_ImportNotifHeaderBasic CompanyCode Receiver Company Code
Customer I_RU_ImportNotifHeaderBasic Customer Sold-to Party
CustomerCountry Customer Country Venue: Ctry/Reg
RU_CustomerINN BPTaxNumber RU_PartnerOrganizationINN BP INN
CustomerName Customer CustomerName Name of Customer
CustomerAuthznGrp Customer AuthorizationGroup AuthorizGroup
CustomerCompanyAuthznGroup
Consignee I_RU_ImportNotifHeaderBasic Consignee Customer
RU_AgentOrganizationINN BP INN
ConsigneeName Name of Customer
ConsigneeCountry Venue: Ctry/Reg
ConsigneeAuthorizationGroup AuthorizGroup
AssignmentReference I_RU_ImportNotifHeaderBasic AssignmentReference Assignment Reference
RU_ImportNotificationIsMock I_RU_ImportNotifHeaderBasic RU_ImportNotificationIsMock Single-Character Flag
RU_ImportNotifSellerSection I_RU_ImportNotifHeaderBasic RU_ImportNotifSellerSection Seller Data Section
CreatedByUserName I_RU_ImportNotifHeaderBasic CreatedByUserName Person Resp.
CreationDateTime I_RU_ImportNotifHeaderBasic CreationDateTime Timestamp
LastChangedByUserName I_RU_ImportNotifHeaderBasic LastChangedByUserName User Name
RU_ImprtNotifInternalNumber Imp Notif Int Number
RU_ImprtNotifExternalNumber I_RU_ImportNotifHeaderBasic RU_ImprtNotifExternalNumber Imp Notif Ext Number
ExportConfirmationDate I_RU_ImportNotifHeaderBasic ExportConfirmationDate Export Confirm Date
RU_ImprtNotifRegistrationDate I_RU_ImportNotifHeaderBasic RU_ImprtNotifRegistrationDate Registration Date
CompanyCode I_RU_ImportNotifHeaderBasic CompanyCode Receiver Company Code
Customer I_RU_ImportNotifHeaderBasic Customer Sold-to Party
CustomerCountry Venue: Ctry/Reg
RU_CustomerINN BP INN
CustomerName Name of Customer
CustomerAuthznGrp AuthorizGroup
CustomerCompanyAuthznGroup
Consignee I_RU_ImportNotifHeaderBasic Consignee Customer
RU_AgentOrganizationINN BPTaxNumber RU_PartnerOrganizationINN BP INN
ConsigneeName Consignee CustomerName Name of Customer
ConsigneeCountry Consignee Country Venue: Ctry/Reg
ConsigneeAuthorizationGroup Consignee AuthorizationGroup AuthorizGroup
AssignmentReference I_RU_ImportNotifHeaderBasic AssignmentReference Assignment Reference
RU_ImportNotificationIsMock I_RU_ImportNotifHeaderBasic RU_ImportNotificationIsMock Single-Character Flag
RU_ImportNotifSellerSection I_RU_ImportNotifHeaderBasic RU_ImportNotifSellerSection Seller Data Section
CreatedByUserName I_RU_ImportNotifHeaderBasic CreatedByUserName Person Resp.
CreationDateTime I_RU_ImportNotifHeaderBasic CreationDateTime Timestamp
LastChangedByUserName I_RU_ImportNotifHeaderBasic LastChangedByUserName User Name
ChangedDateTime I_RU_ImportNotifHeaderBasic ChangedDateTime Time Stamp

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 P_RU_ImportNotifHeaderWithBP.
-- 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: PRUIMPNOTIFHDRBP

CREATE VIEW P_RU_ImportNotifHeaderWithBP AS
SELECT
  Header.RU_ImprtNotifInternalNumber AS RU_ImprtNotifInternalNumber,
  Header.RU_ImprtNotifExternalNumber AS RU_ImprtNotifExternalNumber,
  Header.ExportConfirmationDate AS ExportConfirmationDate,
  Header.RU_ImprtNotifRegistrationDate AS RU_ImprtNotifRegistrationDate,
  Header.CompanyCode AS CompanyCode,
  Header.Customer AS Customer,
  Customer.Country AS CustomerCountry,
  BPTaxNumber.RU_PartnerOrganizationINN AS RU_CustomerINN,
  Customer.CustomerName AS CustomerName,
  Customer.AuthorizationGroup AS CustomerAuthznGrp,
  Customer._CustomerCompany.AuthorizationGroup AS CustomerCompanyAuthznGroup,
  Header.Consignee AS Consignee,
  cast('' as firu_partner_inn) AS RU_AgentOrganizationINN,
  cast('' as md_customer_name) AS ConsigneeName,
  cast('' as land1_gp) AS ConsigneeCountry,
  cast('' as brgru) AS ConsigneeAuthorizationGroup,
  Header.AssignmentReference AS AssignmentReference,
  Header.RU_ImportNotificationIsMock AS RU_ImportNotificationIsMock,
  Header.RU_ImportNotifSellerSection AS RU_ImportNotifSellerSection,
  Header.CreatedByUserName AS CreatedByUserName,
  Header.CreationDateTime AS CreationDateTime,
  Header.LastChangedByUserName AS LastChangedByUserName,
  Header.ChangedDateTime AS ChangedDateTime
FROM I_RU_ImportNotifHeaderBasic AS Header
;