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

Processing Status Display

Former Member
0 Likes
1,855

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,125

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

5 REPLIES 5
Read only

I355602
Product and Topic Expert
Product and Topic Expert
0 Likes
1,125

Hi,

For quick reply please post your questions in relevant category --> FORM PRINTING

Regards,

Tarun

Read only

Former Member
0 Likes
1,125

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

Read only

I355602
Product and Topic Expert
Product and Topic Expert
0 Likes
1,125

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

Read only

Former Member
0 Likes
1,126

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

Read only

0 Likes
1,125

Hi Ilesh,

This is something similiar to what i am looking for.

I did somthing similar to what u had suggested.

Thanks

Ravi