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

BDC background processing

Former Member
0 Likes
302

Hi all,

I've written a batch input data transfer program, into the internal table of which i upload some data from the presentation server using the GUI_UPLOAD function module . I am trying both session method and call transaction. I am being successful in uploading the data into the SAP system i,e into the database tables when i follow foreground processing for session method and 'MODE A' in call transaction. The problem arises when i try to use the background processing option , the data is not getting uploaded into the SAP system. When i use the foreground option the same data gets uploaded without problem.

For the case of call transaction i tried looking into the message internal table during successful uploads, it'll have success message type and for the PROBLEM case of mine the internal table will be empty.

2 REPLIES 2
Read only

Former Member
0 Likes
280

data can't be upload from presentation server using GUI_UPLOAD in background.

If u want to upload the data in background, the file should be in application server and use OPEN DATASET to read the file into internal table.

Read only

Bema
Active Participant
0 Likes
280

hi,

Yes. You can't run it in background if you are using GUI_UPLOAD.

If the data is in application server, you can read it using OPEN DATASET.. and upload it to internal table in background.

regards,

Beena