Application Development 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: 

Function module for uploading file in background

Former Member
0 Kudos

hi friends

i am working on Inbound IDOC interface where in which i am creating a function module for that,

in which based on the idoc received , the interface has to choose the file from the shared folder and it has to move its contents to an internal table

can anybody suggest me what function module can i use.

we cant use GUI_upload,or cl_gui_frontend_services=>gui_upload

because this requires an user to interact in mines it is not the case

thanks in advance

with regards

s.janagar

3 REPLIES 3

Former Member
0 Kudos

u can't use the gui_upload for sure ...ther other alternative we read data from application server, keep ur files in app and in background read data from the app server.

0 Kudos

hi

our requirement is the file will be dropped on a shared folder

which will be shared by both SAP and non-SAP

and it is not application server

so please suggest me an another

0 Kudos

hi,

check this thread,you will get idea how to transfer data from file to internal table.

[https://forums.sdn.sap.com/click.jspa?searchID=17706879&messageID=6281020]