cancel
Showing results for 
Search instead for 
Did you mean: 

condition

Former Member
0 Kudos

Hi to all experts,

What is the functionality of this function module?

CALL FUNCTION 'F4_FILENAME'

CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'

If any alv report(20 fields at output)

is successfully run forground but when

When we go to background then it show error

What is the possible cause for that.

Thanks in advance and reward also.

Regard: deep.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

CALL FUNCTION 'F4_FILENAME' > will give you a pop-up when you use it with event AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file. where p_file is parameter for file name type ibipparms-path.

CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' > displays the progress indicator in the current wondow.

In response to this the error is occuring since you have use an ALV grid to print 20 columns in the background processing mode.Hence in the background the ALV grid tries to create a screen for the ALV which is not possible in the background mode. {If any alv report(20 fields at output) is successfully run forground but when we go to background then it show error What is the possible cause for that.}

PS: If this answers your query please close the question and reward points.

Regards.

Former Member
0 Kudos

hi deep,

the fm 'F4_FILENAME' is used to search for the file name in Presentation server through browsing.

2. the fm 'SAPGUI_PROGRESS_INDICATOR'

is used to display the progressbar in the current window.

<b>reward points if useful</b>

Former Member
0 Kudos

Hi,

these are linked to your GUI so u cant execute in back ground mode.

CALL FUNCTION 'F4_FILENAME' -- f4 help for file names

CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' ---progress bar indication

if you dont want to execute the same while in back ground use like this

if sy-batch is initial.

call function ..

endif.