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

MS Access Database using ABAP Program

Former Member
0 Likes
1,644

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

6 REPLIES 6
Read only

Former Member
0 Likes
918

Hi,

Refer to this link [Upload data from MS Access tables, to SAP tables|]

Read only

Former Member
0 Likes
918

hi,

Use FM "ALSM_EXCEL_TO_INTERNAL_TABLE" to upload excel file into internal table .

thanq.

rajesh.k

Read only

awin_prabhu
Active Contributor
0 Likes
918

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)

Read only

Former Member
0 Likes
918

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

Read only

Former Member
0 Likes
918

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

Read only

Former Member
0 Likes
918

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