‎2007 Feb 08 8:45 AM
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.
‎2007 Feb 08 8:52 AM
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.
‎2007 Feb 08 8:57 AM
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