Sending mails while disconnected from network

Hi All,
We have a Desktop Application in which we will send few emails when ever user does some activity.We are using a open rely mail server at our side and configured the same in this application to send those mails. As this is a desktop application user may not be connected to internet all the time that he uses the application.All the users are configured to their outlook to use the mailing services.
Now we have requirement that we need to send the emails even when the user is disconnected from network. As a java programmer i know that it's not possible to send the mails if the smtp host is not reachable. I am thinking of an alternative like some how if we can QUEUE the mail into the users outbox of his outlook when user is disconnected. So that when user is connected to internet all the mails will be delivered with out a fail.
But I am not sure how to do this. Please help me if we can do this or any other alternative.
Regards,
Krishal.
Edited by: krishna2581 on Apr 3, 2008 3:20 AM
Edited by: krishna2581 on Apr 3, 2008 3:31 AM

It's possible. It's only software, after all. But you're going to have to
do most of the work yourself.
The simplest solution would be to just run a mail server on the same
machine as the JavaMail application, and let the mail server do the work
of queuing the message and retrying it when necessary.
If you don't want to run a mail server, you can build similar functionality
into your application. Save the messages using Message.writeTo when
you can't send them. Arrange to processed the saved messages at
the appropriate times. Read them back in and send them.

Similar Messages

  • HOW TO Send mail while saving VA02

    How can i send mail while saving VA02.
    The mail address i have to pick from custom table based on plant.
    Just for the trial we used : output type :KRML
    Application : V1
    Transaction medium :7.
    and the program RSNASTSO routine SAPOFFICE_AUFRUF_VX is attached in the nace.
    The same output type is attached in va02.If we use this output type with this medium , it is asking us mail partner
    address also in the VA02.
    but we have to get the mail partner from custom table.
    And with this output type , the program attched in the NACE (RSNASTSO) IS NOT GETTING triggered.
    But the mail is being sent to the mail partner which i mentioned in the VA02 Communication method.
    How can i solve this.
    Finally my requirement is i have to send a mail to exter id which is maintained in the custom table while saving VA02.
    Regards
    Ramakrishna L

    Hi,
    We had set a output type in NACE. and that output type we have in the VA02 transaction also.
    But While saving the transaction it is not going through the program mentioned in the NACE for that output type.
    But mail is sent to the SAP Inbox or official id .
    how that mail is gone i am not understanding.
    How can we do to go through the program mentioned in NACE while saving the VA02.
    The mail body coming with text " sales order is blocked" sopme thing like this.
    This same mail i have to sent to the mail id maintained in Custom table plant wise.
    Regards
    Ramakrishna L

  • Getting "Error in sieve filter" message with each incoming mail and cannot recieve or send mail to or from iCloud account apart from Apple emails!! Please help!

    Since approx 7am GMT I've been getting "Error in sieve filter" message with each incoming mail, worse though, since about 12 noon I cannot recieve or send mail to or from my iCloud account apart from I've been getting  emails from Apple (ie I've just received a welcome one from Apple Support Communities...)!! I've had this account for years, never had a problem - it can't be the OSX Mail server because the problem is the same when I log directly into iCloud. I've tried sending emails from my Hotmail account to my iCloud account (a .mac) and just get undeliverable messages back. I'm really in the s**t now at work. : (  I just set up a Smart TV yesterday with a wireless dongle - that's the only thing I've done out of the ordinary. I've spoken to Sky who are my ISP and they say all's fine with them (although the router kept kicking my off the internet this morning which was strange...). Router seems fine now though.  I'm really hoping someone here can help!!
    Many thanks!!

    Do you think once Apple sort this out I'll get my missing emails back?

  • Unable to send mails to outlook from sap system through workflow

    Hi ,
    Iam unable to send mails to outlook from sap system through work flow .Actually we r able to send mails from sap inbox to outlook successfully.But when trying with workflow we r not able to send.Please guide me that is  there any configurations required from BASIS side for work flow.Actually we configured everything like default domain .
    Please find the errors belows that  traced from sost t code
    02/13/2012     17:50:12     0380 MIME_MESSAGE_GENERATE     G     Error when generating MIME flow
    02/13/2012     17:50:12     0382 MIME_MESSAGE_GENERATE     G     Required 'From' header is initial
    02/13/2012     17:50:12     0167 SO_OBJECT_MIME_GET     G     Error during MIME Generation
    02/13/2012     17:50:12     0777 UPDATE_SOSC     G     Cannot process message in SAP System
    Regards
    RAGHAVENADAR

    Hello,
    Actually i checked the mail ID for WF-BATCH  using su01 .But i didnt find any mail ID for WF-BATCH then i added the email address of the user.Then we tried sending mail it was successfull.
    But later i removed the email address what i entered in WF-BATCH user .Even after removing the email address also iam able to send the mails through workflow.
    So iam confused whether it needs an mail address or not.But now we are able to send a mail to outlook through work flow but not able to send mails to GMAILor yahoo.For that we need to do any settings.
    ABAPer is sending mails through work flow.
    Regards
    RAGHAVENDAR M

  • I have two problems with my 2012 13" MacBook Pro. 1. Gray screen shows at startup  2. Randomly disconnects from network. Any help will be greatly appreciated.

    I have two problems with my 2012 13” MacBook Pro.
    Gray screen shows at startup
    Randomly disconnects from network.
    Any help will be greatly appreciated.

    First, open Terminal in your Utilities folder and paste this into the prompt line:
    sudo update_dyld_shared_cache
    Press RETURN. You will be prompted to enter your admin password which will not be echoed to the screen. Press RETURN again.
    Next, boot the computer into Safe Mode.
    Next, do the following:
    Reinstalling Lion/Mountain Lion Without Erasing the Drive
    Boot to the Recovery HD: Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Repair the Hard Drive and Permissions: Upon startup select Disk Utility from the main menu. Repair the Hard Drive and Permissions as follows.
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the main menu.
    Reinstall Lion/Mountain Lion: Select Reinstall Lion/Mountain Lion and click on the Continue button.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible because it is three times faster than wireless.

  • Can i send mail to yahoo from work flow

    can i send mail to yahoo from work flow  if it is possible how do i do that ? is this program enough if yes how do i do that ? do i need to write or change any coding

    Hi Neo ,
    You can use Function module  'SO_OBJECT_SEND' from your BO Method.
      For this Function module to work Email configuration should be done for 
      external  addresses..Please check with your Basis team for necessary config.
    Thank you
    Srinivas

  • Send mail with attachment from webdynpro application

    hi,
    From a webdynpro application, the user will upload any files through the File upload ui element.These uploaded files has to go as an attachment in the mail which is being send to a particular ID ,when the user clicks the submit button in the form.
    can you please give me the code regarding this and help me in sending mail with attachment from a webdynpro application.
    Thanks in advance,
    shami.

    Hai,
    Properties props = System.getProperties();
           props.put("mail.smtp.host", "xx.xx.x.xx");
           Session session = Session.getDefaultInstance(props, null);
           Message msg = new MimeMessage(session);
           msg.setFrom(new InternetAddress("[email protected]"));
           msg.setRecipients(Message.RecipientType.TO,
           InternetAddress.parse("[email protected]", false));
           msg.setSubject(subject);
           msg.setText(body);
           msg.setHeader("X-Mailer", " Email");
           msg.setSentDate(new Date());
           MimeBodyPart messageBodyPart = new MimeBodyPart();
           messageBodyPart.setText("Hai , This mail Generated By the  Program");
          Multipart multipart = new MimeMultipart();
           multipart.addBodyPart(messageBodyPart);
            messageBodyPart = new MimeBodyPart();
            DataSource source = new FileDataSource("C:\nag.xls");//Here you need to give the Path of uploaded File
            messageBodyPart.setDataHandler( new DataHandler(source));
            messageBodyPart.setFileName("nag.xls");
            multipart.addBodyPart(messageBodyPart);
            // Put parts in message
            msg.setContent(multipart);
           Transport.send(msg);
    Regards,
    Naga

  • Why cant I send mail to myself from the ipad. It remains in the out box

    Why cant I send mail to myself from the ipad. It remains in the out box.
    I am using the wifi only.

    Why cant I send mail to myself from the ipad. It remains in the out box.
    I am using the wifi only.

  • Send mails to Agents from Infotype 105  External mails / SAP Inbox

    Hi,
    1) Whenever there is a change in the Address  the change has to be notified to HR Business partner (HRBP)  and Manager (MGR)
       a) The mail has to be  sent to the Extermail id.
       b) OR it has to be sent to the SAPID (Inbox)
    2) These mail ID /SAPID will be taken from the INFOTYPE PA0105, where two custom fields will carry this Mail / SAPIDs
    3) Sending mail To external mail id  is been done using the Function module in  the rule (Inside the function module i have written a program which will collect the mail id from PA0105 and send mails)
    4) Huv can i send mail to SAPINBOX from there if i  have SAPID instread of external mail IDs.
    Please help me to solve .
    Richard A

    Check the Business Object that is relevant to you
    ADDRESS    Address for sending documents
    ADDRESSEMP Employee Address
    BUS4001    Addresses of companies and organizations
    BUS4002    Address of natural oerson
    BUS4003    Address of "Person in company"
    After selecting the Business object check which event is getting triggered when you change address. If no event getting triggered try toi configure in SWEHR3
    You can take reference of the following Wflow Template
    01000015
    01000080
    You can just use SAP User Id in mail if email address is maintained in SU01d.
    <b>Reward points if useful and close thread if resolved</b>

  • Can receive but not send mail while traveling

    Hello:
    wondering if there is a solution to this recurring problem. My email address is through my website, via my cable service, and I read it using Mail without a problem. However, when I'm traveling and using internet service other than my home, I can read my mail through Mail - but not send it. When I attempt to mail from the Mail window, it starts to send from my Outbox, and then fails, and delivers the message: "Cannot send using the server smtp [cable service name].net Use the popup menu below to try a different outgoing mail server."
    I can successfully send if I log onto my mail on my website, but it's more steps. Is there a solution to this, or is this just the nature of using outside networks?

    Hi BDAqua;
    So can I just change the port number in my Mail>Pref>Accounts>Advanced pane, and be able to mail while traveling? Or does that create some kind of conflict with my current mail/cable provider settings? Port is currently set to 110. (It does say "check with your sysadmin before changing any of these settings". Alas.)

  • Can't send mail due to local network IP

    I bought and installed a new Airport Extreme base station, everything's working so far with 2 wireless computers connecting online and an ethernet connection as well. The problem is with sending mail via entourage, the error message is "Entourage cannot find the server. Verify the server information is entered correctly in the Account Settings, and that your DNS settings in the Network pane of System Preferences are correct."
    Those DNS settings show an ip of 10.1.1.2 subnet 255.255.255.0 while a whatsmyipaddress.com search shows an ip of 70.66.xx.xx
    The computer sending the mail is connected directly via ethernet. How do I configure to be able to send my mail?

    Sometimes a system power cycle will get things straightened out.
    If you haven't done this yet, power down everything. Then, power up the modem first and let it run 2-3 minutes, then power up the Extreme for 2-3 minutes, then your computers.
    It's also possible that your ISP detected a change on your account and automatically blocked the outgoing port to prevent spam, etc. Check with your ISP on this.

  • Sending Mail to Outlook from workflow approval

    Hi All,
    A standard workflow is trigering in when we click on FOR APPROVAL button in IMA11 (Appropriation Request in IM Module).
    I need to send send mail to OUTLOOK with workitem for approve directly from the OUTLOOK. Is it possible.
    Suppose , we have 5 approval levels.
    By standard workflow , If the 2nd person approve the request , work item is going to the 3rd person SAP Inbox.
    I also need, If the 2nd person approve the request , need to send a mail to the 1st person also.
    How can I get this?
    Plz write ur comments.
    Thanks

    Hi,
    In SBWP transaction goto setting->office settings-Automatic forwarding-create new---give mail id in forward to and select external address.
    In SWDD use send mail.
    Recipient type Organizational object
    User     Name_of_the_user
    Also from insert expression you can enter work item id.
    Also while creating above use using SU01 enter e-mail address which you have entered in forward to.

  • Application 11i doesn't run if disconnected from network

    Hi,
    I've installed Oracle Applications 11i (11.5.10.2) on Windows Server 2003 on the laptop. It works fine while the laptop is connected to network but does not run if laptop is disconnected from the network. Could anybody tell workaround? Thank you!

    Hi,
    You must use a dummy network adapter called loop back adapter and configure ur ip on it,Remember with this u can only acess the apps on the local system nobody can connect from network.
    check in the forum by searching loopback adapter or google it for installtion
    Regards

  • Sending mail after converting from otf to pdf

    Hi all,
    i have an requirement of converting script output i.e., otf to pdf converting and i want send that account statement to the mail id which is maintatined in XD03 t.code,based on different customers differnt account statement should post ,
    please suggest me ASAP.

    use the function module
    CONVERT to pdf
    SX_OBJECT_CONVERT_OTF_PDF
    - Email the PDF data using
    SO_NEW_DOCUMENT_ATT_SEND_API1
    examples
    Option 1.
    - converting OTF data returned from CLOSE_FORM (requested in OPEN_FORM) to PDF format using SX_OBJECT_CONVERT_OTF_PDF
    - Email the PDF data using SO_NEW_DOCUMENT_ATT_SEND_API1
    Result
    >> Everything works fine except that the output cannot be sent to spool and previewed (due the request of OTF table in OPEN_FORM)
    >> The PDF attachment can be downloaded and view directly.
    Option 2.
    - converting spool to PDF format using CONVERT_OTFSPOOLJOB_2_PDF
    - Email the PDF data using
    SO_NEW_DOCUMENT_ATT_SEND_API1
    Result
    >> The output can be previewed and sent to spool. No error returned from sending mail.
    >> However, the attachment of PDF file cannot be downloaded (from SBWP Business Workspace). An error message "Database error for <GET DATA FROM KPRO>" was displayed when I try to download the PDF file
    You can try something like this
    IF SY-UCOMM = 'VIEW'.
    CLEAR ITCPO-TDGETOTF.
    ENDIF.
    ***OPEN_FORM
    *etc
    ***CLOSE_FORM
    IF NOT SY-UCOMM = 'VIEW'.
    **SEND MAIL
    ENDIF.
    example code
    REPORT ZSENDPDF NO STANDARD PAGE HEADING.
    TABLES: TST05,
    TSP01,
    NAST,
    T685B,
    USR01.
    DATA: BEGIN OF TAB_PDF OCCURS 0,
    TLINE(255).
    DATA : END OF TAB_PDF.
    DATA: BEGIN OF TAB_OTF OCCURS 0,
    TLINE(255).
    DATA : END OF TAB_OTF.
    DATA: BEGIN OF TAB_DATA_SET OCCURS 0,
    DATA_LENGTH(5),
    PRECOL(1),
    DATA_LINE(1000).
    DATA : END OF TAB_DATA_SET.
    DATA: BEGIN OF TAB_OTF_PAGE OCCURS 0.
    INCLUDE STRUCTURE ITCOO.
    DATA: END OF TAB_OTF_PAGE.
    DATA : BEGIN OF TAB_OTF_PAGE_INDEX OCCURS 0,
    LINE_NUM TYPE P.
    DATA : END OF TAB_OTF_PAGE_INDEX.
    DATA: BEGIN OF TAB_DATA_SET_LINE,
    DATA_LENGTH(5),
    PRECOL(1),
    DATA_LINE(1000).
    DATA : END OF TAB_DATA_SET_LINE.
    DATA : BEGIN OF TAB_TSP01 OCCURS 0,
    RQIDENT LIKE TSP01-RQIDENT,
    RQCOPIES LIKE TSP01-RQCOPIES.
    DATA : END OF TAB_TSP01.
    DATA :
    LEN_OUT LIKE SOOD-OBJLEN,
    LEN_IN LIKE SOOD-OBJLEN,
    OTF_PAGES TYPE P,
    *otf_max_pages type p value 100,
    OTF_MAX_PAGES TYPE P VALUE 1000,
    DATA_SET_LINECOUNT TYPE P,
    *data_set_max_lines type p value 1000000,
    DATA_SET_MAX_LINES TYPE P VALUE 100000,
    DATA_SET_IS_OTF TYPE C VALUE ' ',
    DATA_SET_LENGTH(5) TYPE C,
    DSN_TYPE( TYPE C,
    RC(10) TYPE C,
    ERRMSG(100) TYPE C,
    LINE_MAX TYPE P VALUE '100000',
    STATUS LIKE SY-SUBRC,
    H_PATH(20) TYPE C,
    H_MASK(20) TYPE C VALUE ',.pdf ,.pdf. ',
    FILE_NAME(20),
    FILENAME LIKE RLGRAP-FILENAME,
    C_PAGE_BREAK TYPE I,
    K_PAGE_BREAK TYPE I.
    PARAMETER : P_RQID(5) TYPE C.
    START-OF-SELECTION.
    END-OF-SELECTION.
    PERFORM GET_TAB_OTF.
    CLEAR K_PAGE_BREAK.
    LOOP AT TAB_OTF_PAGE WHERE TDPRINTCOM = 'EP'.
    ADD 1 TO K_PAGE_BREAK.
    ENDLOOP.
    CLEAR C_PAGE_BREAK.
    LOOP AT TAB_OTF_PAGE.
    IF TAB_OTF_PAGE-TDPRINTCOM EQ 'EP'.
    ADD 1 TO C_PAGE_BREAK.
    IF C_PAGE_BREAK GE 3 AND C_PAGE_BREAK LT K_PAGE_BREAK.
    TAB_OTF-TLINE = 'EP'.
    APPEND TAB_OTF.
    ENDIF.
    ENDIF.
    TAB_OTF-TLINE = TAB_OTF_PAGE.
    APPEND TAB_OTF.
    ENDLOOP.
    CALL FUNCTION 'SX_OBJECT_CONVERT_OTF_PDF'
    EXPORTING
    FORMAT_SRC = 'OTF'
    FORMAT_DST = 'PDF'
    DEVTYPE = 'ASCIIPRI'
    LEN_IN = LEN_IN
    IMPORTING
    LEN_OUT = LEN_OUT
    TABLES
    CONTENT_IN = TAB_OTF
    CONTENT_OUT = TAB_PDF
    EXCEPTIONS
    ERR_CONV_FAILED = 1
    OTHERS = 2.
    PERFORM GET_PATH USING 'PDF_FILE'.
    CALL FUNCTION 'WS_DOWNLOAD'
    EXPORTING
    FILENAME = FILENAME
    FILETYPE = 'BIN'
    BIN_FILESIZE = LEN_OUT
    TABLES
    DATA_TAB = TAB_PDF
    EXCEPTIONS
    FILE_OPEN_ERROR = 1
    FILE_WRITE_ERROR = 2
    INVALID_FILESIZE = 3
    INVALID_TABLE_WIDTH = 4
    INVALID_TYPE = 5
    NO_BATCH = 6
    UNKNOWN_ERROR = 7
    OTHERS = 8.
    *& Form GET_tab_otf
    FORM GET_TAB_OTF.
    DATA: PART(4) VALUE '0001',
    BEGIN OF MSG,
    A(40),
    B(40),
    C(40),
    END OF MSG.
    REFRESH TAB_DATA_SET.
    DATA_SET_LINECOUNT = 0.
    DATA_SET_IS_OTF = ' '.
    OTF_PAGES = 0.
    REFRESH TAB_OTF_PAGE_INDEX.
    CALL 'RSPOACSD'.
    SELECT * FROM TST05 WHERE DTHREAD = 'X'.
    CALL 'RSPOAOSD'
    ID 'ID' FIELD P_RQID
    ID 'TYPE' FIELD TST05-DTYPE
    ID 'RECTYP' FIELD 'VYL----'
    ID 'RC' FIELD RC
    ID 'ERRMSG' FIELD ERRMSG.
    STATUS = SY-SUBRC.
    IF STATUS = 0.
    DSN_TYPE = TST05-DTYPE.
    IF DSN_TYPE(3) = 'OTF'.
    DATA_SET_IS_OTF = 'X'.
    ENDIF.
    ENDIF.
    IF STATUS <> 24. EXIT. ENDIF.
    ENDSELECT.
    DATA_SET_MAX_LINES = ( LINE_MAX * '1.1' ) + 100.
    DO.
    CLEAR: TAB_DATA_SET_LINE, DATA_SET_LENGTH.
    CALL 'RSPOARSD'
    ID 'BUFF' FIELD TAB_DATA_SET_LINE+5
    ID 'DATALEN' FIELD DATA_SET_LENGTH
    ID 'RC' FIELD RC
    ID 'ERRMSG' FIELD ERRMSG.
    STATUS = SY-SUBRC.
    IF STATUS = 36.
    WHILE STATUS = 36.
    CALL 'RSPOACSD'
    ID 'RC' FIELD RC
    ID 'ERRMSG' FIELD ERRMSG.
    ADD 1 TO PART.
    IF DATA_SET_IS_OTF = ' '.
    CALL 'RSPOAOSD'
    ID 'ID' FIELD P_RQID
    ID 'TYPE' FIELD DSN_TYPE
    ID 'PART' FIELD PART
    ID 'RECTYP' FIELD 'VYL----'
    ID 'RC' FIELD RC
    ID 'ERRMSG' FIELD ERRMSG.
    ELSE.
    CALL 'RSPOAOSD'
    ID 'ID' FIELD P_RQID
    ID 'PART' FIELD PART
    ID 'TYPE' FIELD DSN_TYPE
    ID 'RECTYP' FIELD 'VYL----'
    ID 'RC' FIELD RC
    ID 'ERRMSG' FIELD ERRMSG.
    ENDIF.
    IF SY-SUBRC NE 0. EXIT. ENDIF.
    CLEAR: TAB_DATA_SET_LINE, DATA_SET_LENGTH.
    CALL 'RSPOARSD'
    ID 'BUFF' FIELD TAB_DATA_SET_LINE+5
    ID 'DATALEN' FIELD DATA_SET_LENGTH
    ID 'RC' FIELD RC
    ID 'ERRMSG' FIELD ERRMSG.
    STATUS = SY-SUBRC.
    ENDWHILE.
    ENDIF.
    IF STATUS <> 0 AND STATUS <> 40. EXIT. ENDIF.
    TAB_DATA_SET = TAB_DATA_SET_LINE.
    IF NOT ( DATA_SET_LENGTH IS INITIAL ).
    TAB_DATA_SET-DATA_LENGTH = DATA_SET_LENGTH - 1.
    ENDIF.
    APPEND TAB_DATA_SET.
    ADD 1 TO DATA_SET_LINECOUNT.
    IF DATA_SET_IS_OTF = ' '.
    IF DATA_SET_LINECOUNT >= DATA_SET_MAX_LINES.
    CLEAR TAB_DATA_SET.
    APPEND TAB_DATA_SET.
    MOVE '----
    ' TO TAB_DATA_SET-DATA_LINE.
    APPEND TAB_DATA_SET.
    CLEAR TAB_DATA_SET.
    APPEND TAB_DATA_SET.
    WRITE: 'Abbruch nach'(029) TO MSG-A.
    WRITE: DATA_SET_MAX_LINES TO MSG-B.
    WRITE: 'Zeilen.'(030) TO MSG-C.
    CONDENSE MSG.
    TAB_DATA_SET-DATA_LINE = MSG.
    APPEND TAB_DATA_SET.
    EXIT.
    ENDIF.
    ELSE.
    MOVE TAB_DATA_SET_LINE-DATA_LINE TO TAB_OTF_PAGE.
    APPEND TAB_OTF_PAGE.
    IF TAB_OTF_PAGE(2) = 'EP'.
    ADD 1 TO OTF_PAGES.
    IF OTF_PAGES >= OTF_MAX_PAGES.
    MESSAGE S229(PO) WITH OTF_MAX_PAGES.
    EXIT.
    ENDIF.
    ELSEIF TAB_OTF_PAGE(2) = 'OP'.
    TAB_OTF_PAGE_INDEX-LINE_NUM = DATA_SET_LINECOUNT.
    APPEND TAB_OTF_PAGE_INDEX.
    ENDIF.
    ENDIF.
    ENDDO.
    IF STATUS <> 0 AND STATUS <> 12.
    CALL 'RSPOACSD'.
    MESSAGE E112(PO) WITH STATUS RC ERRMSG.
    ENDIF.
    CALL 'RSPOACSD'.
    STATUS = SY-SUBRC.
    IF STATUS <> 0.
    MESSAGE E112(PO) WITH STATUS RC ERRMSG.
    ENDIF.
    ENDFORM.
    *& Form GET_PATH
    FORM GET_PATH USING P_FILENAME.
    CLEAR: H_PATH, FILE_NAME.
    FILE_NAME = P_FILENAME.
    CALL FUNCTION 'WS_QUERY'
    EXPORTING
    QUERY = 'CD' "// Current Directory
    IMPORTING
    RETURN = H_PATH.
    CONCATENATE FILE_NAME '.pdf' INTO FILE_NAME.
    CALL FUNCTION 'WS_FILENAME_GET'
    EXPORTING
    DEF_FILENAME = FILE_NAME
    DEF_PATH = H_PATH
    MASK = H_MASK
    MODE = 'O'
    IMPORTING
    FILENAME = FILENAME"dbname
    EXCEPTIONS
    INV_WINSYS = 1
    NO_BATCH = 2
    SELECTION_CANCEL = 3
    SELECTION_ERROR = 4
    OTHERS = 5.
    ENDFORM. " GET_PATH
    <REMOVED BY MODERATOR>
    Edited by: Alvaro Tejada Galindo on Mar 5, 2008 9:50 AM

  • Explorer stalls when trying to save while disconnected from VPN

    I use a VPN to access work files at home with a mapped network drive. Because it limits bandwidth, I keep it disconnected most of the time. However,
    anytime the VPN is disconnected and I try to save a file in Office, or attach a file on Windows Mail, it freezes explorer until I reconnect the VPN even if the last save spot wasn't on the mapped network drive. For whatever reason, since it is a recent save
    location, Windows can't function properly until I'm reconnected to the drive even if I don't intend to save to it. Is there a way to disable windows mail and word from trying to find the disconnected mapped drive and freezing up until I reconnect? It is extremely
    inconvenient to have to reconnect to the VPN anytime I need to use Word or attach a file to an email.

    Hi,
    First, I have tested following things.
    Use process monitor to check the process when saving word file. Noticed that when open the browser explorer, my mapped the drive was explored.
    Considering that this issue can be caused if the explorer.exe hang on browsing the mapped network drive.
    Please Download the process monitor to capture the system events during repro this issue, filter out the winword.exe and navigate the Network Activity, and see if there is any failure.
    Process Monitor v3.05
    http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx
    Using Process Monitor to capture system events
    http://www.sophos.com/en-us/support/knowledgebase/119038.aspx
    Also, check the event log and post back the explorer.exe hang event.
    For further troubleshooting, we need you help to create the explorer.exe hang dump files:
    First enable app crash dump collection by copying following words into notepad, saving it as dump.reg and importing it:
    Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\localdumps\explorer.EXE]
    "DumpFolder"=hex(2):63,00,3a,00,5c,00,63,00,72,00,61,00,73,00,68,00,64,00,75,\
      00,6d,00,70,00,73,00,00,00
    "DumpCount"=dword:00000010
    "DumpType"=dword:00000001
    "CustomDumpFlags"=dword:00000000
    Then, open word to repro the issue. If crash issue appeared, please find the crashdump file under c:\.
    To further help you, please upload this file into Onedrive and shared the link here.
    Kate Li
    TechNet Community Support

