Smart Forms
Procedure
1) Define a structure and a type (We canalso don’t create it and define in the smart forms global table Pass data tothe smart forms)
2) Retrieving the application data
3) Create SmartForms Pass data to the forms
l Define a variable of type rs281_fnam for the name of the generatedfunction module
l Call function module ‘SSF_FUNCTION_MODULE_NAME’ to get the functionname
l Call the generated function module.
Notes:
1) How to upload a picture to SAP?
SE78
2) When we use SFSY-FORMPAGES to displaytotal pages if the number of pages is larger than 10 it will be *
Solution:
l Add “3ZC”
l Set the window as final window
3) Amount or quantity cannot bedisplayed
Set QUAN in filed
Divide the pages
1) Separate the data in program
2) Use logic to control intemplate(Copy it will be convenient) command and program line
打断点的方式:
l Break-Point
l 采用se37,看看执行Smartforms其中的源码
Table 和template的区别
Table动态的,自动进行Loop循环,Template是静态的,需要增加Loop的节点
主窗口和次窗口的区别:
l 主窗口只有一个,次窗口可以有很多个
l 主窗口能够进行自动地分页