Accessing Lotus Notes from SAP

I'm trying to access data of Lotus Notes databases from an ABAP using OLE.
If the Lotus Notes Class returns a "common" variable (string, number or another object), there is no problem, but when it returns an "stringArray" or a "valueArray" variable I cannot get the value.
For example, it happens when trying to get the value of a field from a document:
CALL METHOD OF w_document 'GetItemValue' = w_value
  EXPORTING #1 = 'FieldName'.
this method returns a "valueArray" value and defining the w_value as string or character in ABAP is does not crash but the content of w_value after having executed this method is always blank.
Any idea on how to solve it?

check out this ypu will find relevant materials for this query..
*reward points if useful..

Similar Messages

  • Out of office message when sending mail to Lotus Notes from SAP

    Is it possible to have an 'out of office' message when sending mail to Lotus Notes from SAP?
    I'm sending account statements by mail via a modified version of function FI_OPT_ARCHIVE_CORRESPONDENCE. The SAP username is send as a parameter, and later converted to the e-mail saved in the user profile. This works, - but I would like to have an out of office reply if the user I send to is out of office.
    Hope someone can help...

    As Thomas pointed out, you can use regular SMTP mail to send the contents to Lotus Notes. You can use the function module SO_OBJECT_SEND or any of the SAP Office function modules to do this.
    Only thing to remember is that the SMTP may have been disabled by your basis team due to security risks involved. An alternative could be a lotus notes connector available from IBM.

  • Accessing Lotus Notes from Crystal Reports in AIX

    Hi BO world
    We've installed the BO Enterprise Server  on an AIX 5.3 platform and we want to connect this BO server to a Lotus Domino Server (version 8 on a Windows Server Platform ) to show the data on Crystal Reports. The problem is that we can't find any information about how to make this connection to use the Crystal Report INSIDE the InfoView (of course we can export the RPT file and use it with the Crystal Report Viewer but the idea is run the report inside the InfoView).
      In our PC's we have installed the Lotus Notes Client and the corresponding ODBC client (Lotus Notes SQL) and the crystal reports work correctly (accessing to the LNotes Server) BUT, when we start looking for any ODBC for AIX to connect to the Lotus Notes and we can't find any tool to do this.
    Could you give any idea o "something" to solve this problem? Let's say
       - Which is the version of ODBC/JDBC driver we have to install in the AIX server to access the L.Notes on the Windows Platform?
       - Should we install the Crystal Report Server in another server (let's say a Windows Server with the corresponding ODBC)
       - Others?
    Any help will be great  !
    Kindly Regards, gdmon.

    Moved this to the BOE forum.
    If AIX and Lotus do not have an ODBC driver then I suspect your only option would be to have a Windows BOE install to process those reports so you can use the Windows ODBC driver.
    This is a requirement for Crystal reports to connect. If Lotus doesn't support AIX connectivity then we can't either.
    Possibly the BOE forum has some configuration options for you...
    Thank you

  • Trouble accessing Lotus Notes DB Via ODBC NotesSQL 8 driver.

    I am using Crystal Reports version XI and am trying to access lotus notes database via an ODBC connection. My reports have been running sucessfully but we recently upgraded to Lotus Notes 8.  I was receiving error messages stating that the ODBC driver was not compatible so I upgraded to Lotus Notes 8 SQL driver.  Now I am receiving the following errors.
    Crystal Reports
    Database Connector Error: 'IM005:[Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on SQL_HANDLE_DBC failed'
    Crystal Reports
    Logon failed.
    Details: 01000:[Microsoft][ODBC Driver Manager] The driver doesn't support the version of ODBC behavior that the application requested (see SQLSetEnvAttr).
    I am now using NotesSQL 8 and Lotus Notes 8, is there something that I need for crystal to recognize them.
    Any help would be appreciated.
    Thanks, Stacy

    Hi Stacy,
    I would appear Lotus changed the way their ODBC driver works from version 6. According to our [platforms |] for CR XI we only support Lotus Notes 6.
    We can't fix this now but you may want to ask Lotus if they know of any work arounds or updates to make it backward compatable.
    You may want to try donwloading CR XI R2 SP4 and use your XI keycode to see if that works.
    Thank you

  • Lotus Notes and SAP Business Workflow

    Hi Experts!
    If you have an experience or if you have SPECIFIC notes on Lotus Notes/SAP Workflow integration, please share some views on these following questions:
    1. The SAP version we are using is ECC6.  The client wants to upgrade their Lotus Notes client to V7.0.1 which caters Workflow integration. <b>Do we need to have the Lotus Connector for this</b>? (Workitem should be processed using the Lotus Notes client and there is a link where the apporover can process the workitem.)
    2. What are the essential technical specifications for this this integration?
        a. Domino Server Platform
        b. Client Platform
        c. Domino Release
        d. Lotus Notes Client version
        e. Product/connector for the link.
    3. What should I use for configuring the notification scenario?
        a. Extended Notifications
        b. RSWUWFML2
        c. SWN_SELSEN
    Please provide answers on these.
    Thank you very much.  I'm generous in giving points.

    Hi Akshay!
    Am I right to affirm that according to what you've said, <b>there is no Lotus Notes Connector needed</b>  for Lotus Notes and SAP Workflow integration?
    I actually haven't tested yet the Extended Notification, but from your reply, I think you are confident enough to tell me that it is possible to have a link in the Lotus Notes mail and then this link could bring you to the Document and process it using,of course, the Extended Notification.
    I'm very thankful. Have a nice day. And also, please share some notes on how too use the Extended Notification. (--,)
    Best Regards,

  • Accessing lotus notes database

    I am new to Lotus notes..can anyone help me out in accessing lotus notes database from a java application..also can anyone tell me which is the best driver for the would be very helpful if someone can give me the link where i can find such drivers.

    I am new to Lotus notes..can anyone help me out in
    accessing lotus notes database from a java
    application..also can anyone tell me which is the
    best driver for the would be very helpful if
    someone can give me the link where i can find such
    h drivers.this message is for abd_deb
    i m also having the same problem as stated above
    so if u hve a solution for that problem plz mail me at
    [email protected]
    thank you

  • Access lotus notes and retrive emails

    After lots of searching, I haven't been able to find an answer to this question. I'm try to retrive emails from lotus note and filter the mails by date. any help or suggestions will be great. thank you

    You should be able to access Lotus Notes using IMAP, have you got that working?
    What exactly do you mean "filter by date"? You only want to retrieve messages
    before/after a certain date? Use

  • Pushing BO inbox item to Lotus Notes and SAP Inbox.

    Hi ,
       Can we  Push BO inbox item to Lotus Notes and SAP Inbox. if we do it then how to do it.
      Thanks in Advance.

    well you should ask your Lotus Notes administrator to setup an SMTP gateway on the LotusNotes side for you. I know that this is possible but I have not done it myself before. And since this is an SAP BusinessObjects forum I am not sure you will get an answer about this here.
    PS: I found the following link in the internet
    Not sure if this applies to your version though.

  • Accessing Lotus Notes data from SAP

    We need to fetch some user data such as their email address from a Lotus Notes database using the user's phone extension as a key. This could be from a BOR method used in a workflow or from an FM.
    Is this possible, feasible, advisable? If so, what does it take?
    Any help or ideas from experts on this forum will be greatly appreciated.
    Thanks ... Jameel

    Hi Murthy,
    Given link below has a ADOBE DOCUMENT that has the detailed information on how to use i-views for accessing outlook calendar from within SAP :
    <b>Kindly reward points if you found the reply helpful.<b>

  • Error during data transfer from Lotus Notes to SAP via JCO - Urgent Help Required

    Dear SAP Expert:
    I need your help! Recently getting error during data transfer to SAP. I need your suggestion!
    I am transferring Lotus Notes data to SAP via JCO, recently getting the below error msg, could you pls tell me what could be the reason?
    Please suggest me how to fix that kind of issue.
    "$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: Error in ABAP/4 statement when processing an internal table. table.
    at$Client.nativeExecute(Native Method)
    at SAPAdapter.execute(Unknown Source)
    at JavaAgent.fillBapiAndWriteBackToNotes(Unknown Source)
    at JavaAgent.NotesMain(Unknown Source)
    at lotus.domino.AgentBase.runNotes(Unknown Source)
    Thanks in advance! Your help would be highly appreciated! Thanks again!

    error is clear, check your abap code.

  • Intergate Lotus Notes with SAP

    Dear All,
    I had do mail configuration in SAP and its working.
    But i want to import all my Lotus Notes contact in SAP. is it possible? How?
    OR can I Intergate Lotus  mailing system with SAP?

    The approaches that are currently available to integrate SAP R/3 and Lotus Notes are:
    Lotus Connectors:
    Lotus Connectors are system files that are developed using common object model interface, known as Lotus Connector API. They provide optimized access to the enterprise data from Domino. These connectors are installed on the Web Application Server platform of SAP and are used to connect to and to transfer data from the enterprise servers and other enterprise platforms. This Lotus Connector, when used with enterprise integration tools, facilitates to integrate SAP application logic with Domino applications. The Connector was developed using SAP's Remote Function Call Software Development Kit (RFCSDK) and enables execution of any SAP Remote Function Call (RFC) that is remotely callable, all BAPIs and Transactions using Batch Data Input. Using the Lotus Connector for SAP technology ensures that data transfers and queries are processed through the SAP application layer, preserving the business logic and data validations contained in SAP Remote Function Call and transaction interfaces, which comprised of SAP processes. Therefore, reading and writing SAP data is always performed through the application layer and not by directly accessing back-end database tables and by using Lotus Connectors all the business rules provided by RFCu2019s and SAP Transactions are maintained.
    Domino Mail Transfer Agent for R/3:
    A server-based add-ins, Domino MTA is used in bi-directional message transfer amid SAP R/3 and Notes, which leads to the transformation of Dominou2019s inbox into a universal inbox for both Domino and SAP. This tool is used to send messages to and from SAP R/3 to notes. It enables the users to send or receive mails, faxes and also disseminate the data from R/3 system to the notes mailbox. Hence, the users are required to check a common interface for reading the messages from both SAP R/3 and Lotus Notes. The Mail transfer Agent along with providing full attachment support provides users with the rich text support, facilitating R/3 mail users using any other application like Microsoft word as their e-mail editors. In addition, R/3 MTA provides all the transactional support that is required by the users. The users to make sure that the data being transferred from R/3 is properly routed to Domino can also use this support. MTA even enables the users to keep a track of all the messages that are sent or received from R/3 by tracking them in a Notes log file. As mentioned above, the Domino MTA uses add-ins. These add-ins are object client to send mail from Domino to R/3 and object server to receive mail from R/3.
    Lotus Enterprise Integrators (LEI):
    This tool is used to transfer the data both ways between SAP R/3 and Domino applications. LEI are the quickest way to ensure transfer of data and that too without following the tedious task of writing long lines of codes. Also, it facilitates this transfer by taking one end as a source and the other as a target. In this, the data transfer of each type utilizes a different connector such as Oracle connector and Notes connector. These connectors are used in both LEI and Domino Enterprise Connectivity Services (DECS) to ensure bi-directional access of notes and web applications of R/3 data from a Domino server.
    Hope this helps you.

  • Adobe/MS Access/Lotus Notes Integration

    Not sure if I'm in the right place, please feel free to let me know if not.  Have searched in Access and Lotus Notes forums but no answers yet. I am using MS Access to automatically send email from Lotus Notes and attach a PDF file that is located on the server.  Next step is I would like to be able to create a PDF portfolio out of that sent email and save/name it according to key data in the record.  Am also using batch file to create the network folder but am hoping to be able to merge all these processes into one so that when the email is sent, the folder will be created and the PDF portfolio created from the sent email.  So far, have not been able to find any answers, am hoping at a minimum someone might be able to point me in the right direction.
    Am using this method to batch create folders based on new records in the Access database:
    Here is the code I'm using to create the email - anyone know of any way to take that email that just got sent in Lotus Notes and create a PDF Binder/Portfolio?  Thank you so much!
    Private Sub cmdSendEmail_Click()
    MsgBox "Prequal Request Complete!"
    End Sub
    Sub SendPrequal()
    Dim oEmail As clsEmailMessage
    Dim strSubject As String, strAttach As String, strAttachIns As String, strBody As String, strSave As String, strMsg As String, Saveit As Boolean
    Dim rtItem As Object
    Dim rtStyle As Object
    Dim sFormattedText As String
    If Me.MsgFreeFlow.Value = "" Then
    strFF = Me.MsgFreeFlow.Value & vbCrLf & vbCrLf
    End If
    sFormattedText = strFF
    strSubject = "Information Request for " & StripString([RQContractor])
    strAttach = "d:\MyDocs\Forms\pdf\FormName.pdf"
    strMsg = "Message Here" & vbNullString & vbCrLf & vbCrLf
    strBody = strMsg
    If Me.PF.Value = 0 Then
    strAttachIns = "d:\MyDocs\MyAttach_a.pdf"
    strAttachIns = ":\MyDocs\MyAttach_b.pdf"
    End If
    Set oEmail = New clsEmailMessage
    oEmail.AddRecipient Me.ContractorEmail, recipTo
    oEmail.AddAttachment strAttach
    Select Case Me.frmINS
    Case -1
    oEmail.AddAttachment strAttachIns
    Case 0
    End Select
    oEmail.SendEmail strSubject, strMsg, False
    'doc.ReturnReceipt = "1"
    'save draft
    'Saveit = True
    Set oEmail = Nothing
    End Sub
    clsEmailMessage Module:
    '**************************CLASS CODE **************
    Option Compare Database
    Option Explicit
    'creates and sends email using lotus notes.
    'does not require notes to be running (it will start a session if needed).
    'does not require references in the project
    'uses OLE not com, so objects are declared as simple objects
    'the declares below are for using COM, but this may require some
    'additional configuration to work.
    'Dim mobjNotesDB As NotesDatabase
    'Dim mobjNotesMessage As NotesDocument
    'Dim mobjNotesRTItem As NotesRichTextItem
    'Dim mobjNotesSession As notessession
    Dim mobjNotesSession As Object 'lotus notes session
    Dim mobjNotesMessage As Object 'a notesdocument object (the email message)
    Dim mobjNotesDB As Object 'a notes db object
    Dim mobjNotesRTItem As Object 'a notes tich text object
    'notes constant for attaching file
    Const EMBED_ATTACHMENT = 1454
    Public Enum RecipTypes
    recipTo = 1
    recipCc = 2
    End Enum
    Private Sub Class_Initialize()
    Set mobjNotesSession = CreateObject("Notes.Notessession")
    Set mobjNotesDB = mobjNotesSession.GetDatabase("", "")
    Call mobjNotesDB.OPENMAIL
    ' make new mail message
    Set mobjNotesMessage = mobjNotesDB.CreateDocument
    'create the body
    Set mobjNotesRTItem = mobjNotesMessage.CreateRichTextItem("Body")
    End Sub
    Private Sub Class_Terminate()
    Set mobjNotesSession = Nothing
    Set mobjNotesMessage = Nothing
    Set mobjNotesDB = Nothing
    Set mobjNotesRTItem = Nothing
    End Sub
    Public Sub AddRecipient(strName As String, intType As RecipTypes)
    Dim intNextSemiColon As Integer
    Dim intLastSemiColon As Integer
    Dim strOneAddress As String
    Dim j As Integer
    Dim blnLastAddress As Boolean
    'If the passed contact has a semi-colon, split into multipe contacts
    If InStr(1, strName, ";") > 0 Then
    intLastSemiColon = 1
    intNextSemiColon = 0
    blnLastAddress = False
    For j = 1 To Len(strName)
    intNextSemiColon = InStr(intLastSemiColon, strName, ";")
    If intNextSemiColon = 0 Then
    blnLastAddress = True
    strOneAddress = Mid(strName, intLastSemiColon, Len(strName))
    strOneAddress = Mid(strName, intLastSemiColon, intNextSemiColon - 1)
    intLastSemiColon = intNextSemiColon + 1
    End If
    If intType = recipTo Then
    If mobjNotesMessage.HasItem("SendTo") Then
    Call mobjNotesMessage.AppendItemValue("Sendto", strOneAddress)
    Call mobjNotesMessage.ReplaceItemValue("Sendto", strOneAddress)
    End If
    ElseIf intType = recipCc Then
    If mobjNotesMessage.HasItem("Copyto") Then
    Call mobjNotesMessage.AppendItemValue("Copyto", strOneAddress)
    Call mobjNotesMessage.ReplaceItemValue("Copyto", strOneAddress)
    End If
    End If
    If blnLastAddress = True Then Exit For
    Next j
    'Otherwise, just add one name
    If intType = recipTo Then
    If mobjNotesMessage.HasItem("SendTo") Then
    Call mobjNotesMessage.AppendItemValue("Sendto", strName)
    Call mobjNotesMessage.ReplaceItemValue("Sendto", strName)
    End If
    ElseIf intType = recipCc Then
    If mobjNotesMessage.HasItem("Copyto") Then
    Call mobjNotesMessage.AppendItemValue("Copyto", strName)
    Call mobjNotesMessage.ReplaceItemValue("Copyto", strName)
    End If
    End If
    End If
    End Sub
    Public Sub AddAttachment(strFilePath As String, Optional vName As Variant)
    Dim strName As String
    If IsNull(vName) Or IsMissing(vName) Then
    strName = strFilePath
    strName = vName & ""
    End If
    mobjNotesRTItem.EMBEDOBJECT EMBED_ATTACHMENT, "", strFilePath, strName
    End Sub
    Public Sub SendEmail(strSubject As String, strText As String, blnPreview As Boolean)
    Call mobjNotesMessage.ReplaceItemValue("Subject", strSubject)
    Call mobjNotesRTItem.AddNewLine(2)
    Call mobjNotesRTItem.AppendText(strText)
    mobjNotesMessage.SAVEMESSAGEONSEND = True
    If blnPreview = False Then
    Call mobjNotesMessage.Send(False)
    Call mobjNotesMessage.Save(True, False)
    End If
    End Sub
    '***************END CLASS CODE ***************************

    Found this link,, that states:
    Acrobat 9 and later supports creation of a PDF Portfolio (the newer form of packages) via JavaScript, which can be called from VBA using the JSObject bridge.
    Have been looking along those lines, but not sure what I'm looking for, if there is a way to create the PDF portfolio using code, I would greatly appreciate any information, thank you.

  • Integration between "SAP PI-Lotus Notes/Domino"  "SAP PI-PeopleSoft"

    Hi all,
    I have been working  with XI (most of the time integrating SAP systems and third parties) for years but now i face following situation, i have to integrate SAP systems with Oracle systems, Lotus systems, Peoplesoft systems and so on, using XI.
    I have achieved SAP-XI-Oracle integration using JDBC adapter but i do not know what is the best practice when trying to do the other integrations.
    I ve read that adapter engine XInotes is a good approach in PI-LOTUS scenarios, so the JDE adapter (iway) for the PI-PEOPLESOFT. But, is there a way to achieve my requirements with the standar adapters without too much effort in the backends and not too much programming in XI?
    i know there is no perfect solution but any help will be much appreciated (and of course, rewarded with points)
    Thanks in advance and best regards,

    Regarding Peoplesoft
    think it all depands on the amount and types of interfaces and data needed needed to be transfered between the systems.
    We need to go over the Iway solution and see what are the featyres given by the adapter.
    (from a brief read of the iway pdf) i saw they use the same methods (XML,SOAP,IDocs) to interact between systems.
    the adavtage of Iway might be the fast implementation (out of the box maybe) and that there might be no development needed...big adavantage.
    But some times the use of XI fits better because of the costs of the adapter or the ability to be a hub and send this data to other systems as well (again I'm not familiar with I-way solution so maybe they can do it to if they have a development enviorment for the adapter).
    I reccomand you to contact I-way and get as much info as possible then decide wether its better to go with XI or the adapter.
    I give you an example from SAP...
    the CRM solution comes with an application called data migrator or something like that,this tool synchronize master data betweenn the SAP CRM and SAP ERP...this tool was written for the CRM and becasue of that fits well for the integration (4000 software developers can't go wrong.... )
    For this integration between the systems XI is not a match for my opinion and it will take some developments in XI (the easy part) and in ABAP for the CRM and R3(not so easy part) to integrate thouse two.
    Go over the Blue print or understand the customer integration needs and scenarios.
    Then decide according to the I-way information on the adapter which way is the best..XI or 3rd party adapter.
    By the way webmethod is an instegration tool like XI and as I recall they dont have a Peploe soft specific adapter.

  • Regarding Native SQL to access Oracle Data from SAP

    Dear Gurus,
    This query is regarding Native SQL.
    Our database is Oracle and the client's database is also Oracle.
    To access the data directly from the client's database(Oracle), can I use Native SQL commands?
    Is there any disadvantage to use Native SQL?
    If Native SQL can be used, can any one send me the code to access the data from Oracle?
    Points will be rewarded.
    Thanks & Regards,
    Neeraj K.

    The problem is always data integrity. Doing things this way you are bypassing any business logic. So for example if you are connecting to a SAP Oracle database. SAP will not support your SAP system as you are doing direct updates to the database. I would suppose that this would be the same for any other product using the Oracle database. If you are only reading data from the database then it should be fine. I would however always using API's to access/update data.

  • How can I access BOE Universes from SAP Portal?

    I'm trying to access an Universe on BOE server from SAP Portal.  Does anyone know if this is possible or not?  Additions, is it possible to get access to the list of universes from the portal?

    Hi Ingo,
    I think we are talking about the same KM.  Yes, I could see all folders from the BOE server inside portal KM repository.  However, I could not see any of the universes.  If I put a Webi document in one of the visible folders, then I can see the webi document.
    If it is possible, I'd prefer not to go the other route to use SDK.

Maybe you are looking for