SAP ST PROGRAM ABEXA



Get Example source ABAP code based on a different SAP table
  



ABAP_ST - Example of an ST Program
Symmetrical serialization and deserialization of a nested structure.

ABAP_SOURCE_CODE
DEMO CL_DEMO_ST_PROGRAM

ABAP_DESCRIPTION
The called transformation DEMO_ST_PROGRAM shows the principal structure of an ST program:
TRNS DEMO_ST_PROGRAM
The only template tmpl1 is defined as the main template. Two data roots, ROOT1 and ROOT2, are declared. The template contains two subelements, X1 and X2 of an element X0 , which are given the values of the data roots in serializations or whose values are given to the data roots in deserializations using the statement tt:value. After the deserialization, result1 and result2 have the same content as source1 and source2.