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 indicator

Former Member
0 Likes
1,065

hello all,

i want to implement in a report a progress indicator (or bar ) till a connection to a ftp server is done.

function SAPGUI_PROGRESS_INDICATOR is not useful because

the percentage must be explicitly set.

thank you

bogdan

6 REPLIES 6
Read only

Former Member
0 Likes
688

try this ( but not sure)

PROGRESS_INDICATOR

or

RH_DISPLAY_PROGRESS_INDICATOR

Read only

Former Member
0 Likes
688
Read only

Former Member
0 Likes
688

Other link

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap code samples/abap objects/abap code sample progress indicator.pdf

Read only

Former Member
0 Likes
688

U can pass the value for the percentage and try out.

CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'

EXPORTING

PERCENTAGE = 0

text = text-054.

Read only

0 Likes
688

perhaps i was misunderstand and maybe what i want to implement is impossible.

in the report is call function 'FTP_CONNECT', the progress

indicator must start before calling FM and be 100 after the

function is ready.

or an compromise to display something like when windows XP starts. any ideea?

sorry 4 my english

bogdan

Read only

0 Likes
688

then you need to do the following

CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'

EXPORTING

PERCENTAGE = '20%'

text = 'connection starting'.

call function FTP_CONNECT

CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'

EXPORTING

PERCENTAGE = '100%'

text = 'successfully connected'.

Please note that you cannot give a realistic % of time the whole process is taking, the percentage used is just a indicative one.

Hope this is clear

Regards

Raja