Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Write to a DBF file.

Former Member
0 Likes
571

Hi all !

In this time, I need working with the file format DBF ( Read and write ).

with request read content of DBF file I have some solution.

with request write to DBF file, I using function module 'GUI_DOWLOAD' but it overwrite to file. If DBF file is exist, i want open it and then implement append, modify, delete record.

So if you have any ideas of this request, plz tell me. tks a lot !

Hi all !

In this time, I need working with the file format DBF ( Read and write ).

with request read content of DBF file I have some solution.

with request write to DBF file, I using function module 'GUI_DOWLOAD' but it overwrite to file. If DBF file is exist, i want open it and then implement append, modify, delete record.

So if you have any ideas of this request, plz tell me. tks a lot !

2 REPLIES 2
Read only

Former Member
0 Likes
509

Hello,

If you have to append data in a already existing file, you will have to set the parameter APPEND = 'X' in GUI_DOWNLOAD

Vikranth

Read only

0 Likes
509

Thanks Vikranth.Reddy !

I viewed FM "GUI_DOWNLOAD". in FM "GUI_DOAWLOAD" have parameter APPEND, this parameter use for some format file but don't use with format DBF.

U can see code of this FM in line 202 to line 216. the parameter APPEND_MODE don't have in list parameter of subroutine gui_dbf_download.

When Export to formate DBF use "GUI_DOAWLOAD" with parameter APPEND = 'A', data in file is overwrite.