how do you work with semi colon separated files in bdc ?
Answer / ravi kanth @ reliance sap
There is FM GUI_UPLOAD which will help you in this.
Its has got one parameter calles has_field_separator . Here you can pass comma. So that this will take care while uploading the data in Internal table.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = wf_file
filetype = 'ASC'
has_field_separator = ','
* HEADER_LENGTH = 0
* READ_BY_LINE = 'X'
* DAT_MODE = ' '
* CODEPAGE = ' '
* IGNORE_CERR = ABAP_TRUE
* REPLACEMENT = '#'
* CHECK_BOM = ' '
* IMPORTING
* FILELENGTH =
* HEADER =
TABLES
data_tab = it_data
EXCEPTIONS
file_open_error = 1
file_read_error = 2
no_batch = 3
gui_refuse_filetransfer = 4
invalid_type = 5
no_authority = 6
unknown_error = 7
bad_data_format = 8
header_not_allowed = 9
separator_not_allowed = 10
header_too_long = 11
unknown_dp_error = 12
access_denied = 13
dp_out_of_memory = 14
disk_full = 15
dp_timeout = 16
OTHERS = 17
Hope this will help you.
Is This Answer Correct ? | 0 Yes | 0 No |
how you identify errors in call tr?
why cluster tables are not buffered
for example in client 710 i update the records for tcode me21 using bdc,in the same server if i update 5 records and in the mean while other user do the same bdc update for me21 for 3 records how do u resolve the remaining 2 records.
How to maintain lists?
What happens if a function module runs in an update task?
what is meant by enhancement category?
How many fields(max) can be there in a transparent table?
2 Answers iGate, Unilogic Software,
In selection screen I have three fields- Plant, Material No, and Material group.If i insert plant how do i get the material no and material group based on plant dynamically?
What are the difference between call screen and leave screen?
How do you get the Sales Order (S.O) No. from the Delivery Order?
Hello Guys, If any body looking for "worksoft certify tool training in hyderabad", please contact me sachincertify@gmail.com
If we will display the data by writing write statement on start of selection then what is the need of end-of- selection in classical report