‎2005 Jul 29 12:04 PM
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
‎2005 Jul 29 12:17 PM
try this ( but not sure)
PROGRESS_INDICATOR
or
RH_DISPLAY_PROGRESS_INDICATOR
‎2005 Jul 29 12:32 PM
‎2005 Jul 29 12:37 PM
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
‎2005 Jul 29 12:42 PM
U can pass the value for the percentage and try out.
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
PERCENTAGE = 0
text = text-054.
‎2005 Jul 29 12:56 PM
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
‎2005 Jul 31 6:13 AM
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