Delimiter for BDC Program
I use (tab and ,) delimeter for bdc but I could not upload data from note pad to sap. As you mentioned that you have used ( tab & , ) this
is wrong you have to use TAB OR , (comma) .
Nitin
Can anybody tell me, if we are using excel sheet as a data provider for BDC Program, then how to define a delimiter so that my BDC programe should automatically split the field. You either save the excel sheet as Tab delimited file or .csv file. and declare your internal table to get the corresponding the contents from the file. Then when its tab delimited or .csv, SPLIT the contents into respective fields. Here is a sample for CSV file : *declaration of internal tables.
DATA : BEGIN OF IT_MAIN OCCURS 0,
*uploading the input file***********************************************
*appending it_main by splitting the uploaded file
Prathap C
Related ABAP Topics:
Get help for your ABAP problems
ABAP Books
More ABAP Tips
SAP Basis, ABAP Programming and Other IMG Stuff http://www.erpgreat.com All the site contents are Copyright © www.erpgreat.com
and the content authors. All rights reserved.
|