SO_NEW_DOCUMENT_ATT_SEND_API1 (Used when there are binary attachments)
By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
SO_NEW_DOCUMENT_SEND_API1 (Used when no attachments)
Of course you need to know who the SAP user is -- either the user ID or the email address associated to the user record.
To call these RFCs, you will need to install the Lotus Connector for SAP, which you can get from IBM. I have never used the connector, because we implemented a solution using the older LSX4SAP which is no longer supported, but which we still run on a backlevel server. But the idea is the same. After referencing the LC in your code, you log into SAP, set up an object to hole the RFC parameters and make the call.
We did something similar using a remote function call that one of our SAP developers created. The RFC exposed objects and types needed to log into SAP, access a table, and call RFCs to read and delete mail.
I can show you the general idea from the LotusScript side, and someone on your SAP support team should be able to fill in the rest.
- First, we copied the DLL to our server and referenced it in LotusScript with a USELSX "*RFC". You will use USELSX "*lsxlc".
- Next, we declared LotusScript variables corresponding to the types exposed by the DLL (you will declare variables called LCsession, LCfunction, etc.):
- Public objServer As rfcServer
- Public RFCReadESS As RFCfunction
- Public ESSLog_t As RFCtable
- Public RFCDelUpdESS As RFCfunction
- Set objServer = New rfcServer
- objServer.Destination = strSAPSystem
- objServer.HostName= strSAPServer
- objServer.System = Val (strSAPSysno)
- objServer.Client = strSAPClient
- objServer.User = strSAPUser
- objServer.Language = strSAPLanguage
- objServer.Password = strSAPPassword
- SAPLogon = objServer.Logon()
Check out this site for more information on the lxlsx, which is now being refered to as the "IBM Lotus Connector for SAP Solutions".
Go here and search for "lclsx" for a couple of good articles with source code.
Dig Deeper on SAP CRM software
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.