ABAP EXPORTING IMPORTING
来源:互联网 发布:中国移动网络运营商 编辑:程序博客网 时间:2024/06/03 23:41
定义方法变量时EXPORTING 表示输出/返回的变量,使用的时候IMPORTING来接收返回的变量。想想真是麻烦。。。
*&---------------------------------------------------------------------**& Report ZYHYCAST*&*&---------------------------------------------------------------------**&*&*&---------------------------------------------------------------------*REPORT ZYHYCAST.CLASS lcl_airplane DEFINITION. PUBLIC SECTION. METHODS: get_name EXPORTING name1 TYPE string, constructor. PRIVATE SECTION. DATA: name TYPE string, fuel TYPE n LENGTH 10.ENDCLASS.CLASS lcl_airplane IMPLEMENTATION. METHOD constructor. name = 'lcl_airplane'. write:'call lcl_airplane constructor'. ENDMETHOD. METHOD get_name. name1 = name. ENDMETHOD.ENDCLASS. DATA: airplane TYPE REF TO lcl_airplane. DATA: temp TYPE string. START-OF-SELECTION. CREATE OBJECT airplane. call method airplane->get_name IMPORTING name1 = temp. WRITE: /'temp:', temp.
0 0
- ABAP function exporting importing
- ABAP EXPORTING IMPORTING
- Importing and Exporting Data
- Importing and Exporting in Studio
- Exporting and Importing an LVM volume group
- Importing and Exporting Virtual Machines
- 10 Exporting&importing A Child Component
- CMake/Tutorials/Exporting and Importing Targets
- A utility for importing/exporting between hbase and csv file
- Exporting and Importing Objects Using Oracle Data Pump(1.expdp)
- Exporting and Importing Objects Using Oracle Data Pump(2.impdp)
- SAP ABAP exporting list to memory
- csharp:asp.net Importing or Exporting Data from Worksheets using aspose cell
- ABAP Trial Version for Newbies: Part 9 ' Importing a transport into SP11/12 '
- ABAP Trial Version for Newbies: Part 8 ' Exporting development objects from SP8 '
- Exporting Attachments
- [Python] Importing Python Modules
- Importing `*` in Python
- iOS使用ffmpeg播放rstp实时监控视频数据流
- Invalid property 'initialSize' of bean class 问题解决
- 关于《第一行代码》中安卓通知的修改
- Application Loader上传app程序
- scikit-learn学习6. 真对大数据的扩展计算策略
- ABAP EXPORTING IMPORTING
- ECMAScript 5中的数组方法
- Android Clipboard详解
- 在JS函数中调用OC中的方法
- 2016三月份总结
- StringUtils的isBlank与isEmply
- 【一天一道LeetCode】#15 3Sum
- Lua _G
- javascript中的变量提升和函数提升详解