SAP Scripts Tutorial
SAP Scripts Useful Resources
Selected Reading
- Create a Script in the System
- SAP Scripts - Output Mode IDOC
- SAP Scripts - Output Mode Spool
- SAP Scripts - Raw Data Interface
- SAP Scripts - Format Conversion
- Print Preview of a Document
- SAP Scripts - Delete a Document
- SAP Scripts - Save a Document
- SAP Scripts - Find a Document
- SAP Scripts - Update a Document
- SAP Scripts - Create a Document
- SAP Scripts - Word Processing
- SAP Scripts - Standard Text
- SAP Scripts - Copy Scripts
- SAP Scripts - Control Commands
- SAP Scripts - Text & Graphics
- SAP Scripts - Control Tables
- SAP Scripts - Import
- SAP Scripts - Export
- SAP Scripts - Data Formats
- SAP Scripts - Control Print Output
- SAP Scripts - Output Types
- SAP Scripts - Format Options
- SAP Scripts - Grouping Text
- SAP Scripts - Text Module
- SAP Scripts - Output Area
- SAP Scripts - Creating a Window
- SAP Scripts - Print Program
- SAP Scripts - Layout Set
- SAP Scripts - Form Painter
- SAP Scripts - Smart Forms
- SAP Scripts - Overview
- SAP Scripts - Home
SAP Scripts Useful Resources
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
SAP Scripts - Format Options
SAP Scripts - Format Options
在SAPscript,文本输出格式由段落格式控制,或您可将案文与风格结合起来。 在产出格式中,你可以利用地主生成灵活的数据。 在SAPscript中,持有人被称作符号,用来显示案文中未加到后面的数据。
这些数值用于格式产出,案文中的所有符号都用现时的实际数值取而代之。 这一替换只是在文本模块的产出中进行,原始文本模块保持不变。
在SAPscript中有四种符号:
System -各种类型的系统标志可从表格中检索:SAPSCRIPT, SYST, TTSXY。 它们是全球变数,从系统表格中检索。
Placeholder / Symbol Structure
每一文号都有一个名称,一个编号也包含其他案文的案文。 这些符号与正常文本有所不同,因此,该呼声被打上文号或单元其他部分。
在使用符号时应当使用规则——
页: 1
Always use ampersand "&' Immediate before and after the sign.
页: 1
请注意,符号名称并不对个案敏感,最多包含130个特性,只有头32个特征用于识别符号。
Examples of Vapd Symbols
&symbol&
&MY_symbol&
&DATE&
Examples of Invapd Symbols
&mysymbol 它没有包含封闭性质
&symbol(Z&——无封闭式括号
&mygur& 文号为A/C.5/62/L.1。
&mysymbol>& 该名称含有无效性质。
Common Symbols Used in SAPScript
Current Date | &DATE& |
Current Day Number | &DAY& |
Current Month Number | &MONTH& |
Current Year Number | &YEAR& |
Minutes Component of Current Time | &MINUTES& |
Seconds Component of Current Time | &SECONDS& |
Current Page Number | &PAGE& |
Output Length | &symbol(length)& |
Omitting the Leading Sign | &symbol(S)& |
Leading Sign to the Left | &symbol(<)& |
Leading Sign to the Right | &symbol(>)& |
Omitting Leading Zeros | &symbol(Z)& |
Space Compression | &symbol(C)& |
Number of Decimal Places | &symbol(.N)& |
Omitting the Separator for ‘Thousands’ | &symbol(T)& |
Specifying an Exponent for Floating Point Numbers | &symbol(EN)& |