Custom DS

Custom DS

Like Custom DS for fields we have Custom DS for screens too.

Refer the transaction screen below. Business requirement is that If user adds/deletes any column then this transaction should not run. See how we can implement this using Custom Dynamic Skip.

MAT-DS-On-Scrren-Custom-DS1 (1)

To achieve this, we will add a custom dynamic skip in the first screen.

Custom_DS

Have a look at the DS criteria. It will check if value is not equal to “ABCD” in cell 2 of column P in current sheet, then it will Return 4 which is for stopping current SAP execution. Thus, if any column is added or deleted then it will Return 4 & stop the transaction.

DynamicSkipOnScreen

Let us insert 2 blank columns as shown below.

MAT-DS-On-Scrren-Custom-DS1 (4)

Click on Run button.

It will show the relevant message that “Call to SAP stopped due to Custom DS”

MAT-DS-On-Scrren-Custom-DS1 (5)

This is just a simplified example to clear the concept. In real implementation, we would have a hidden cell somewhere that we will be checking. Of course, Custom DS concept can be extended to many other scenario.

Hopefully this documentation provided basic information so you can implement your own business rules using powerful Dynamic Skip.

 

 

Next

Dynamic Skip in Data Extractor