Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,
I am pretty new to connecting SAP in C#, and i have got a new requirement where i need to implement a C# windows service that gets called from SAP RFC and SAP RFC passes parameters to it.

can someone please help with the code for that.

should it be a standalone windows service or do i need to connect to sap in the windows service or it will all be handled on the SAP side.
Please help!

What I have tried:

I tried googling how to listen to sap calls in C# windows service but didnt find any of the articles of much help because everywhere they are talking about calling RFC from C#, if i am not mistakes these 2 things are different from each other
Posted
Comments
Kevin Marois 23-Feb-16 13:19pm    
Have you seen this? http://stackoverflow.com/questions/1979016/how-to-call-method-from-running-windows-service
heymayank08 24-Feb-16 1:31am    
hi Kevin, sorry but this post doesnt have anything about what actions to perfomr in my service if i need to accept parameters from SAP in it.

what i actually need is that, do i need to call a sap RFC from my .net code when the sap is calling my .net service or the same would all be handled by the sap code; and my service would be a stand alone service

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900