P_RU_ImportNotificationHdrTP

DDL: P_RU_IMPORTNOTIFICATIONHDRTP SQL: PRUIMPRTNOTIFHDR Type: view COMPOSITE

P_RU_ImportNotificationHdrTP is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (P_RU_ImportNotifHeaderWithBPG, P_RU_ImportNotifHeaderWithBPG) and exposes 57 fields with key field RU_ImprtNotifInternalNumber.

Data Sources (2)

SourceAliasJoin Type
P_RU_ImportNotifHeaderWithBPG Header from
P_RU_ImportNotifHeaderWithBPG Header union_all

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName PRUIMPRTNOTIFHDR 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 (57)

KeyFieldSource TableSource FieldDescription
KEY RU_ImprtNotifInternalNumber P_RU_ImportNotifHeaderWithBPG RU_ImprtNotifInternalNumber
RU_ImprtNotifExternalNumber P_RU_ImportNotifHeaderWithBPG RU_ImprtNotifExternalNumber
ExportConfirmationDate P_RU_ImportNotifHeaderWithBPG ExportConfirmationDate
RU_ImprtNotifRegistrationDate P_RU_ImportNotifHeaderWithBPG RU_ImprtNotifRegistrationDate
CompanyCode P_RU_ImportNotifHeaderWithBPG CompanyCode Receiver Company Code
CompanyCodeCountry CompanyCode Country Venue: Ctry/Reg
CompanyCodeName CompanyCode CompanyCodeName Company Name
Customer P_RU_ImportNotifHeaderWithBPG Customer Sold-to Party
CustomerCountry P_RU_ImportNotifHeaderWithBPG CustomerCountry
RU_CustomerINN P_RU_ImportNotifHeaderWithBPG RU_CustomerINN
CustomerName P_RU_ImportNotifHeaderWithBPG CustomerName Name of Customer
CustomerAuthznGrp P_RU_ImportNotifHeaderWithBPG CustomerAuthznGrp
CustomerCompanyAuthznGroup P_RU_ImportNotifHeaderWithBPG CustomerCompanyAuthznGroup Authorization
ConsigneeAuthorizationGroup P_RU_ImportNotifHeaderWithBPG ConsigneeAuthorizationGroup
Consignee P_RU_ImportNotifHeaderWithBPG Consignee Customer
RU_AgentOrganizationINN P_RU_ImportNotifHeaderWithBPG RU_AgentOrganizationINN Agent INN
ConsigneeName P_RU_ImportNotifHeaderWithBPG ConsigneeName
ConsigneeCountry P_RU_ImportNotifHeaderWithBPG ConsigneeCountry
AssignmentReference P_RU_ImportNotifHeaderWithBPG AssignmentReference Assignment Reference
ExternalContractNumber Contract ExternalContractNumber
ExternalContractDate Contract ExternalContractDate
RU_ImportNotificationIsMock P_RU_ImportNotifHeaderWithBPG RU_ImportNotificationIsMock
RU_ImportNotifSellerSection P_RU_ImportNotifHeaderWithBPG RU_ImportNotifSellerSection
CreatedByUserName P_RU_ImportNotifHeaderWithBPG CreatedByUserName Person Resp.
CreationDateTime P_RU_ImportNotifHeaderWithBPG CreationDateTime Timestamp
LastChangedByUserName P_RU_ImportNotifHeaderWithBPG LastChangedByUserName User Name
ChangedDateTime P_RU_ImportNotifHeaderWithBPG ChangedDateTime Time Stamp
RU_ImportNotifHasFollowUpDoc P_RU_ImportNotifHeaderWithBPG RU_ImportNotifHasFollowUpDoc
RU_ImprtNotifInternalNumber
RU_ImprtNotifExternalNumber P_RU_ImportNotifHeaderWithBPG RU_ImprtNotifExternalNumber
ExportConfirmationDate P_RU_ImportNotifHeaderWithBPG ExportConfirmationDate
RU_ImprtNotifRegistrationDate RU_ImprtNotifRegistrationDate
CompanyCode P_RU_ImportNotifHeaderWithBPG CompanyCode Receiver Company Code
CompanyCodeCountry CompanyCode Country Venue: Ctry/Reg
CompanyCodeName CompanyCode CompanyCodeName Company Name
Customer P_RU_ImportNotifHeaderWithBPG Customer Sold-to Party
CustomerCountry P_RU_ImportNotifHeaderWithBPG CustomerCountry
RU_CustomerINN P_RU_ImportNotifHeaderWithBPG RU_CustomerINN
CustomerName Name of Customer
CustomerAuthznGrp P_RU_ImportNotifHeaderWithBPG CustomerAuthznGrp
CustomerCompanyAuthznGroup P_RU_ImportNotifHeaderWithBPG CustomerCompanyAuthznGroup Authorization
ConsigneeAuthorizationGroup P_RU_ImportNotifHeaderWithBPG ConsigneeAuthorizationGroup
Consignee P_RU_ImportNotifHeaderWithBPG Consignee Customer
RU_AgentOrganizationINN P_RU_ImportNotifHeaderWithBPG RU_AgentOrganizationINN Agent INN
ConsigneeName P_RU_ImportNotifHeaderWithBPG ConsigneeName
ConsigneeCountry P_RU_ImportNotifHeaderWithBPG ConsigneeCountry
AssignmentReference P_RU_ImportNotifHeaderWithBPG AssignmentReference Assignment Reference
ExternalContractNumber Contract ExternalContractNumber
ExternalContractDate Contract ExternalContractDate
RU_ImportNotificationIsMock P_RU_ImportNotifHeaderWithBPG RU_ImportNotificationIsMock
RU_ImportNotifSellerSection P_RU_ImportNotifHeaderWithBPG RU_ImportNotifSellerSection
CreatedByUserName P_RU_ImportNotifHeaderWithBPG CreatedByUserName Person Resp.
CreationDateTime P_RU_ImportNotifHeaderWithBPG CreationDateTime Timestamp
LastChangedByUserName P_RU_ImportNotifHeaderWithBPG LastChangedByUserName User Name
ChangedDateTime P_RU_ImportNotifHeaderWithBPG ChangedDateTime Time Stamp
RU_ImportNotifHasFollowUpDoc P_RU_ImportNotifHeaderWithBPG RU_ImportNotifHasFollowUpDoc
RU_LateExportConfStatus

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_ImportNotificationHdrTP.
-- 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: PRUIMPRTNOTIFHDR

