当前位置:网站首页>How to get the last day of a month
How to get the last day of a month
2022-08-10 05:09:00 【Harryjing2018】
Article table of contents
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'exportingi_gjahr = 2021* I_MONMIT = 00i_periv = lv_perivi_poper = lv_poperimportinge_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.
边栏推荐
猜你喜欢
线程(上篇):线程的创建
【无标题】
电流探头如何设置示波器参数
Using the DatePicker date control, Prop being mutated: "placement" error occurs
栈与队列 | 有效的括号、删除字符串中的所有相邻元素、逆波兰表达式求值、滑动窗口的最大值、前K个高频元素 | leecode刷题笔记
告诉你如何从keil工程知道使用了多少RAM和ROM空间
What is the relationship between legal representative and shareholders?
【无标题】
通过一个案例轻松入门OAuth协议
Linear Algebra (4)
随机推荐
Ask you guys.The FlinkCDC2.2.0 version in the CDC community has a description of the supported sqlserver version, please
JS gets the year, month, day, time, etc. of the simple current time
Using the DatePicker date control, Prop being mutated: "placement" error occurs
线性代数(四)
Guys, the test in the idea uses FlinkCDC SQL to read Mysql data and write it into Kafka. The code creates
EasyGBS连接mysql数据库提示“can’t connect to mysql server”,该如何解决?
JS获取当前时间的年、月、日、时间等
Mysql CDC (2.1.1) inital snapshot database set up five concurrent degree, se
Rpc接口压测
Advanced Feature Selection Techniques in Linear Models - Based on R
SQL database field to append to main table
SQLSERVER 2008 解析 Json 格式数据
小影科技IPO被终止:年营收3.85亿 五岳与达晨是股东
LeetCode 2369. 检查数组是否存在有效划分 动态规划
【Web3 系列开发教程——创建你的第一个 NFT(7)】创建一个 NFT DApp,给你的 NFT 赋予属性,例如图片
十年架构五年生活-06 离职的冲动
[Web3 Series Development Tutorial - Create Your First NFT (7)] Create an NFT DApp and assign attributes to your NFT, such as pictures
2022 security officer C certificate test and simulation test in shandong province
Ueditor editor arbitrary file upload vulnerability
openvino 安装(01)