How to create an Interface with SQL Server 2005 Database with SAP ?

Posted on 2009-05-09
Last Modified: 2013-12-08
I want to create an interface of my SQL Database with SAP. We are having attendance software in our company. When the user punches or swipes his/her card the data is stored in SQL Database. Now we want to create an interface between SQL Database and SAP so that all the entries also gets updated in SAP Tables automatically.
Please help me out, how to do this thing.
Question by:ashokpumca
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
LVL 22

Expert Comment

ID: 24357706
I guess you are referring to SAP R/3. If I'm wrong then please tell us which SAP product(s) you are using.

A common way to integrate data and other systems with R/3 is via ABAP. Refer to the SAP documentation or consult an ABAP developer.
LVL 37

Expert Comment

ID: 24359134
when you say you want to get the data into sap, do you mean actually insert rows into sap's table, or do you want to use some sap api ?

Author Comment

ID: 24361047
I m referring to SAP R/3.  I want to pick the Data from the SQL Tables and Insert them into my SAP Tables.
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.


Author Comment

ID: 24361105
I want to do this through ABAP. How to Establish a connection from ABAP to SQL Database.
LVL 22

Expert Comment

ID: 24361498
I'm not an ABAP programmer but I expect you'll find some examples in the documentation.

Accepted Solution

ashokpumca earned 0 total points
ID: 24464239
FORM get_connection USING p_con_name TYPE dbcon_name
p_con_ref TYPE REF TO cl_sql_connection.
sqlerr_ref TYPE REF TO cx_sql_exception.
* create a connection object
IF p_con_name IS INITIAL.
* default connection
CREATE OBJECT p_con_ref.
* open a secondary connection
p_con_ref = cl_sql_connection=>get_connection( p_con_name ).
CATCH cx_sql_exception INTO sqlerr_ref.
PERFORM handle_sql_exception(adbc_demo) USING sqlerr_ref.

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SQL Backup skipping a few tables 7 62
Query 14 62
physical application forms to digital format 2 97
Help  needed 3 52
Note: You must have administrative privileges in order to configure lead or case queues. ( is a cloud-based customer relationship management (CRM) system. It is widely used around the world by sales and ma…
For cloud, the “train has left the station” and in the Microsoft ERP & CRM world, that means the next generation of enterprise software from Microsoft is here: Dynamics 365 is Microsoft’s new integrated business solution that unifies CRM and ERP fun…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below.…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question