Dynamic Skip in Data Extractor

Dynamic Skips or DS allows you to skip elements at run time based on criteria you specify. Frequently used criteria are already provided. You can also define your own skip criteria using Custom DS. Custom DS is written in VB.NET code and similar to Macro that you write inside Excel/Word.

Dynamic Skip can be set for field in Data Extractor. Following are the Dynamic Skips that are offered:

  • Skip Excel row on Blank
  • Skip Excel row on Zero
  • Skip Excel row on Blank or Zero or Space(s)
  • Suppress field on Blank
  • Suppress field on Zero
  • Suppress field on Blank or Zero or Space(s)
  • Skip Current Call on Blank
  • Skip Current Call on Zero
  • Skip Current Call On Blank or Zero or Space(s)
  • Data Governance Rule
  • Custom Dynamic Skip

In the following example, we skip the data from MARA table and see how dynamic skip can be used to skip data based on the specified criteria. Once the data consisting of 'Material Number' and 'Name of Person who Created the Object' is ready in excel file for which data is to be extracted, go to Mapper tab and follow the steps mentioned below:

  1. In the Mapper, uncheck the 'Active' checkbox for the fields for which data is to be filtered (i.e taken from excel file mentioned above).
    basicmara
  2. Click on Home tab
  3. Check the 'Use Data Filters' checkbox and choose 'Data Filter Builder' option.
    datafilters
  4. In the Data Filter Builder window, choose 'MATNR' in Field Name, Source Type as Excel to SAP and Source Value as 'A' (column consisting material number in excel).
  5. Similarly choose 'ERNAM' , Source Type as Excel to SAP, Source Value as 'B'(column consisting Name of the Person Who Changed Object in excel).
    MAT-DSIn-DE-4
  6. Choose Dynamic skips offered under Dynamic Skip column for the required field.

In our example we will choose 'Name of Person who Created the Object' field and use dynamic skip options (skip excel row/suppress field/skip current call/custom DS) if value of this field is either 0 or blank as covered in below sections.