Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Progress Bar in Report

Former Member
0 Likes
464

Hi Gurus,

How to make progress Bar in Report.

Thanks and Regards

VS

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
416

Hi Vinayak,

FORM progress_bar USING p_value

p_tabix

p_nlines.

DATA: w_text(40),

w_percentage TYPE p,

w_percent_char(3).

w_percentage = ( p_tabix / p_nlines ) * 100.

w_percent_char = w_percentage.

SHIFT w_percent_char LEFT DELETING LEADING ' '.

CONCATENATE p_value w_percent_char '% Complete'(002) INTO w_text.

if w_percentage gt gd_percent or p_tabix eq 1.

CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'

EXPORTING

percentage = w_percentage

text = w_text.

gd_percent = w_percentage.

endif.

endform. " PROGRESS_BAR

Regards,

Krishna chaitanya kattu

2 REPLIES 2
Read only

Former Member
0 Likes
417

Hi Vinayak,

FORM progress_bar USING p_value

p_tabix

p_nlines.

DATA: w_text(40),

w_percentage TYPE p,

w_percent_char(3).

w_percentage = ( p_tabix / p_nlines ) * 100.

w_percent_char = w_percentage.

SHIFT w_percent_char LEFT DELETING LEADING ' '.

CONCATENATE p_value w_percent_char '% Complete'(002) INTO w_text.

if w_percentage gt gd_percent or p_tabix eq 1.

CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'

EXPORTING

percentage = w_percentage

text = w_text.

gd_percent = w_percentage.

endif.

endform. " PROGRESS_BAR

Regards,

Krishna chaitanya kattu

Read only

Former Member
0 Likes
416

chek these links

[]

[]

use FM SAPGUI_PROGRESS_INDICATOR.