Smartform的总结

来源:互联网 发布:蓝牙对码软件 编辑:程序博客网 时间:2024/05/01 22:57

data fm_name type rs381_fnam.

 

data itab like table of spfli with header line.

 

call function 'SSF_FUNCTION_MODULE_NAME'

 exporting

   formname = 'zsmartform_name'

 importing

   fm_name  = fm_name.

 exceptions

   no_form                     = 1

   no_function_module  = 2

   others                        = 3.

 

call function fm_name

  exporting

   user_text            =  '航班信息表'

  tables

   user_tab_spfli     =  itab

  exception

   others                 =  5.

  

 

-------------------------------------------------------------------

 

在smartform中,user_text和user_tab_spfli分别是在表格接口中

 

导入和表 定义的

 

user_text type c

 

user_tab_spfli like spfli

原创粉丝点击