text Smartform变异变形

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了text Smartform变异变形相关的知识,希望对你有一定的参考价值。

SmartForms System Fields

Within a form you can use the field string SFSY with its system fields. During form processing  the system replaces these fields with the corresponding values. The field values come from the  SAP System or are results of the processing.

System fields of Smart Forms

&SFSY-DATE& 
Displays the date. You determine the display format in the user master record.

&SFSY-TIME& 
Displays the time of day in the form HH:MM:SS.

&SFSY-PAGE& 
Inserts the number of the current print page into the text. You determine the  format of the page number (for example, Arabic, numeric) in the page node. 

&SFSY-FORMPAGES& 
Displays the total number of pages for the currently processed form. This  allows you to include texts such as'Page x of y' into your output. 

&SFSY-JOBPAGES& 
Contains the total page number of all forms in the currently processed print  request. 

&SFSY-WINDOWNAME& 
Contains the name of the current window (string in the Window field)

&SFSY-PAGENAME& 
Contains the name of the current page (string in the Page field)

&SFSY-PAGEBREAK& 
Is set to 'X' after a page break (either automatic [Page 7] or  command-controlled [Page 46])

&SFSY-MAINEND& 
Is set as soon as processing of the main window on the current page ends

&SFSY-EXCEPTION&
Contains the name of the raised exception. You must trigger your own  exceptions, which you defined in the form interface, using the user_exception macro (syntax:  user_exception <exception name >).  

以上是关于text Smartform变异变形的主要内容,如果未能解决你的问题,请参考以下文章

SAP Smartform转成PDF方法汇总

SAP Smartform转成PDF方法汇总

如何在smartform中设置行间距

SMARTFORM 传值的4种方法

SAP smartform打印表格显示问题

创建smartform的流程