cancel
Showing results for 
Search instead for 
Did you mean: 

flat file

Former Member
0 Kudos

how to handle the flat file in bdc? how to upload the flat file data into inernal table? what to do before using the ws_upload FM?

thank you,

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

First do the BDC recording for a transaction.Then create the internal table into se38 based on the transaction. You have to create the flat file based on the recording. Then use the function module (WS_UPLOAD) for uploading the data from flat flie to internal table. In the function module you have to mention the path for the flat file.

Regards

Srinu

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

First we doing recording by using shdb t code. then we take flatfile fields only recording fields only after that we create itab on the bace of flate file data only.

after we uplode date by useing GUI_uplode.

Former Member
0 Kudos

Hello,

Yes, use GUI_UPLOAD rather than WS as it will be supported for longer.

Batch recording can be problematic, I do them manually (F1 & F9 on fields) as you have total control and understand exactly what's going on.

Ash Thomas

http://www.ashthomas.com

Sap Abap Developer & Sap Abap Programmer

Former Member
0 Kudos

Hi,

Please create the flat file first. During creation of this file, you need to consider the format and the type of the file.Then create the ABAP program and declare the internal table accrodingly to accomodate the flat file data. Then use the function module to upload the flat file data into your internal table. Then use Call transaction method or Session method to upload the data.

Hope this helps.

Please reward if useful.

Thanks,

Srinivasa