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

Call Method Inside DLL from ABAP

Former Member
0 Likes
725

Hi Experts,

I have one DLL written in .net which contains two class test & test2 .net code is as below

Public Class Class1

    ' Methods

    Public Sub test()

    End Sub

    Public Sub test2()

        New Form1().ShowDialog

    End Sub

End Class

now suppose i want to call Method test2 of this DLL file l from my abap report.

my DLL file name is ClassLibrary1.dll

how can i achieve these.

please guide me.

Thanks in Advance.

Hi Experts,

I have one DLL written in .net which contains two class test & test2 .net code is as below

Public Class Class1

    ' Methods

    Public Sub test()

    End Sub

    Public Sub test2()

        New Form1().ShowDialog

    End Sub

End Class

now suppose i want to call Method test2 of this DLL file l from my abap report.

my DLL file name is ClassLibrary1.dll

how can i achieve these.

please guide me.

Thanks in Advance.

2 REPLIES 2
Read only

alex_campbell
Contributor
0 Likes
539

I don't believe you can call the DLL directly. Google "SAP .NET Connector" as one possible solution. This will allow you to execute your method on another system and recieve the results back via an RFC.

Read only

Former Member
0 Likes
539

Hi Paresh,

Please, check the link

Regards

Marcelo Macedo