P_ORGANIZATIONNAME
Company Name
P_ORGANIZATIONNAME is a CDS View in S/4HANA. Company Name. 1 CDS views read from this table.
CDS Views using this table (1)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| P_RU_CompanyCodeData2_Lang | view | left_outer | COMPOSITE | Company Code Data |
@AbapCatalog.sqlViewName: 'PORGNAME'
@AbapCatalog.preserveKey: true
@AbapCatalog.compiler.compareFilter: true
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.viewType: #COMPOSITE
@VDM.private: true
define view P_OrganizationName as select from P_OrganizationAddress
association [0..1] to P_OrganizationAddress as _OrgCyrillicAddress
on $projection.AddressID = _OrgCyrillicAddress.addrnumber and _OrgCyrillicAddress.nation = 'R'
{
key P_OrganizationAddress.addrnumber as AddressID,
case when _OrgCyrillicAddress.OrganizationName is null
then
P_OrganizationAddress.OrganizationName
else _OrgCyrillicAddress.OrganizationName
end as OrganizationName,
case when _OrgCyrillicAddress.OrganizationName is null
then
P_OrganizationAddress.name1
else _OrgCyrillicAddress.name1
end as OrganizationName1,
case when _OrgCyrillicAddress.OrganizationName is null
then
P_OrganizationAddress.name2
else _OrgCyrillicAddress.name2
end as OrganizationName2,
case when _OrgCyrillicAddress.OrganizationName is null
then
P_OrganizationAddress.name3
else _OrgCyrillicAddress.name3
end as OrganizationName3,
case when _OrgCyrillicAddress.OrganizationName is null
then
P_OrganizationAddress.name4
else _OrgCyrillicAddress.name4
end as OrganizationName4
} where P_OrganizationAddress.nation = ''