函数DAY_ATTRIBUTES_GET可以查看某日期的一些属性,比如:是否是休息日,是否是节假日,星期几的描述。
SE37,输入工厂日历,factory_calendar,运行:
<img class="alignnone size-full wp-image-4284" src="http://www.baidusap.com/wp-content/uploads/2017-03-27_10-24-44.png" alt="" width="763" height="418" srcset="http://www.baidusap.com/wp-content/uploads/2017-03-27_10-24-44.png 763w, http://www.baidusap.com/wp-content/uploads/2017-03-27_10-24-44-740x405.png 740w" sizes="(max-width: 763px) 100vw, 763px" />在输出table day_attributes看结果:
<img class="alignnone size-full wp-image-4285" src="http://www.baidusap.com/wp-content/uploads/2017-03-27_10-25-22.png" alt="" width="991" height="271" srcset="http://www.baidusap.com/wp-content/uploads/2017-03-27_10-25-22.png 991w, http://www.baidusap.com/wp-content/uploads/2017-03-27_10-25-22-740x202.png 740w, http://www.baidusap.com/wp-content/uploads/2017-03-27_10-25-22-768x210.png 768w" sizes="(max-width: 991px) 100vw, 991px" /> <img class="alignnone size-full wp-image-4292" src="http://www.baidusap.com/wp-content/uploads/2017-03-27_10-43-47.png" alt="" width="334" height="230" />其他:
工厂日历和节假日可以通过表TFACD查看,TFACD-INDET,TFACD-HOCID
工厂日历相关表是以“TFA”开头的表,节假日历相关的表是以“THO”开头相关的表。
<img class="alignnone size-full wp-image-4286" src="http://www.baidusap.com/wp-content/uploads/2017-03-27_10-26-01.png" alt="" width="851" height="486" srcset="http://www.baidusap.com/wp-content/uploads/2017-03-27_10-26-01.png 851w, http://www.baidusap.com/wp-content/uploads/2017-03-27_10-26-01-740x423.png 740w, http://www.baidusap.com/wp-content/uploads/2017-03-27_10-26-01-768x439.png 768w" sizes="(max-width: 851px) 100vw, 851px" />也可以在工厂表T001w查到,T001w-FABKL
<img class="alignnone size-full wp-image-4287" src="http://www.baidusap.com/wp-content/uploads/2017-03-27_10-28-38.png" alt="" width="763" height="398" srcset="http://www.baidusap.com/wp-content/uploads/2017-03-27_10-28-38.png 763w, http://www.baidusap.com/wp-content/uploads/2017-03-27_10-28-38-740x386.png 740w" sizes="(max-width: 763px) 100vw, 763px" />以上。