Solve Simple Problems Using Simple Transformation

  • by Rehan Zaidi, Senior SAP Technical Consultant
  • September 11, 2017
Learn about the basics of Simple Transformation, the main Simple Transformation commands, and the steps required to create Simple Transformations for structures and internal tables. See how to download internal table ABAP data into a Microsoft Excel format using a sample Simple Transformation.
Learning Objectives

Reading this article you will learn:

  • The anatomy of a Simple Transformation
  • The steps required to create a Simple Transformation
  • How to create Simple Transformations for structures and internal tables
  • The steps to generate Simple Transformations using the graphical Transformation Editor
  • How to download ABAP data into a Microsoft Excel format using Simple Transformations
Key Concept

Simple Transformation is a meta-language you can use to convert XML to ABAP and vice versa. The contents of ABAP single fields, structures, and internal tables can be converted into XML files using Simple Transformations in conjunction with ABAP coding.

Simple Transformation is a meta-language allowing conversion of XML to ABAP and vice versa. If used wisely, it can solve requirements such as allowing developers to export data from an SAP system into Microsoft Excel in complex formats.

My aim is to provide an explanation of Simple Transformations and their benefits. I start with a brief overview of Simple Transformations and then describe the steps needed to create them and the syntax used for calling these transformations in ABAP. Included are transformations for structures and internal tables as well as serialization and de-serialization of ABAP and XML, and the graphical editor for defining transformations. An example of a transformation shows how to download data into a Microsoft Excel file in a sophisticated format.

The screenprints are from an SAP NetWeaver 7.50 system.

Rehan Zaidi

Rehan Zaidi is a consultant for several international SAP clients (both on-site and remotely) on a wide range of SAP technical and functional requirements, and also provides writing and documentation services for their SAP- and ABAP-related products. He started working with SAP in 1999 and writing about his experiences in 2001. Rehan has written several articles for both SAP Professional Journal and HR Expert, and also has a number of popular SAP- and ABAP-related books to his credit.

See more by this author


Comments

No comments have been submitted on this article. 


Please log in to post a comment.

To learn more about subscription access to premium content, click here.