Book Image

SAP Data Services 4.x Cookbook

Book Image

SAP Data Services 4.x Cookbook

Overview of this book

Want to cost effectively deliver trusted information to all of your crucial business functions? SAP Data Services delivers one enterprise-class solution for data integration, data quality, data profiling, and text data processing. It boosts productivity with a single solution for data quality and data integration. SAP Data Services also enables you to move, improve, govern, and unlock big data. This book will lead you through the SAP Data Services environment to efficiently develop ETL processes. To begin with, you’ll learn to install, configure, and prepare the ETL development environment. You will get familiarized with the concepts of developing ETL processes with SAP Data Services. Starting from smallest unit of work- the data flow, the chapters will lead you to the highest organizational unit—the Data Services job, revealing the advanced techniques of ETL design. You will learn to import XML files by creating and implementing real-time jobs. It will then guide you through the ETL development patterns that enable the most effective performance when extracting, transforming, and loading data. You will also find out how to create validation functions and transforms. Finally, the book will show you the benefits of data quality management with the help of another SAP solution—Information Steward.
Table of Contents (19 chapters)
SAP Data Services 4.x Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Using the Map_Operation transform


Here we explore a very interesting transformation available to you in Data Services. In fact, it does not perform any transformation of data per se. What it does is that it changes the type of the SQL Data Modification Language (DML) operation that should be applied to the row when it reaches the target object. As you probably know already, the DML operations in SQL language are the operations which modify the data, in other words, the INSERT, UPDATE, and DELETE statements.

First we will see the effect Map_Operation has when used in a dataflow, and then we will explain in detail how it works. In a few words, the Map_Operation transform allows you to choose what Data Services will do with the migrated row when passing it from Map_Operation to the next transform. Map_Operation assigns one of the four statuses to each record passing through: normal, insert, update, or delete. By default, the majority of transforms in Data Services produce records with a normal...