Wednesday 26 April 2023

How to add different Colors in SAP VIM Workplace?

Introduction


SAP VIM Workplace is a Transaction code similar to SAP Inbox but it has a lot of more features than SAP Inbox or My Inbox Fiori App. Sometimes the AP Team or other role wishes to see Items with different Colors. This Blog will cover the steps.

Solution


Go to Transaction Code /OPT/VIM_WP

SAP ABAP Career, SAP ABAP Skills, SAP ABAP Jobs, SAP ABAP Prep, SAP ABAP Preparation, SAP ABAP Work

Now we want to highlight certain Lines

SAP ABAP Career, SAP ABAP Skills, SAP ABAP Jobs, SAP ABAP Prep, SAP ABAP Preparation, SAP ABAP Work

First Create a Class with following Superclass

SAP ABAP Career, SAP ABAP Skills, SAP ABAP Jobs, SAP ABAP Prep, SAP ABAP Preparation, SAP ABAP Work

Add the following Class created later for alv

SAP ABAP Career, SAP ABAP Skills, SAP ABAP Jobs, SAP ABAP Prep, SAP ABAP Preparation, SAP ABAP Work

Create another Class with following Superclass

SAP ABAP Career, SAP ABAP Skills, SAP ABAP Jobs, SAP ABAP Prep, SAP ABAP Preparation, SAP ABAP Work

Below is the Code we have added to make it Red Color

SAP ABAP Career, SAP ABAP Skills, SAP ABAP Jobs, SAP ABAP Prep, SAP ABAP Preparation, SAP ABAP Work

Go to VIM SPRO TCODE /OPT/SPRO

SAP ABAP Career, SAP ABAP Skills, SAP ABAP Jobs, SAP ABAP Prep, SAP ABAP Preparation, SAP ABAP Work

Select the Profile and click below

SAP ABAP Career, SAP ABAP Skills, SAP ABAP Jobs, SAP ABAP Prep, SAP ABAP Preparation, SAP ABAP Work

Change the Highlighted Clas

SAP ABAP Career, SAP ABAP Skills, SAP ABAP Jobs, SAP ABAP Prep, SAP ABAP Preparation, SAP ABAP Work

Add Custom Class we created

SAP ABAP Career, SAP ABAP Skills, SAP ABAP Jobs, SAP ABAP Prep, SAP ABAP Preparation, SAP ABAP Work

Now its time to test. Wala the lines is highlighted as Red

SAP ABAP Career, SAP ABAP Skills, SAP ABAP Jobs, SAP ABAP Prep, SAP ABAP Preparation, SAP ABAP Work

No comments:

Post a Comment