How to Get Name of Months in ABAP/4
来源:互联网 发布:淘宝买家拒签退款流程 编辑:程序博客网 时间:2024/05/21 08:44
1 使用数据表 'T247'
DATA: it_month_name TYPE TABLE OF t247 WITH HEADER LINE.
SELECT * INTO TABLE it_month_name FROM T247
WHERE spras = sy-langu.
2 使用函数'MONTH_NAMES_GET'
DATA: it_month_name TYPE TABLE OF t247 WITH HEADER LINE.
CALL FUNCTION 'MONTH_NAMES_GET'
EXPORTING
LANGUAGE = SY-LANGU
* IMPORTING
* RETURN_CODE =
TABLES
MONTH_NAMES = it_month_name
EXCEPTIONS
MONTH_NAMES_NOT_FOUND = 1
OTHERS = 2
.
IF SY-SUBRC >< 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Trackback: http://tb.blog.csdn.net/TrackBack.aspx?PostId=1365810
- How to Get Name of Months in ABAP/4
- How to Get Name of Months in ABAP/4
- How to Get Name of Months in ABAP/4
- How to Get Name of Months in ABAP/4
- How to Get Name of Months in ABAP/4
- 如何在三个月内获得三年的工作经验[How To Get Three Years's Expirence in Three Months
- How to Get a List of Class Attributes in Python
- How to get access to edit/get pixel values of Mat in OpenCV
- How to Get Interface Name List
- How to Get App Name and Version
- [cernRoot]how to get tree name?
- How do I get the name of an object's type in JavaScript
- How to get browser name, version and operating system detail in selenium 2(Web driver)
- How to get real file offset in NAND by file name?
- How to get rid of `deprecated conversion from string constant to 'char*'` warnings in GCC?
- How to collect the full path name of the files in ASM diskgroups (文档 ID 888943.1)
- How to collect the full path name of the files in ASM diskgroups (文档 ID 888943.1)
- ABAP how to get Background Job Status Report Code
- 锁定/解锁所有用户
- 获取SAP标准函数的说明(含参数和异常)
- SAP的架构
- SAP Basis 常用事务码
- 如何设计ABAP/4 Query报表
- How to Get Name of Months in ABAP/4
- Download ABAP Spool to PDF(代码样例)
- ABAP--显示修改数据(tables CDHDR and CDPOS)
- 资源.Eclipse.相关插件下载地址
- SAP FI模块与SD、MM的接口配置基本方法
- DataGrid相关知识总结
- ABAP--调用SAP的单位转换函数进行单位转换
- 符号文件——Windows 应用程序调试必备
- 挂起/释放执行sap Job