Use of Lotus Notes with IDOC.

would like to check with you all, currently I am reading a text file from interface manager and 'put' it into IDOC- basic type ORDERS05 and later auto create the Sales Order.
After that, I need to generate an text file regarding the status of the IDOC plus some other information from the new created Sales Order.
This text file need to send to the specify user thru external email like Lotus Notes.
Does anybody know which function module I can use ?
Thanks & Regards,
Chakri.

Hi,
Source : Google
Check this if useful.
*To prepare the subject line
CONCATENATE text-034 v_belnr text-035 INTO v_subject SEPARATED BY space.
CLEAR v_belnr.
*Add the recipients email address
CLEAR wa_receivers.
REFRESH t_receivers.
wa_receivers-receiver
= v_usrid.
wa_receivers-rec_type
= c_u.
wa_receivers-com_type
= c_int.
wa_receivers-notif_del = c_x.
wa_receivers-notif_ndel = c_x.
APPEND wa_receivers TO t_receivers.
CLEAR wa_receivers.
Describe the body of the message
CLEAR wa_packing_list.
REFRESH t_packing_list.
wa_packing_list-transf_bin = space.
wa_packing_list-head_start = c_1.
wa_packing_list-head_num
= c_0.
wa_packing_list-body_start = c_1.
DESCRIBE TABLE t_message LINES wa_packing_list-body_num.
wa_packing_list-doc_type
= c_raw.
APPEND wa_packing_list TO t_packing_list.
CLEAR wa_packing_list.
*Populate the subject/generic message attributes
wa_doc_data-obj_langu
= sy-langu.
wa_doc_data-obj_name
= c_saprpt.
wa_doc_data-obj_descr
= v_subject.
wa_doc_data-sensitivty = c_f.
CLEAR : v_subject,
v_belnr.
*Call the FM to post the message to SAPMAIL
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data
= wa_doc_data
put_in_outbox
= c_x
IMPORTING
sent_to_all
= v_sent_all
TABLES
packing_list
= t_packing_list
contents_txt
= t_message
receivers
= t_receivers
EXCEPTIONS
too_many_receivers
= 1
document_not_sent
= 2
document_type_not_exist
= 3
operation_no_authorization = 4
parameter_error
= 5
x_error
= 6
enqueue_error
= 7
OTHERS
= 8.
*commit work.
*Status of the IDOC. need to be updated.
IF sy-subrc IS INITIAL.
idoc_status-docnum = idoc_contrl-docnum.
idoc_status-status = c_status68.
APPEND idoc_status.
CLEAR idoc_status.
ELSE. "If the mail was not sent.
idoc_status-docnum = idoc_contrl-docnum.
idoc_status-status = c_status63.
idoc_status-msgid = c_msgid.
idoc_status-msgno = c_mailfail.
APPEND idoc_status.
CLEAR idoc_status.
ENDIF.
ELSE. "If user-id(email-id) was not found
idoc_status-docnum = idoc_contrl-docnum.
idoc_status-status = c_status63.
idoc_status-msgid = c_msgid.
idoc_status-msgno = c_mailnotfound.
APPEND idoc_status.
CLEAR idoc_status.
ENDIF.
Regards..

Similar Messages

  • Integrating Lotus Notes with Guided Procedure Task

    Hi Experts,
    Is it possible to see Guided Procedure Tasks in Lotus Notes. Is this integration possible?
    We have UWL in portal to check the tasks.
    Instead of going to the portal to open Actions, can we get the task link in Lotus Notes Inbox?
    Thanks,
    Runal

    Thanks George
    Using GP APIs we can check tasks for processes through Lotus Notes, instead of going to the netweaver portal's UWL list.
    But GP APIs does not support WD ABAP.
    So integration of lotus notes with GP is only possible using WD JAVA.
    Thanks,
    Runal

  • Open a new mail item in Lotus notes with all names from table view..

    HI
    the requirement is like this .. There is a table view with checkboxes..
    Now user will select the particular checkboxes and one mail should be created in Lotus Notes with all the user ids selected.
    How do i achieve
    1) Selecttion of either all ( Select ALl/deselect all ) or some users funtionality in table view
    2) Opening a new mail item with all users selected.

    Hi Raja
    The problem is this
    I have 2 buttons mail to Selected  and mail to all .
              <htmlb:button id            = "b_mailtosel"
                            text          = "Mail to Selected"
                            onClick = "onInputProcessing(b_mailtosel)" />
              <htmlb:button id            = "b_mailtoall"
                            text          = "Mail to all"
                            onClick = "onInputProcessing(b_mailtoall)" />
    Table view below is having this value..
    <htmlb:tableView id             = "tab1_list"
                          table          = "<%= i_list %>"
                           footerVisible  = "false"
                           selectionMode = "MULTISELECT"
                           design          = "ALTERNATING"
                           emptyTableText = "No data available"
                           width          = "100%"
                            >
    OninPut processing
    WHEN 'b_mailtosel'.
          application->s_flag = '1'.
          l_tv ?= cl_htmlb_manager=>get_data( request = request
                                               name    = 'tableView'
                                               id      = 'tab1_list' ).
          IF NOT l_tv IS INITIAL.
            table_event = l_tv->data.
            IF NOT table_event->PREVSELECTEDROWINDEXTABLE IS INITIAL.
            i_selected_mail = table_event->PREVSELECTEDROWKEYTABLE.
            ENDIF.
          ENDIF.
    table_event->PREVSELECTEDROWKEYTABLE is blank since there is no key column defined in the Tableview  ( since this combination doesnt work with select all ) .
        WHEN 'b_mailtoall'.
        cl_htmlb_manager=>check_tableview_all_rows(
          rowcount = rowcount
          request = request
          id = 'tab1_list'
          check = 'X'
          application->s_flag = '1'.
          l_tv1 ?= cl_htmlb_manager=>get_data( request = request
                                               name    = 'tableView'
                                               id      = 'tab1_list' ).
          IF NOT l_tv1 IS INITIAL.
            table_event1 = l_tv1->data.
            IF NOT table_event1->PREVSELECTEDROWINDEXTABLE IS INITIAL.
            i_selected_mail = table_event1->PREVSELECTEDROWKEYTABLE.
            ENDIF.
          ENDIF.
    NO DATA is coming in Select all too..
    HOw do i frame my code to atleast get the values...

  • Using Lotus Notes with Acrobat Pro 9

    We need some help on trying to achieve somthing that may or may not be possible.  Our goal is for employess to use an Adobe pdf form (purchase requistion), fill it out on line, click "Submit", and have that action open up our Lotus Notes e-mail system permititng the employee to send the req to appropiate approvers found in the company Notes email system.  Is this doable, and if so, how?  Right now, the button ony permits sending the pdf form back tot he person who created it.  I am also interested in learning how we can allow our approvers to have the ability to forward a message with the attached pdf form and send it to other recipients.

    You are better off putting the form on the web and having script to process the informaiton and send it to the people who need the information on the form. The form need not be resent or emailed.

  • When using Lotus Notes with the latest version of firefox notes will not allow me to attach files?

    Uner firefox version I was able to attach muliple doc within my Lotus notes, after upgrading I now get an error message. Program error. What else can I do to fix the problem other than going back to the old version?

    I only have an HSA account with USbank, and my screen looks fine.
    If the website is okay, you can try goto options->advanced->network, and clear the web cache and try again.

  • Connect Lotus Notes with ODBC driver

    I am trying to figure out connecting SQL Developer with ODBC connection ( set on to ODBC Data Source ) for lotus notes. I am able successfully connect through Excel with that connection. With SQL Developer , its asking for JDBC driver but lotus notes version (R5) what I am using does not support JDBC driver.
    Is there any way to connect using ODBC data source for lotus notes.

    No.
    SQL Developer is a Java based tool and requires JDBC. Theoretically you could use the JDBC-ODBC bridge, but there would be no point. SQL Developer is an Oracle specific development and query tool which allows connection to selected other DBMSs in order to support migration to Oracle. Lotus Notes is not one of the supported systems.
    SQL Developer is NOT a general purpose, multi-DBMS tool.

  • 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?
    Regards,
    Nisit

    Nisith,
    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.
    Rgds
    manish

  • I need a conduit to sync Lotus Notes with ipod on XP

    Please if somebody knows some conduit o software ready to syncs itunes contacts and calendar with lotus notes or an independet software please forward me.
    thanks
    Saludos desde México

    Have a look here, see what you make of it, I found this article through Google: "Sync Lotus Notes to iPod?" http://www.lavatech.com/Articles.nsf/ID/LN2iPod

  • Synch Lotus Notes with iCloud

    I would like to synch a Lotus Notes calendar with iCloud to be able to share it with others. Does anyone know how to do that or what kind of software is abailable for that? For Lotus Notes to Google or Hotmail, there is a tool like CompanionLink available.

    From an older thread I found:  http://pimsyncer.com/ which works on my Lotus Notes for Mac (long story on how I got my hands on this version).  Syncs up well to Google Calendar and iCloud thus far.  14 day free trial period.  Docs say the .nsf (gah!) should work on the Windoze version of Notes as well. 

  • I can no longer open lotus notes with firefox 4.0 -- how do I revert to the previous version?

    Lotus notes is my work email system. I can still open it on safari on my Mac, but I get a message that an error may have occurred that causes the application to fail.
    NOT helpful!

    Look in your Applications folder.  If your system behaved as expected, you should have an iMovie 9.0 folder in your Applications folder.  Apple moved the old version there as even they suspected the new versions was a train wreck.

  • Problem using the Lotus Notes Portlet with Domino DIIOP

    hi! the DIIOP service always gives a memory error when the session hits 60. I've read that in R5.0.10, the ORB_LISTEN_QLEN can be set.
    but I can't find that line in the notes.ini?!
    kindly advise.
    thx

    eek eek!!
    I tried.... turns out, that was the download I was originally working with, and just to be sure, I redeployed the application from that download. I get the same problems. In a nutshell:
    1) "My Inbox" portlet has no way to view the most RECENT email
    2) When I click a link in the "Calendar" or "My Inbox", I get Error 401 - "You are not authorized to perform the operation"
    3) The inbox, calendar, and contacts portlets seem to function upon first page view. Refreshing the page causes "Your session with this application has expired.."
    4) The "My ToDo" portlet doesn't work at all. I get a stack dump in the vain of:
    "java.lang.NullPointerException at oracle.portal.integration.lotusnotes.application.LotusProvider.showToDo(Unknown Source) at oracle.portal.integration.lotusnotes.application.LotusProvider.showPortlet(Unknown Source) at oracle.portal.integration.lotusnotes.application.LotusProvider.process(Unknown Source) at oracle.portal.integration.lotusnotes.render.ToDoShowRenderer.getURLStream(Unknown Source) at"
    Feels like I'm fightin' a losing battle... anyone?
    -sean-

  • Hotmail redirect my page if I use safari but not with Firefox

    Once I login into Hotmail using safari I am redirected to a hotmail black page. This started after opening an e-mail from a trustable source. If I use firefox I do not have any problem.
    I reset safari, cancelled all the cookies, deleted all the cache from Safari,. I deleted from the library extension of finder and mine the documents from the following folder: cookies, LaunchAgents, LaunchDaemons with no lack.
    Any solution?
    Apple support wanted 35 pounds and I was on a 0845 number as well!!!
    I found the solution: I ditched Safari and started to use Firefox. I can now read my e-mails

    Did you check the volume setting in the player to make sure that the sound isn't muted?
    You can try to clear the Flash local storage.
    Flash Website Storage Settings panel:
    *http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager07.html
    Flash Local storage settings Help:
    * http://www.macromedia.com/support/documentation/en/flashplayer/help/help02.html

  • Use of Sticky Notes with PDF

    how do you use sticky notes to edit a pdf file?

    Hi redland7
    Sticky Notes are a part of Commenting feature in acrobat... If you have a PDF File, then you can place sticky notes as comments to inform or provide some extra information to users ...
    Please see the below link to know more about sticky notes : http://acrobatusers.com/tutorials/how-to-work-with-the-comment-tools
    and
    http://help.adobe.com/en_US/acrobat/X/pro/using/WS58a04a822e3e50102bd615109794195ff-7e77.w .html
    The above link contains information how to add, delete and edit a sticky note ...
    Though if you want to edit the text in the PDF File , Please follow the below link :
    http://helpx.adobe.com/content/help/en/acrobat/using/edit-text-pdfs.html

  • HTML plays swf using CS3 but not with CS4

    I apologize if this is a question that gets answered and I just haven't seen it...
    I encode an .avi file to .flv using CS3 encoder, publish it to an html page and upload it (along with all neccessary pages and files) and it plays fine. Here is my page.
    http://www.dreammakerproductions.com/cs3.html
    I do the exact same thing using CS4 and I get nothing when trying to play it via the web. I have all necessary files uploaded.
    http://www.dreammakerproductions.com/cs4.html
    I try to manuallly insert the .swf into the html page (rather than "publishing" using Flash) and I still get nothing.
    http://www.dreammakerproductions.com/cs4_insert_swf.html
    I manually insert the .flv file into html page, and it plays, however, it is very jerky and not the look and feel I want, but it does play, which confuses me even more?
    http://www.dreammakerproductions.com/cs4_insert_flv.html
    All 4 examples play locally on my machine. The only difference is when I play any of the CS4 versions locally, I get the active X security bar, but when I play the CS3 version, I do not get it.
    Also, I am using GoDaddy as my hosting, surely the problem isn't on their end with some sort of CS4 issue?
    Am I not doing something right when I encode using CS4?
    Any help would be appreciated. I am trying not uninstall CS4 and reinstall CS3 but I am losing hope.

    The CS4 file is being loaded into the page, it just isn't playing for some reason.  If you link direcly to the swf rather than any html page embedding it you can see this (or not see it to be more correct).  So the problem doesn't involve the embedding.  The file is stuck setting up somewhere along the line when it loads.
    Do you have the most recent version of CS4 installed (10.0.2, I believe)?

  • Device works using max but not with VI

    Hi All..
    I am able to control a kepco power supply with comminicating by MAX. But with VI (7.0) that has the same command structure it s not possible..Moreover, i dont get any error message either. Could you have a look the VI attached and make ur comments.
    thanks
    Attachments:
    sweeping current.vi ‏79 KB

    I have localized where there are something strange happening.
    I attach 2 VIs one of which works but not other one. The only difference is that  the working one writes data to Writing VI via buffer. When I change buffer to string it doesnt? It doesnt any make any sense to me.. What is wrong?
    Attachments:
    writing_data_not_works.vi ‏50 KB
    writing_data_working.vi ‏47 KB

Maybe you are looking for