当前位置:网站首页>如何取得某月的最后一天
如何取得某月的最后一天
2022-08-10 04:35:00 【Harryjing2018】
1 Introduction.
This blog will demostrate how to ge the last day in the month. We only need
transform two parameters and get the last day.
2 Example
data lv_periv type t009b-periv.
data lv_poper type t009b-poper.
lv_periv = 'K4'.
lv_poper = 5.
call function 'LAST_DAY_IN_PERIOD_GET'
exporting
i_gjahr = 2021
* I_MONMIT = 00
i_periv = lv_periv
i_poper = lv_poper
importing
e_date = l_date
* EXCEPTIONS
* INPUT_FALSE = 1
* T009_NOTFOUND = 2
* T009B_NOTFOUND = 3
* OTHERS = 4
.
if sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
if l_date is not initial.
endif.
边栏推荐
- 电流探头如何设置示波器参数
- ZZULIOJ:1014: 求三角形的面积
- X书6.89版本shield-unidbg调用方式
- 2022 R2 transportable pressure vessel filling operation examination question bank simulation platform
- How Current Probes Set Oscilloscope Parameters
- RadiAnt DICOM Viewer 2022.1 Crack
- 法定代表人和股东是什么关系
- 社区分享|货拉拉通过JumpServer纳管大规模云上资产
- JS gets the year, month, day, time, etc. of the current time
- 郑州轻工业大学OJ合集(C语言)【正在整理】
猜你喜欢
随机推荐
JS gets the year, month, day, time, etc. of the current time
2022年P气瓶充装操作证考试题库及模拟考试
ZZULIOJ:1021: 三个整数的最大值
B+树与B树的区别、Hash索引与B+树索引的区别
LeetCode·1413.逐步求和得到正数的最小值·贪心
网络层与数据链路层
LeetCode 301. Remove Invalid Parentheses BFS
About the problem that the mongodb driver count method of rust cannot be used with the near condition
整理零碎东西
【OpenCV图像处理5】图像的变换
webrtc学习--webrtc源码获取
ZZULIOJ:1018: 奇数偶数
矛盾的地方
深度学习——循环神经网络RNN 未完待续
How to choose the right oscilloscope probe in different scenarios
LeetCode 1297. 子串的最大出现次数
原型和原型链
3、ROS工作空间的创建
2022年R2移动式压力容器充装考试题库模拟考试平台操作
【无标题】