SAP NetWeaver 7 trial and .NET connector 3.0 - available functions?
I am using the .NET Conn开发者_运维问答ector 3.0 to connect to some NetWeaver instance running on another machine. It all works nice, but the tutorial only connects to one function called STFC_CONNECTION. To do this, I am using this code:
function = destination.Repository.CreateFunction("STFC_CONNECTION");
Problem is, how do I know what other functions I can call? I there an overview of the available functions and return values? I have a login for the SAP site, so thats not a problem.
Thanks :)
If you want to know all function that can be called, you can check the table TFDIR with parameter FMODE ='R' (for Remote) using transaction se16. However, this will clearly be far too much info, since there is no explanation of what the functions do, or how they relat to each others.
another possibility is to use the BAPI transaction to get info on disponible operation by functionnal area.
Last, if you know some functions that interest you, you can search for function with the same prefix, or inportant part (ie INFTY for HR for exemple) using transaction se37. Please note that in this case, returned function can be inaccessible by RFC : you will have to check in the function's properties if the execution type is 'Remote'.
Regards Guillaume
You'll need access to the SAP system using the SAP GUI, otherwise you won't be able to read the documentation. Use the transaction SE80 / Repository Explorer to search for function modules. Clicking on the + button will extend the selection screen. In the additional selection options, make sure to select only RFC-enabled function modules.
EDIT: Also check out this question...
I figured it out ... just type SE37 as transaction and use a filter in the search box like STFC_* and it will find all the functions including the parameters and return values.
The description at Consuming SAP XI Web Service with Microsoft Visual C# 2008 Express Edition provides a sample worked example for Visual Studio 2008.
SAP support either the RFC stack (SOAP, WSDL, UDDI) or the direct .NET Connector.
There is also the bapi explorer transaction "BAPI" who will show you the BAPI functions divided into functional areas.
精彩评论