FSH_V_Inforecord_Sos_B
MM-PUR: Basic CDS View for SOS
FSH_V_Inforecord_Sos_B is a CDS View that provides data about "MM-PUR: Basic CDS View for SOS" in SAP S/4HANA. It reads from 5 data sources (eina, eine, lfa1, lfm1, t001w) and exposes 15 fields. Part of development package FSH_PP_AMDP.
Data Sources (5)
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | FSH_V_IR_SOS_B | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| EndUserText.label | MM-PUR: Basic CDS View for SOS | view |
Fields (15)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| matnr | eina | matnr | ||
| werks | t001w | werks | ||
| vdatu | eina | lifab | ||
| lifnr | eina | lifnr | ||
| aut_source | eine | aut_source | ||
| netpr | eine | netpr | ||
| waers | eine | waers | ||
| peinh | eine | peinh | ||
| infnr | eina | infnr | ||
| ekorg | eine | ekorg | ||
| esokz | eine | esokz | ||
| ekgrp | eine | ekgrp | ||
| plifz | eine | aplfz | ||
| verid | eine | verid | ||
| rdprf | eine | rdprf |
@ClientDependent
@AbapCatalog.sqlViewName: 'FSH_V_IR_SOS_B'
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ObjectModel.usageType: {serviceQuality: #X, sizeCategory: #XXL, dataClass: #MIXED}
@AccessControl.personalData.blocking: #REQUIRED
@EndUserText.label: 'MM-PUR: Basic CDS View for SOS'
define view FSH_V_Inforecord_Sos_B
as select from eine as eine
inner join eina as eina on eine.infnr = eina.infnr
left outer join t001w as T001w on(
T001w.werks <> eine.werks
and eine.werks = ''
)
or T001w.werks = eine.werks
inner join lfa1 as lfa1 on eina.lifnr = lfa1.lifnr
inner join lfm1 as lfm1 on eina.lifnr = lfm1.lifnr
and eine.ekorg = lfm1.ekorg
{
eina.matnr as matnr,
T001w.werks as werks,
eina.lifab as vdatu,
case eina.lifbi
when '00000000' then '99991231'
else eina.lifbi
end as bdatu,
eina.lifnr as lifnr,
case eine.minbm
when 0 then eine.minbm
else
case eina.umren
when 0 then eine.minbm
else division((eine.minbm * eina.umrez), eina.umren, 3)
end
end as bstmi,
case eine.bstma
when 0 then cast('9999999999' as abap.dec(13,3))
else
case eina.umren
when 0 then eine.bstma
else division((eine.bstma * eina.umrez), eina.umren, 3)
end
end as bstma,
eine.aut_source as aut_source,
eine.netpr as netpr,
eine.waers as waers,
eine.peinh as peinh,
eina.infnr as infnr,
eine.ekorg as ekorg,
eine.esokz as esokz,
eine.ekgrp as ekgrp,
eine.aplfz as plifz,
eine.verid as verid,
eine.rdprf as rdprf,
case eine.werks
when '' then '2'
else '1'
end as priority
}
where
eina.loekz = ''
and eine.loekz = ''
and lfa1.loevm = ''
and lfm1.loevm = ''
and lfa1.sperm = ''
and lfm1.sperm = ''
and eina.matnr <> ''
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA