on 09-17-2007 6:50 AM
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,
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
Sap Abap Developer & Sap Abap Programmer
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.