Solved

SP call to SAP

Posted on 2011-03-21
4
323 Views
Last Modified: 2012-08-13
Hi Experts

Anyone know how to call SAP from an SP in sql server 2008? And do i need the DB connection details of the SAP DB in order to do this?

Thanks
0
Comment
Question by:razza_b
  • 2
  • 2
4 Comments
 
LVL 9

Expert Comment

by:kaminda
ID: 35179299
Yes you need SAP DB credentials to do any sort of a call to that db. You can create a Link server to SAP DB and call any object in that db from your server.

About Linked Servers
http://msdn.microsoft.com/en-us/library/aa213778(v=sql.80).aspx
0
 
LVL 1

Author Comment

by:razza_b
ID: 35179559
Thanks Kaminda

Do you have any SP samples of doing this?
0
 
LVL 9

Accepted Solution

by:
kaminda earned 500 total points
ID: 35179596
After creating the linked server you can access any object in that server by

linkedservername.schemaname.objectname

i.e
SELECT * FROM SQLServer1.dbo.tblCustomer

You can access any functions or SP's in this manner
0
 
LVL 1

Author Closing Comment

by:razza_b
ID: 35179626
Ah yes i know what you mean, thanks.
0

Featured Post

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.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Some sers suddenly getting error popup msg 28 86
SSRS Subscription jobs disabled, yet still running 4 31
string fuctions 4 25
optimize stored procedure 6 23
In this article I will describe the Detach & Attach method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

785 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