Gets Bit Map of Base net due date for two following monts
P_PL_ExcessDelayFcCalMonBitMp is a Composite CDS View that provides data about "Gets Bit Map of Base net due date for two following monts" in SAP S/4HANA. It reads from 2 data sources (I_FactoryCalWorkingDaysPerYr, I_YearMonth) and exposes 3 fields with key fields FactoryCalendar, CalendarYear, CalendarMonth. Part of development package GLO_FIN_IS_PL.
//@AbapCatalog.sqlViewName: 'PEDGETFCBITMP'
//@AbapCatalog.compiler.compareFilter: true@VDM.private:true@AccessControl.authorizationCheck: #NOT_REQUIRED@VDM.viewType: #COMPOSITE@ObjectModel.usageType.sizeCategory: #L@ObjectModel.usageType.dataClass: #TRANSACTIONAL@ObjectModel.usageType.serviceQuality: #C//@ClientHandling.algorithm: #SESSION_VARIABLE//@EndUserText.label: 'Get Bit Map of Base Due Date for 2 monts'
defineviewentity P_PL_ExcessDelayFcCalMonBitMp
asselectfrom I_FactoryCalWorkingDaysPerYr as FactoryCalWorkingDaysPerYr
crossjoin I_YearMonth as Months
{
key FactoryCalWorkingDaysPerYr.FactoryCalendar as FactoryCalendar,
key FactoryCalWorkingDaysPerYr.CalendarYear as CalendarYear,
key Months.CalendarMonth as CalendarMonth,
casewhen Months.CalendarMonth = '01'
then
concat(
FactoryCalWorkingDaysPerYr.Month01WorkingDaysString,
FactoryCalWorkingDaysPerYr.Month02WorkingDaysString)
when Months.CalendarMonth = '02'
then
concat(
FactoryCalWorkingDaysPerYr.Month02WorkingDaysString,
FactoryCalWorkingDaysPerYr.Month03WorkingDaysString)
when Months.CalendarMonth = '03'
then
concat(
FactoryCalWorkingDaysPerYr.Month03WorkingDaysString,
FactoryCalWorkingDaysPerYr.Month04WorkingDaysString)
when Months.CalendarMonth = '04'
then
concat(
FactoryCalWorkingDaysPerYr.Month04WorkingDaysString,
FactoryCalWorkingDaysPerYr.Month05WorkingDaysString)
when Months.CalendarMonth = '05'
then
concat(
FactoryCalWorkingDaysPerYr.Month05WorkingDaysString,
FactoryCalWorkingDaysPerYr.Month06WorkingDaysString)
when Months.CalendarMonth = '06'
then
concat(
FactoryCalWorkingDaysPerYr.Month06WorkingDaysString,
FactoryCalWorkingDaysPerYr.Month07WorkingDaysString)
when Months.CalendarMonth = '07'
then
concat(
FactoryCalWorkingDaysPerYr.Month07WorkingDaysString,
FactoryCalWorkingDaysPerYr.Month08WorkingDaysString)
when Months.CalendarMonth = '08'
then
concat(
FactoryCalWorkingDaysPerYr.Month08WorkingDaysString,
FactoryCalWorkingDaysPerYr.Month09WorkingDaysString)
when Months.CalendarMonth = '09'
then
concat(
FactoryCalWorkingDaysPerYr.Month09WorkingDaysString,
FactoryCalWorkingDaysPerYr.Month10WorkingDaysString)
when Months.CalendarMonth = '10'
then
concat(
FactoryCalWorkingDaysPerYr.Month10WorkingDaysString,
FactoryCalWorkingDaysPerYr.Month11WorkingDaysString)
when Months.CalendarMonth = '11'
then
concat(
FactoryCalWorkingDaysPerYr.Month11WorkingDaysString,
FactoryCalWorkingDaysPerYr.Month12WorkingDaysString)
when Months.CalendarMonth = '12'
then
concat(
FactoryCalWorkingDaysPerYr.Month12WorkingDaysString,
'0111111111111111111111111111111')
else '11111111111111111111111111111111111111111111111111111111111111'
endas CalendarMonthBitMap
}
where FactoryCalWorkingDaysPerYr.FactoryCalendar = 'PL'
and Months.YearMonth >= '200000'
and Months.YearMonth <= '200012'