SMARTFORMSForm - ooxxvv/MySAPnotes GitHub Wiki

PageOutline {{{#!comment -------------------- 以上的部份是固定的,不要變動 ----- ---------------------------------------- 在建立連結時,請標明連結的頁面類型,例如:wiki:WikiStart,而不要只用 WikiStart ----- }}}

SMARTFORMSForm

  • SAP Form Builder

  • SMARTFORMS 中管理 Form 的畫面

  • 如果 preview 時,中文擠在一時,在 call function 時指定 SSFCTRLOP-LANGU 為 「M」

Features

將 Form 回復到目前 Active 的版本

  • 可將已 save 但尚未 active 的 form 更改成目前系統中 active 的版本
  • Utilities -> Return to active version in the Form Builder

Download or Upload Form(Subtree)

  • Utilities -> Upload, Download Form, Download Subtree
  • 儲存的格式為 XML

用不同的格式輸出

  • Output Options -> Output Format
  • Standard Output ( OTF )
  • 預設值
  • XSF
  • HTM
  • 可設定 CSS, 及特殊欄位 (Radio,Textarea,Input...)
  • 特殊欄位可在 Text 的 Web Attributes 中設定,此設定只有當輸出格式為 XSF 時才有效
  • 可在 call function 時在 OUTPUT_OPTIONS 改變輸出的格式
  • 輸出的結果會存在 call function 的 export 中
  • Standard(OTF) -> JOB_OUTPUT_INFO-OTFDATA(internal table)
  • 需在 import 的 CONTROL_PARAMETERS-GETOTF 有設定
  • XSF, CSS, HTML -> JOB_OUTPUT_INFO-XMLOUTPUT(internal table)

Interface

  • 如果要傳入 internal table , 需在 Dictionary 中建立 structure ,用 LIKE 的方式建立

{{{#!comment -------------------- 以下的部份是固定的,不要變動 ----- }}}