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

BAPI in background

Former Member
0 Likes
487

Hi all,

i have a report which uses a bapi to upload data .

data is taken from a file on the pc.

i have given the provision to provide the file path

on the selection screen

The report is running properly

only problem is when running in the background it says

" front end function not possible in batch input mode "

pls hlp

Regards,

tarang

3 REPLIES 3
Read only

Former Member
0 Likes
453

Hi

U've to transfer the file to a path of Application Server and use statament OPEN DATASET/READ DATASET/CLOSE DATASET to read the file.

U can't run your report in background if you need to read the file from the pc (Presentation Server).

Max

Read only

Former Member
0 Likes
453

You cannot upload/download a file to a PC in the background. You need to write the file to the SAP platform, them provide the ability to load this file from the SAP platform to the PC in the foreground.

Read only

Former Member
0 Likes
453

seletion screen and background ? sounds rather different.

you need an even to run the program. instead create another program and use submit by filling the selection screen elements. or you can default the values and remove the selection screen.

regards,

Sandeep Josyula

*Reward helpful answers