Maybe you are looking for

  • Just installed the latest update, now iTunes won't launch

    Hi, iTunes was running perfectly fine, but wouldn't let me access the iTunes store until I installed the latest software update (9.0.2 or something like that). The software installed successfully, but now iTunes won't open. When I click on the icon i

  • Reporting on the difference between to dates

    Hello, I was wondering if anyone has created a report that is able to provide the number of days left untill a date is reached in Opportunity report. This is what i got so far but it isnt working: TimestampDiff (SQL_TSI_DAY, Today(),Opportunity."Clos

  • TOC not in numerical order (RH7)

    My client wants the section numbers from his user manual left in (not stripped out) so that they show up in the help topics. In my Project Manager tab, the topics for the imported chapter files are in the correct numerical order, but in the auto-gene

  • Unable to access the following endpoint(s)

    Hi All,     Here i man unable to invoke the siebel services when i try to access the end point i receving this error and also i added oracle/no_authentication_client_policy also still it's problam please any help on this Non Recoverable System Fault

  • Where are Lightrooms's web gallery templates stored on a Mac?

    I want to re-create a html-web gallery that I used in CS4 and that was integrated in my own website. I wonder where the template are stored i Lightroom on a a Mac, so I'm able to copy and modify them. The possibility for modification inside LR are no