Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

ABAP Based extractor allows you to use ABAP code as a data source.

The selected root page could not be found.

To create the ABAP based extractor

  1. In Extractor Workbench.
  2. In the context menu of ABAP to Storage select Create Extractor.
  3. Specify the following parameters:
    • Extractor name – technical name of the extractor.
    • Description description of the extractor.
    • Extractor type this value is predefined, for this type of extractor select the ABAP to Storage extractor.
    • Source type 
    • Target type
  4. Fill in the following entries:
  • Result Structure – SAP table/structure that represents the source structure of data
  • Target Table HIVE – target GLUE table
  • Input Structure – SAP table/structure that will serve as a filter for class providing the data - similar to select-options
  • Class Name – SAP class that implements interface /DVD/GL_EXT_IF_ABAP

Please note: that Target Structure section is automatically generated and its content depends on the defined Input Structure.

3. Save and Activate.

4. The next step is to create a Variant.

Technical details

To use a Class as a Data provider, the class must implement interface /DVD/GL_EXT_IF_ABAP.

The interface contains these methods:

  • INIT - serves for initialization of required information for extraction process; input parameter is select-options from variant
  • HAS_DATA - signalizes extraction process, if there are still some data to extract
  • GET_NEXT_PACKAGE - provides data that will be replicated to Storage
  • POST_EXTRACTION - post-processing after successful extraction
  • CLEANUP - cleanup after failed extraction
  • No labels