on 05-20-2006 4:41 PM
hi sap gurus,
i had faced a real time question in interview, for which i want answer for that question.kindly plz reply to me.
In BDC'S we can upload the data from flatfile to R/3 systems,using WS_UPLOAD.
iam having 4 flatfiles and 4 internal tables.i have to upload the 4 flatfiles data into 4 internal tables using 1 WS_UPLOAD.how can it be possible.if it is possible, how.
plz send the answer in detail.
Thanks in advance
Regards
vinaykumar
Hi Vinay,
First of all, WS_UPLOAD is obsolete as of current SAP releases. Please try to use Function Module GUI_UPLOAD or use Method GUI_UPLOAD in Class CL_GUI_FRONTEND_SERVICES.
I think we can consolidate all the 4 flat files into one by having some separator line at the end of each flat file. Based on this separator you can write a logic after FM call to build 4 internal tables. One important point is to first declare a common internal table to be passed to WS_UPLOAD which can hold data related to 4 internal tables and later split logic can be written.
Thanks.
Ajay Kiran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What exactly is the relation of the question to bdocs?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.