cancel
Showing results for 
Search instead for 
Did you mean: 

How can i use C# method to SAP IDoc

Former Member
0 Kudos

Dear Friends

i have to do one scenario in which i have to connect to database let us say SQL Server but i can't touch Database directly i can call a C# method(3rd party application is in .NET) and using XI i have to send it to SAP iDOC.

can any one help me in this how to proceed

Thanks in Advance.

Ishika

Accepted Solutions (0)

Answers (2)

Answers (2)

henrique_pinto
Active Contributor
0 Kudos

check SAP .NET Connector: http://service.sap.com/~form/sapnet?_SHORTKEY=00200797470000050068&;

With it, you're able to call RFCs from .NET (similar to JCo for Java).

Check also .NET forums:

Regards,

Henrique.

Former Member
0 Kudos

That is what i am using right now but we want to use XI to integerate.

henrique_pinto
Active Contributor
0 Kudos

Ishika,

that's exactly it.

You'll send an RFC call to XI in order to trigger your scenario.

Then XI will trigger the IDoc.

Or you could create a sender soap interface in XI and consume the web service in your .NET client application.

Regards,

Henrique.

prateek
Active Contributor
0 Kudos

Could u expose ur sender application as Web service. If yes, then u may use SOAP adapter at sender and of course Idoc receiver.

Regards,

Prateek

Former Member
0 Kudos

Do you have any document for that on how to do it with webservices.

and what if i cant make a web service of the sender application.

is there any other way also.

Thanks

Ishika

prateek
Active Contributor
0 Kudos

<i>Do you have any document for that on how to do it with webservices.</i>

/people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a2202...

See this

https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2131 [original link is broken] [original link is broken] [original link is broken] [original link is broken]

Regards,

Prateek

Former Member
0 Kudos

Thanks Prateek