CREATE VIEW P_RU_ImportNotificationHdrTP 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,
  CompanyCode.Country AS CompanyCodeCountry,
  CompanyCode.CompanyCodeName AS CompanyCodeName,
  Header.Customer AS Customer,
  Header.CustomerCountry AS CustomerCountry,
  Header.RU_CustomerINN AS RU_CustomerINN,
  Header.CustomerName AS CustomerName,
  Header.CustomerAuthznGrp AS CustomerAuthznGrp,
  Header.CustomerCompanyAuthznGroup AS CustomerCompanyAuthznGroup,
  Header.ConsigneeAuthorizationGroup AS ConsigneeAuthorizationGroup,
  Header.Consignee AS Consignee,
  Header.RU_AgentOrganizationINN AS RU_AgentOrganizationINN,
  Header.ConsigneeName AS ConsigneeName,
  Header.ConsigneeCountry AS ConsigneeCountry,
  Header.AssignmentReference AS AssignmentReference,
  Contract.ExternalContractNumber AS ExternalContractNumber,
  Contract.ExternalContractDate AS ExternalContractDate,
  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,
  Header.RU_ImportNotifHasFollowUpDoc AS RU_ImportNotifHasFollowUpDoc,
  cast('' as j_3rs_imnt_conf_status) AS RU_LateExportConfStatus
FROM P_RU_ImportNotifHeaderWithBPG AS Header
-- UNION ALL with additional select branch(es): P_RU_ImportNotifHeaderWithBPG
;