K2Connect Quick Install Guide

As some of you might know, K2 has earlier released K2Connect for SAP which functions as a codeless way of tying in SAP data into K2 blackpearl SmartObjects.  If you don't know what it is, just imagine creating a simple application like a SAP employee search page.  This could be done using InfoPath and K2Connect in under 10 minutes.  Isn't that cool?

 Anyway, if you are testing this out and not sure how to install/configure it (or lazy to read the full documentation).  I came out with this short and sharp guide on getting it working quickly.

  1. From your SAPGUI machine, copy librfc32.dll to C:\Windows\System32 (Make sure it is the right version.  Dll should be about 4984KB).
  2. Copy Visual C++ 7.1 CRT files (msvcp71.dll and msvcr71.dll) to C:\windows\System32
  3. Rgister the librfc32 dll by running from Command Prompt
    • regsvr32 c:\windows\system32\librfc32.dll
  4. Install ERPConnectSetup
  5. Install K2Connect Setup.  Select custom and all components.
  6. Go to Start -> All Programs -> K2 Connect for SAP -> K2 connect Administration.
  7. Log in and click on Licensing.  Add a valid license key. (Request a key from http://portal.k2workflow.com)
  8. Click on Configure Destinations.
  9. Right click on Connectors and select Connectors -> Add.
  10. Give the connector a name to the connector and click on the browse button for the Connector Path.  Select "SourceCode.ServiceObjectModel.ERP.Connect.dll"
  11. When prompted to import shared destinations, click no if this is a new setup.
  12. Right click on the new connector and select Systems -> Add.
  13. Give the System a name.
  14. Right click the new System and select Destinations -> Add.
  15. Give the Destination a name and enter the SAP connection string.  It should be in the format:
    • ASHOST=<Server IP> SYSNR=00 CLIENT=800 LANG=EN USER=<User ID> PASSWD=<PWD>
    • Make sure User ID and Password are upper case.
  16. Click OK and test the connection using "Predefined User Credentials"

If the connection test is ok, it means you are all set to go.  You can then use the K2Connect designer to design your K2Connect service object and then map to your SmartObject for usage.

Easy Peasy.


Posted Mon, Jan 19 2009 4:18 PM by johnny

Comments

srikanth.ch wrote re: K2Connect Quick Install Guide
on Thu, Jan 29 2009 4:08 AM

Its nice johnny,its useful for me.

Do u have good material and some applications regarding k2connect.

Thanks in advance...

srikanth

johnny wrote re: K2Connect Quick Install Guide
on Thu, Jan 29 2009 7:03 PM

Most of the material is currently in the product documentation at the moment.  K2 connect provides a backend connector to a complex system like SAP and the main interfacing is done via SmartObject in K2 blackpearl.

So if you have a good understanding of the SmartObject architecture, you should not have any issues understanding how we can easily use K2 blackpearl and K2 connect to quickly build external .NET/InfoPath applications to work with SAP BAPI calls without touching any data access code.  e.g. I could do a simple InfoPath form that provides a search page for employees stored in SAP in less than 10 minutes.  Isn't that cool?