‎2008 May 14 11:32 PM
Hi,
I am processing a lot of files and it take some time to do it. I want to display a message when a file is processing. And one message when the process of all files is finished.
LOOP AT LT_FILES.
CONCATENATE 'File processing: ' LT_FILES-NAME INTO LV_MSG
MESSAGE LV_MSG TYPE 'S'.
PERFORM F_PROCESS_FILE USING LT_FILES-NAME.
ENDLOOP.
MESSAGE 'The files are been processed' TYPE 'S'.But it doesn't show anything while the files are been processing, just at the end the last message appears. Someone knows how can I do this? Like parallel tasks or something like threads?
Regards,
Isaac Melendez
‎2008 May 14 11:40 PM
into the loop put this:
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
TEXT = 'File processing:'
EXCEPTIONS
OTHERS = 1.
after the endloop write the other message
‎2008 May 14 11:40 PM
into the loop put this:
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
TEXT = 'File processing:'
EXCEPTIONS
OTHERS = 1.
after the endloop write the other message
‎2008 May 14 11:45 PM
‎2008 May 14 11:44 PM
Hi,
Try using the FM
Increase the percentage for each loop
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
PERCENTAGE = 50
TEXT = text-025.
‎2008 May 14 11:52 PM
I already solve my problem. Thank you guys.
Regards,
Isaac Melendez