--- title: "Target structure attributes" slug: "phase-3-target-structure-attributes" updated: 2026-10-01T09:42:45Z published: 2026-10-01T09:42:45Z canonical: "docs.lobstersoftware.com/phase-3-target-structure-attributes" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # Target structure attributes ## Nodes | Attribute | Description | | --- | --- | | Name Description | Name of the node and optional description (multi-line). See also [Naming conventions for nodes and fields](/v1/docs/en/intro-concepts-naming-conventions). | | XML/JSON handling | See [XMLNoTemplateUnit](/v1/docs/en/xml-no-template-unit), [create xml from node()](/v1/docs/en/xml-create-from-tree), [JsonCreationUnit](/v1/docs/en/json-creation-unit) and [ExtendedJsonCreationUnit](/v1/docs/en/extended-json-creation-unit). | | Minimum Maximum | Checks the minimum and maximum occurrence of a node. | | Inactive | An inactive node is not entered/generated when the Target tree is generated. | | Only for SQL | If this option is set, the node will not be displayed in the output data. Nodes of this type are only for the interaction with databases. | | Iteration node | Only the last iteration of the node is output. See [Mapping – Filling a record of the target tree](/v1/docs/en/intro-profiles-phase-3-filling-target-tree). | | Path | You can either drag a source structure node onto this target structure node. In that case, the name of the source structure node is automatically entered in this attribute field. Or you search for the source structure node in a list using the folder icon. Alternatively, you can enter the name manually. In addition, you can also use the blue folder icon to select a source structure node or an Integer variable. See also [Mapping – Records and paths](/v1/docs/en/intro-profiles-phase-3-records-paths), [Path types (repetition of target structure nodes)](/v1/docs/en/intro-profiles-phase-3-path-types). | | Is relative path | See also the attribute "Path" and [Path types (repetition of target structure nodes)](/v1/docs/en/intro-profiles-phase-3-path-types). | | Iteration | See [Processing order of nodes](/v1/docs/en/intro-profiles-phase-3-order-nodes). | | Optional settings | See [EDICreationUnit](/v1/docs/en/edi-creation-unit), [MultipleFileCreatorUnit](/v1/docs/en/multiple-file-creator-unit) and [X12CreationUnit](/v1/docs/en/x-12-creation-unit). **NOTE:** If you create nodes manually in an EDIFACT target structure, use this property to set the delimiter: `1` for components `:`), `0` for segments `+`). | | XML namespace | This property allows an XML namespace to be assigned to the XML element generated from the field. See also [XMLMemSaveTemplateParserUnit](/v1/docs/en/xml-mem-save-template-parser-unit) and [XMLNoTemplateUnit](/v1/docs/en/xml-no-template-unit). | | Line break | See [New line for "CSV"/"Fixed-length](/v1/docs/en/intro-profiles-phase-3-new-line-csv)". | | Sort field Sorting | See [Sorting in nodes](/v1/docs/en/intro-profiles-phase-3-sorting-nodes). | | Optional XPath filter | Only relevant for the [XML parser V4](/v1/docs/en/document-type-xml-v-4). | ### Advanced settings You can access the advanced settings via the checkbox "All". | Attribute | Description | | --- | --- | | Transaction control Database alias SQL table/procedure Empty table Optional pre-SQL execution SQL mode | See section [Phase 4](/v1/docs/en/phase-4). | | Optimize path | If this attribute has the value `No`, the usually active path optimization will be deactivated. If a child node in the target structure has the same path as its parent node and its attribute `Is relative path` has the value `No`, this node will only appear once in the target tree if the optimization is enabled. If the optimization is disabled, the node appears in the target structure as often as it appears in the source structure. | | Row offset variable | The value of the Integer variable specified in this field determines how large the offset for the nodes to be output in the target tree is. An offset of `2`, for example, means that only the second node (and the following) will appear in the target tree. This attribute only works if the attribute *"*Optimize path" has the value "No". | | Step size variable | The value of the Integer variable specified in this field determines how large the step size for the nodes to be output in the target tree is. With an offset of `2` and a step size of `2`, the nodes `2, 4, 6,` etc. are output in the target tree. | ## Fields | Attribute | Description | | --- | --- | | Name Description | Name of the field and optional description (multi-line). See also [Naming conventions for nodes and fields](/v1/docs/en/intro-concepts-naming-conventions). | | Calculation field | Indicates whether a field will be included in the output data or if it is only traversed for calculation purposes. See also the section "Calculation fields" below. | | Mandatory field | If a field is marked as a mandatory field, an error is generated if the field has an empty flag. Whether a mandatory field has been filled can be checked in a mapping test with the option *"*Perform min/max checks". | | Fix value | You can specify a fixed value for a field. See also [Order of value assignments](/v1/docs/en/phase-3-target-structure-functions#order-of-value-assignments-to-target-structure-fields-and-target-structure-nodes). | | Data type | The data type of the field. | | Length | For data with the Document type "Fixed-length", the value specified here defines the length of the field (so when this fields end and the next one starts). For data with the document type "CSV", the content of the field is shortened to the length entered here (if the attribute has the value `0`, the content will not be shortened at all). | | Template Use template | You can specify a format template. The template is only evaluated if the *data type* is numeric or *Date*/*Timestamp* and the field actually has a value. The template is evaluated in the same way as the function [format date/timestamp to text()](/v1/docs/en/date-convert-to-string), where `b` is the template. The template will be applied to the field after the last value assignment and if the attribute "Use template" has the values "Yes". See also [Format templates for dates and times](/v1/docs/en/intro-concepts-format-templates) and page [https://docs.oracle.com/javase/8/docs/api/java/text/DecimalFormat.html](https://docs.oracle.com/javase/8/docs/api/java/text/DecimalFormat.html). | | Fill with | The character to be used to fill the field value up to its specified length. If more than one character is specified, only the first one will be used. | | Fill from left | Specifies whether to fill from the left ("Yes") or from the right ("No"). | | XML namespace | This attribute allows an XML namespace to be assigned to the XML element generated from the field. See also the Integration Units [XMLMemSaveTemplateParserUnit](/v1/docs/en/xml-mem-save-template-parser-unit) and [XMLNoTemplateUnit](/v1/docs/en/xml-no-template-unit). | | Name for logging | The string `<Field name> (<Name for logging>) Assigned value is <mapped value>` will additionally appear in the job log if the attribute "Log field value" is set to "Yes"*.* | | Log field value | If set, the value assigned to the target field will be logged (starting with the string `Assigned value is`). You can use the advanced search in the Control Center to specifically look for those entries. An application example would be to log order numbers and later look for jobs that processed a certain order. It is then no longer necessary to search in the input data. See also the attribute `Name for logging`. | | Optional XPath filter | Only relevant for the [XML parser V4](/v1/docs/en/document-type-xml-v-4). | ### Advanced settings You can access the advanced settings via the checkbox "All". | Attribute | Description | | --- | --- | | SQL column name SQL key SQL AutoGenKey Skip empty SQL value | These settings are only relevant for [Phase 4](/v1/docs/en/phase-4). | ### Calculation fields See also [Mapping – Filling a record of the target tree](/v1/docs/en/intro-profiles-phase-3-filling-target-tree). Sometimes it is necessary to perform calculations in the mapping, whereby the affected substructures must not be visible in the output data. **NOTE:** Calculation fields are displayed in mapping tests and are also used for Phase 4 (SQL). **Example:** The number of order items must be specified in the header data of an order. The count is determined with a variable by creating a `counting` node with a path to the `Position` node in the source structure. The counting node contains a field `counterPos` that increases the counter with each iteration with a function. We do not want this part of the target structure/tree to appear in the output data. This can be achieved by setting the attribute `Calculation field` to `Yes` for the field. The following figure shows the effect of calculation fields on the target tree. ![images/download/attachments/201684691/Berechnungsfeld-version-1-modificationdate-1749548092275-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/Berechnungsfeld-version-1-modificationdate-1749548092275-api-v2.png) ① We create a new node `counting` above the node `OrderHeader` in the target structure. The node gets the same value for attribute "Path" as node `Position`. This repeats node `counting` as often as node ④ . ② We create the field `counterPos`. The attribute `Calculation field` is set to `Yes` for this field. We use function [calculate and save variable()](/v1/docs/en/basic-change-variable) on this field with the parameter` a=var__COUNTERPOS, b=+ and c=1`*.* This will increment the value of variable `var__COUNTERPOS` each time the function is executed. So after the last iteration, the value of the variable will be equal to the number of order items. ③ We create the field `positions`. We use function [copy()](/v1/docs/en/basic-copy-field) with the parameter `a=Variable var__COUNTERPOS`. So the field will contain the number of positions. ④ Node `Position` (in the target structure) with a path to node `Position` in the source structure. ⑤ Node `counting` will be iterated as many times in the target tree as node `Position`. Since there is no "real" field in this node, it will be ignored when the output data is created. It is also possible to mix calculation fields and normal fields in any order within nodes. However, nodes containing normal fields will no longer be ignored when output files are created. XML (Extensible Markup Language) is a structured text format for storing and exchanging data. Content is enclosed within freely definable tags such as `<order>`. XML is human-readable, machine-processable, and platform-independent. In the Lobster Data Platform, you can receive, parse, and generate XML data. JSON (**J**ava**S**cript **O**bject **N**otation) is a lightweight text format for data exchange. The Lobster Data Platform handles JSON in integration profiles, web resources, and API interfaces. Value resolvers convert JSON data to internal objects and vice versa. Structured representation of the input data in Phase 3. The target tree receives the values transferred via mapping and passes them on to Phase 4, Phase 5, or Phase 6. International EDI standard established by the UN for electronic data interchange. EDIFACT defines message types such as ORDERS, INVOICE, and DESADV. Configuration in Phase 2, which determines the format of the input data. The document type determines how the parser reads the data and transfers it to the source tree. Examples: EDIFACT, XML, JSON, CSV, X12. Central operational overview of the Lobster Data Platform. The Control Center displays running jobs, successful jobs, and error logs. Administrators use it to monitor operations, intervene in running jobs, and restart failed jobs. An optional phase in a profile between mapping and the integration unit. In Phase 4, the profile writes target structure data directly to a database. This phase is skipped if no database write operation is configured.