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

How to Display Records on screen while executing program.....

Former Member
0 Likes
1,062

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

6 REPLIES 6
Read only

Former Member
0 Likes
906

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

Read only

Former Member
0 Likes
906

this isnt possible. all you can do here is to debug, or doing a performance trace using ST05

Read only

Former Member
0 Likes
906

Yusuf,

if you want to display the progress of the report you can use SAPGUI_PROGRESS_INDICATOR.

Tim

Read only

0 Likes
906

Hi Tim,

How to use this "SAPGUI_PROGRESS_INDICATOR" in report ?

Pl. give an example.

Yusuf

Read only

0 Likes
906

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^

Read only

0 Likes
906

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