How to Get Name of Months in ABAP/4
来源:互联网 发布:阿里云 规则引擎 编辑:程序博客网 时间:2024/06/05 16:33
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.
- 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
- 只允许n个实例进行
- 如何设计ABAP/4 Query报表
- 使用ADO封装类的数据库程序开发实例(下)
- 无任何网络提供程序接受指定的网络路径
- JAVA数据结构
- How to Get Name of Months in ABAP/4
- Servlet在MyEclipse中简单实现(No.31)
- 数据库开发管理总结
- [XCODE]修改IOS应用的名称
- 修改ubuntu 11.10字体
- Android图片处理(Matrix,ColorMatrix)
- ABAP--显示修改数据(tables CDHDR and CDPOS)
- 为应用程序添加脚本支持
- 如何在richtextbox里实现网址的超链接,当点击该网址时就会打开网站