AddWithTemplate (Method) 

Definition

Generates a new segment object from the instance data of a segment and adds this segment to the segment list.

Remarks

The properties of the new object are copied from the corresponding segment in the Templates list.

Parameter

Description

Data

Character string containing segment data. The segment type is taken from this character string.

Templates

Segment list in which the system searches for the corresponding segment.

After

Insert the new segment after this segment. Can be an object or a character string. If it is a character string, it specifies the last of these objects in the current list. It must be a higher-level or same-level segment of the new segment. If it is a higher-level segment, it is added to the current list as the last subordinate segment of this segment.

Classification

AddWithTemplate

ß Segments class

ß SAPforms Data Plug-In for IDoc