What does it do? In an ST program, the statement tt:call> can be used to call a different ST program trafo>, as follows: The ST program trafo > must exist in the repository. trafo> is not case-sensitive. The ST statement tt:with-root> binds the data roots>> root1>, root2>, ... of the main template of the called transformation to the nodes node1>, node2>, ... of the current transformation, or passes the ABAP data objects that are currently bound to the specified nodes to these data roots. If ref> is not specified, the current node of the calling transaction is used. If formal parameters are declared with tt:parameter>> in the called ST program, these can be linked to the actual parameters with the ST statement tt:with-parameter>. As actual parameters, ref> can be used to specify data roots, var > can be used to specify variables, and val>> can be used to specify values. Depending on the type of formal parameter, the values of the specified actual parameters are either passed in the call or used when the called ST program ends.
ABAP_EXAMPLE_VX5 In the ST program DEMO_ST_CALL1>> below, another ST program (here: DEMO_ST_APPLY1>>) is called in a tt:loop > loop>. TRNS DEMO_ST_CALL1 If the called ST program is implemented as shown in DEMO_ST_CALL2>> below, the transformation has the same function as the example > of transforming internal tables. TRNS DEMO_ST_CALL2 ABAP_EXAMPLE_END