cancel
Showing results for 
Search instead for 
Did you mean: 

colors in Progress Indicator

Former Member
0 Kudos

How to change colors in Progress Indicator in ALV?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

hi

good

go through this hope this would help you to solve your problem

Please check this sample code.

data: index type i.

do 4 times.

index = sy-index * 25.

call function 'SAPGUI_PROGRESS_INDICATOR'

exporting

percentage = index

text = 'Processing Data'.

wait up to 1 seconds.

enddo.

Also check this thread for another sample codes.

reward point if helpful.

thanks

mrutyun^

Former Member
0 Kudos

Hello Alok,

To change the colors of Progress Indicator in ALV, you need to call the <b>set_bar_color</b> method available in class CL_SALV_WD_UIE_PROGR_INDICATOR. Then you can pass the bar color value as 00, 01, 02 or 03 for neutral(blue), positive(green), critical(orange) or negative(red) respectively.

Regards,

Neha