ITPub博客

首页 > 数据库 > 数据库开发技术 > 顯示Smartforms報表代碼

顯示Smartforms報表代碼

原创 数据库开发技术 作者:tolyhuang 时间:2007-11-01 11:24:28 0 删除 编辑

  

[@more@]

form show_smartforms_report .
data: itab like mara,
data: fm_name type rs38l_fnam.
data: para1 type c lenght 20,
para2 type c lenght 20,
para3 type c lenght 20.

perform .

call function 'SSF_FUNCTION_MODULE_NAME'
exporting
formname = 'Smartforms name' "Smartforms name
importing
fm_name = fm_name
exceptions
no_form = 1
no_function_module = 2
others = 3.
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.

para1 = '物料清單報表'.
para2 = 'XXX'.
para3 = 'XXXXXX'.

call function fm_name "要輸入到報表中的參數
exporting
p_para1 = para1
p_para2 = para2
p_para3 = para3
tables
itab = itab.

endform.

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/9437124/viewspace-980340/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2010-07-22

  • 博文量
    268
  • 访问量
    1468756