Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
praveen_sutra
Active Contributor
0 Kudos
10,739

I have gone though many blogs where i haven noticed ways to remove suppress  using UDF but couldn't find much on removing suppress or NULL as a Context change from the queue.

the above image shows the display queue of a scenario where we have SUPPRESS at context change and we cant use remove context as we cant afford to lose the context.

In this scenario the below code will help to remove the SUPPRESS at context change.

for (int i=0; i<input.length;i++)

   if (input[i].equalsIgnoreCase("")) {

      result.addValue("");

    }else if(input[i].equalsIgnoreCase(ResultList.CC)) {

         if(i>0)

            result.addValue(ResultList.CC);

}

Similarly we modify the code as per our requirement and get the required output using the same concept..

We can use similar logic to remove null from the context change.

1 Comment
Labels in this area