SMARTFORM字段參數(shù)設(shè)置及系統(tǒng)變量_第1頁
SMARTFORM字段參數(shù)設(shè)置及系統(tǒng)變量_第2頁
SMARTFORM字段參數(shù)設(shè)置及系統(tǒng)變量_第3頁
SMARTFORM字段參數(shù)設(shè)置及系統(tǒng)變量_第4頁
全文預(yù)覽已結(jié)束

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報或認(rèn)領(lǐng)

文檔簡介

1、Output Options for Field Contents Use the Formatting options to adapt the value of a field before printing it. You can enter the relevant parameters directly behind the field name. Make sure to write the short forms of the different options in uppercase letters. Some of the options can be combi

2、ned. General InformationThe formatting options are not suited for all data types of fields (for example, for character fields you need no exponential representation). You must distinguish between numeric fields and character fields.Numeric Fields· If specified, the system first evaluates the le

3、ngth (<length>). · If no length is specified, the system displays the value in its overall length. · The trailing blank indicates a positive sign. To suppress it, use formatting option S . · Any offset <offset> specified is ignored.Sequence of evaluation: (<length>),

4、 sign to the left( < ),Japanese date (L), suppress blanks (C), right-justified display (R), insert fillers (F).Character FieldsBy default, the system displays the value of a field in its overall length, but truncates trailing blanks.Sequence of evaluation: suppress blanks (C), <offset> and

5、(<length>), right-justified display (R), insert fillers (F).OverviewFormatting Options for FieldsSyntaxDescription&field+<offset>&Skips <offset> places of the field value (character fields only). If the offset is greater than the length of the value, nothing is displayed.&a

6、mp;field(<length>)&Sets the output length to <length>.&field(*)&If the field is defined by a Data Dictionary type, Smart Forms set the output length to the value specified there.&field(S)&Suppresses the sign&field(<)&Displays the sign to the left of the num

7、ber&field(.<nat.number>)&Limits output of decimal places to <nat.number>&field(E<nat.number>)&Displays the field value with the fixed exponent <nat.number>. The mantissa is adapted to this exponent by shifting the decimal character and inserting zeros.&fie

8、ld(T)&Suppresses thousand indicators when displaying fields of types DEC , CURR , INT , and QUAN .&field(Z)&Suppresses leading zeros of numbers&field(I)&Suppresses display of initial values&field(K)&Deactivates a conversion routine specified in the Data Dictionary.&fi

9、eld(R)&Right-justified display. Use this option only when specifying an output length as well.&field(F<filler>)&Replaces left-justified blanks in the value by the fill character <filler>.&field(L)&Converts and a date field to a local date and displays it. The date is

10、then formatted using edit mask JPDAT .Since this representation uses Japanese characters, use it in the Japanese version of the SAP System only.&field(C)&The system takes the field value as a sequence of words separated by blanks. Option C shifts these words to the left and leaves only one b

11、lank inbetween as separator. Any leading blanks are suppressed. This effect corresponds to that of the ABAP statement CONDENSE.  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 corre

12、sponding values. The field values come from the SAP System or are results of the processing.System fields of Smart FormsField nameDescription&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:

13、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. See also: Creating Pages.&SFSY-FORMPAGES&Displays the total number of pages for the currently processed form. This al

14、lows you to include texts such asPage x of y into your output. See also: Creating Pages.&SFSY-JOBPAGES&Contains the total page number of all forms in the currently processed print request. See also: Creating Pages.&SFSY-WINDOWNAME&Contains the name of the current window (string in th

15、e 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 or command-controlled)&SFSY-MAINEND&Is set as soon as processing of the main window on the current page e

16、nds&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 >). See also: Checking and Testing a Smart Form.When using the fields &SFSY-FORMPAGES& or &SFSY-JOB

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論