I had installed Lotus Connector fo SAP & LEI on domino server 7.0.1I created the Connection document in LEI Administrator as follows:
Name: testsap
Hostname: 176.0.0.35
Destination: sapapp25
System Number: 01
Client: 300
User Name: Lotususer
Password: 123456 Password(s) NOT Encrypted
Language: EN
NUMC as Text No
DATS as Text No
TIMS as Text No
Select RFC, BAPI or Transaction: RFC
RFC or BAPI: YLotus_Notes
Table(s): *
Columns: EXPORTSEX_GUID (Binary)
IMPORTSIM_PRODUCT (Text)
The connection document is successfully created.
I wrote the following code:
Uselsx “*lsxlc”
On Error Goto errorhandler
Dim session As New NotesSession
Dim sapsession As New LCConnection(" testsap")
The last line(Dim sapsession As New LCConnection(" testsap")) is giving error in the LEI log database as follows:
The connection document does not exist.
Database= LEI Administrator
Document = testsap
Please let me know if I need to create any other document in LEI administrator to get the handle in Lotus script.
Agent would be run at server & all documents are created at server only.
Thanks