‎2007 Jun 06 12:41 PM
Hi Experts,
I am executing report and it takes long time. I want to display the records on screen while executing report.
How to display ? What command i should give in ABAP ?
Yusuf
‎2007 Jun 06 1:01 PM
hi,
to the best of my knowledge
we cannot display the records while running
but you can see the records in debugging mode if you are using
any write statement in your code
when u r using alv it is not possible to see the records displaying while
running the program
reward points if helpful
regards,
venkatesh
‎2007 Jun 06 1:03 PM
this isnt possible. all you can do here is to debug, or doing a performance trace using ST05
‎2007 Jun 06 1:35 PM
Yusuf,
if you want to display the progress of the report you can use SAPGUI_PROGRESS_INDICATOR.
Tim
‎2007 Jun 06 1:42 PM
Hi Tim,
How to use this "SAPGUI_PROGRESS_INDICATOR" in report ?
Pl. give an example.
Yusuf
‎2007 Jun 06 1:44 PM
hi
good
Source Name is ZCONINC3
FORM STATUS-LINE-MSG USING TMP-TEXT.
Put a Message at BOTTOM OF SCREEN - to let person executing
Interactively Know WHAT RECORD IS BEING PROCESSED
DATA: MSG_LINE(100).
MOVE TMP-TEXT TO MSG_LINE.
CONDENSE MSG_LINE.
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
TEXT = MSG_LINE.
ENDFORM.
FORM STATUS-LINE-MESSAGE USING TMP-RECNO TMP-TOTAL-RECNO.
Put a Message at BOTTOM OF SCREEN - to let person executing
Interactively Know WHAT RECORD IS BEING PROCESSED
also Show TOTAL NUMBER OF RECORDS IN THE FILE - only know
that is we are Processing a PC File
DATA: MSG_LINE(100).
CLEAR MSG_LINE.
MOVE 'Processed Record' TO MSG_LINE.
WRITE TMP-RECNO TO MSG_LINE+20(20).
IF NOT TMP-TOTAL-RECNO IS INITIAL.
MOVE 'of' TO MSG_LINE+45(2).
WRITE TMP-TOTAL-RECNO TO MSG_LINE+60(20).
ENDIF.
CONDENSE MSG_LINE.
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
TEXT = MSG_LINE.
thanks
mrutyun^
‎2007 Jun 06 1:54 PM
Hi Mrutyunjaya,
This funtion can be used in loop or after loop statement ?
I have selected materials in ITAB and using itab i am executing BAPI FM and then display in ALV format. So, where i can put this statement ?
Yusuf