‎2009 Jan 21 7:13 AM
Hi,
I have Requirement to Access Data from MS Access Database using ABAP Program, Please Help me if anyone is having any code or procedure .
Thanks in Advance.
Chittya Bej
‎2009 Jan 21 7:44 AM
‎2009 Jan 21 10:00 AM
hi,
Use FM "ALSM_EXCEL_TO_INTERNAL_TABLE" to upload excel file into internal table .
thanq.
rajesh.k
‎2009 Feb 04 9:03 AM
Hi friend,
Just use GUI_UPLOAD function for uploading data from MS-Access to internal table.
ex:
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = 'C:\Testing.mdb'
filetype = 'ASC'
has_field_separator = 'X'
TABLES
data_tab = g_t_mara.
OR
Use T-code CG3Z uploading data to application server.
Note: Always give file extension as .mdb (microsoft Access)
‎2009 Feb 04 9:20 AM
Hi ,
You can use open SQL statement to fetch records from MS Access Database from your program because open SQL is database independent , i.e -
DATA : itab like table of ms_access_tab_name.
SELECT * FROM ms_access_tab_name into table itab.
Regards
Pinaki Mukherjee
‎2009 Feb 04 9:23 AM
Hi Chittya Bej ,
There is one ABAP program called 'RIACCESS' which can get the data from MS ACCESS into your table .Just check out this program in your ABAP editor.It will helpful to you.
Thanks
Kiran
‎2009 Feb 04 10:54 AM
hi chittya,
U can directly upload the database file with the function module GUI_UPLOAD into an internal table
and then work with the records of the internal table.
Thanks
Ravi Aswani