‎2009 Mar 12 10:22 AM
Hello Everybody
I need to display status of processing as gui process indicator.
I am able to diaply the status message, even the processing status for current step,
where ever current step is in loop using below code.
CALL FUNCTION 'PROGRESS_INDICATOR'
EXPORTING
i_text = 'Preparing Data For Conversion TO PDF'
i_processed = current_index
i_total = total_records
i_output_immediately = 'X'.
But my problem is, i need to download smartform output into PDF.
So im using Standard function module for conversion of OTF to PDF.
This function module is taking more time (2 -3 mins as data is huge, about 60 to 100 pages).
Before calling FM, i am using GUI PROCESS INDICATOR to show the status, but here i could not show the EXACT status of current step, like how much % of conversion is done and what % is left.
How can i get the estimated time for the execution of standard Function Module?
Thanks In Advance
Regards
Ravi
‎2009 Mar 12 11:11 AM
Hi Ravi Chandra,
Not exaclty but you can do like below...
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
PERCENTAGE = '20%'
text = 'converting OTF to PDF'.
CALL FUNCTION 'CONVERT_OTF_2_PDF'
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
PERCENTAGE = '100%'
text = 'Converted Successfully into PDF'.I think,it's not possible to give realistic % of time the whole process is taking, the percentage used is just a indicative one.
Hope it will solve your problem..
Thanks & Regards
ilesh 24x7
‎2009 Mar 12 10:25 AM
Hi,
For quick reply please post your questions in relevant category --> FORM PRINTING
Regards,
Tarun
‎2009 Mar 12 11:11 AM
Hi Tarun,
Thanks a lot for your suggestion.
But i guess u had been tru the question,
I felt this is somthing related to UI.
Even my question is regarding the same.
Thanks and Regards
Ravi
‎2009 Mar 12 11:17 AM
Hi,
UI delas with Classical Dynpro, Screen Painter, ALV grid, Table Controls, Web Dynpro for ABAP
Form Printing discusses SAPscript and Smartforms form generation, editing and printing and the corresponding print programs and application print programs invoking the generated forms.
I felt FORM PRINTING as the suitable category, thats why suggested you.
Regards,
Tarun
‎2009 Mar 12 11:11 AM
Hi Ravi Chandra,
Not exaclty but you can do like below...
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
PERCENTAGE = '20%'
text = 'converting OTF to PDF'.
CALL FUNCTION 'CONVERT_OTF_2_PDF'
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
PERCENTAGE = '100%'
text = 'Converted Successfully into PDF'.I think,it's not possible to give realistic % of time the whole process is taking, the percentage used is just a indicative one.
Hope it will solve your problem..
Thanks & Regards
ilesh 24x7
‎2009 Mar 12 11:14 AM
Hi Ilesh,
This is something similiar to what i am looking for.
I did somthing similar to what u had suggested.
Thanks
Ravi