Skip to Content

How to connect to SAP from C program?

Hi,

I have to connect to SAP from C program. I want to know what are the files we need to connect SAP from C program.

I searched in SDN, but i didnt find any information for my requirement.

Plz any documents or examples available on this.

Regards,

Shree.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Posted on Jul 17, 2009 at 12:09 PM

    What you want to make connecting SAP using C ? (I can't imagine any usefull scenario It's very low- level ). To connect using .net or java there are .net connector and java connector which maybe usefull.

    Edited by: Gungor Ozcelebi on Jul 17, 2009 2:10 PM

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 17, 2009 at 12:18 PM

    Hi Shankar ,

    I guess u will be using the exe file and want to run that exe file through your ABAP code.

    In this case you can create the RFC destination in SM59 .

    If this is your case and you want more let me know.

    Regards,

    Anuj

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 17, 2009 at 12:22 PM

    If your aim is to run an .exe on frontend machine you can also use CL_GUI_FRONTEND_SERVICES execute method.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 17, 2009 at 02:11 PM
    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.