cancel
Showing results for 
Search instead for 
Did you mean: 

bdoc related issue

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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

Former Member
0 Kudos

What exactly is the relation of the question to bdocs?