You maintain the following header information, displayed on the various tabs, for format trees representing outgoing data medium exchange (DME) files:
You can document your format tree as needed. To do so, specify a name for your documentation text in the Documentation field; the name format <format tree ID>_DMEE is recommended. You can then maintain the text directly in the SAPscript editor by choosing . For more information on creating your own format documentation, refer to the field help for the Documentation field.
The format documentation is meant to contain general information that is relevant to the entire format. If you want to document details at the node level (such as how an amount is calculated), you can enter up to three lines of comments per node, on the Comment tab (which is visible for all nodes except the header).
The version of the format tree is displayed. The system assigns the fixed value 000 to an active version and 001 to a maintenance version.
Here you specify a DDIC structure in the case of format-specific parameters. Depending on the type of file format, you can specify other details: for flat files, you can enter delimiter information; for XML files, you can specify further processing (via exit module) for a file after its creation, by entering an XSLT program.
For format trees of the tree type PAYM, you can additionally specify that an accompanying sheet is to be printed when the file is generated. The system supports the printing of both simplified sheets and sheets with subtotals. If you specify an accompanying sheet with subtotals, you must maintain the key fields on the Sort/key fields tab.
Here you specify the number of levels in the format. In addition, you can define a repetition limit for each level. This value specifies how often a certain level may be output. If this number is exceeded, the corresponding level cannot be output anymore. If the limit is reached for the uppermost level in the format tree and additional data is to be processed, a second file is generated. If the limit is reached for lower levels, the preceding level is repeated so that data can continue to be output for this level.
Here you can specify how certain fields are to be sorted. For the payment program, for example, you can sort according to currency or account by specifying the appropriate source field. If a sort field is additionally marked as a key field, then a change to the value in this field causes the corresponding format level to end. By activating both Key Field and No Sorting, you specify that data does not need to be sorted by this criterion (if, for example, it is already presorted in the Payment Medium Workbench); this results in additional space in the sort fields, which allows you to use additional fields as sort fields.
If you indicate on the Format attributes tab that an accompanying sheet is to be printed, you maintain the key fields here, which define how the subtotals are calculated.
Here you specify whether segments are to be separated by carriage return or by line feed.
You can also enter your own format-specific characters that you wish to allow in or exclude from the file; enter them one after another, with no spaces between them. If you then select one of the following radiobuttons and choose the conversion function Exclude/allow defined characters for the affected elements, the system does the following:
· Do Not Allow These Charact. ® The system removes the specified characters from the character string.
· Allow Only These Charact. ® The system removes all other characters from the character string except for the ones specified here.