AllExperts > Experts 
Search      

Using Lotus Notes

Volunteer
Answers to thousands of questions
 Home · More Questions · Answer Library  · Encyclopedia ·
More Using Lotus Notes Answers
Question Library

Ask a question about Using Lotus Notes
Volunteer
Experts of the Month
Expert Login

Awards

About Us
Tell friends
Link to Us
Disclaimer

 
 
 
 
About Paski K. Paskaradevan
Expertise
I have 3 + years in Lotus Notes application development. I am a CLP R5 Application Development. I can answer any question pertaining to application development.

Experience
R5 CLP. In addition, I have a bachelors degree in Engineering and a MBA.
 
   

You are here:  Experts > Internet/Online > Email > Using Lotus Notes > agent to calls the SAP BAPI with keyword and accessing required data.

Topic: Using Lotus Notes



Expert: Paski K. Paskaradevan
Date: 9/1/2008
Subject: agent to calls the SAP BAPI with keyword and accessing required data.

Question
Hi,
I need to develop a lotus application where are need to perform following tasks,

   The SAP application generates a mail and directs that mail to Lotus Notes application
   The subject line of the mail contains the purchase order number, PO Release Code and the Mail ID of the Approver & Initiator separated by comma (,). The format for these parameters will be (PurchaseOrderNumber,ReleaseCode,ApproverMailID,InitiatorMaiID)
o   PurchaseOrderNumber: The Purchase Order Number that is to be approved for the specified Release Code.
o   ReleaseCode: The level of approval for the specified Purchase Order
o   ApproverMailID: Email Id of the person authorized to approve the Purchase Order.
o   InitiatorMaiID: Email Id of the Initiator to resend the mail incase the approver is on leave.
   A Scheduled agent in the Lotus Notes Database is triggered after every five minutes
o   This agent picks the newly arrived mail, detaches the subject line from the mail and retrieves the parameters Purchase Order Number, the Release Code, ApproverMailID and the InitiatorMailID.
o   The agent then calls the SAP BAPI with PO Number as input parameters to that BAPI.
o   The data is fetched and the PO Document is created.
o   This document is saved in Lotus Notes containing the status of the purchase order as pending.
o   The Purchase Order form contains buttons for the approver to approve or reject the purchase order.
o   The mail is then sent to the approver for approval containing the links to access this document through Lotus Notes as well as through Web (IE).
o   The mail is also sent to the Initiator
o   On receipt of the mail, the approver can approve or reject the Purchase Order.
o   On the click of the approve button, the status document for this particular purchase order is searched in the Lotus Notes database and the status field in the document is updated to “Approve”.
o   The approver is informed that the Purchase Order is been approved using a message box.
o   A scheduled agent runs every five minutes on the server that checks for all the documents with status as “Approve”.
o   Whenever the agent finds a document with status as “Approve”, it retrieves the Purchase Order Number and Release Code for that particular document.
o   Another SAP BAPI is then called and the status of that Purchase Order is then updated in SAP.

I need a code which can possibly help me to access data from SAP BAPI i.e to read and write data to SAP Using BAPI,

Thanks a lot in Advance,
God Bless You,

Answer
Hi,

Rather than SAP sending and you sending back mail, try Notrix/LEI or other data transfer tools to get and send data to SAP.

I have not worked with SAP before. I have worked with PeopleSoft but I use Notrix to get and send data.

Regards.

Paski  

Add to this Answer    Ask a Question



  Rate this Answer
   Was this answer helpful?
Not at allDefinitely              
   12345  

     
About Us | Advertise on This Site | User Agreement | Privacy Policy | Help
Copyright  © 2008 About, Inc. About and About.com are registered trademarks of About, Inc. The About logo is a trademark of About, Inc. All rights reserved.