-
Book Overview & Buying
-
Table Of Contents
SAP ABAP Advanced Cookbook
By :
In this recipe, we will see how we can create transformations that correspond to a nested structure defined within an ABAP program. We will create a transformation, then call the transformation from a program using the CALL TRANSFORMATION statement and pass it to a populated ABAP structure corresponding to the root element of the transformation. We will then see how serialization will generate the XML stream.
We will now see the steps needed to create a transformation corresponding to a structure:
Call the transaction XSLT_TOOL. Then, enter a suitable name for your transformation. We gave it the name ZST6_FOR_STRUCTURE.
Click on the Create button. Then, on the Create Transformation dialog box that appears, choose the option Simple Transformation and proceed further.
Enter the following code within the transformation editor:

) button.Next, we will create the program that will...
Change the font size
Change margin width
Change background colour