Generating transformations for dictionary table types

In this recipe, we will see how we can create transformations for dictionary table types. We will first create a table type using SE11 and then generate its transformation using the graphical tool editor of the transaction XSLT_TOOL.

We will create a table type, ZST6_TT_PER, that will comprise of employee number, PERNR, employee name, NAME, and grade field, GRADE.

How to do it...

We will now carry out the following steps:

  1. Call transaction SE11. We will first create a line type by the name of ZST6_ST_PER. Enter the name in the Data Type field. Then, click on the Create button and choose the Structure option in the dialog box that appears.
  2. Next, we specify the fields of the line type. These are: ...

Get SAP ABAP Advanced Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.