Send email with password protected zip file attachment

Hi Experts,
The requirement is to zip a password protected excel file and send the zipfile through email. There is no middleware(PI) involved. The program has to be run in background mode. It is possible to create a password protected excel file using OLE method, but it will not work in background mode.
Also it is possible to place the zip file in application server, but I am not able to give password for this file.
Any help would be greatly appreciated.
Regards,
Renjith Nair

Hi,
You have to write a customer adapter module to handle this requirement.
Zip/Unzip can be done using the payloadzipbean standard module:
http://help.sap.com/saphelp_nw04/helpdata/en/45/da9358a1772e97e10000000a155369/content.htm
/people/stefan.grube/blog/2007/02/20/working-with-the-payloadzipbean-module-of-the-xi-adapter-framework
Is encoding an option instead of password for you:
/people/farooq.farooqui3/blog/2008/09/24/sap-xipi-encode-outgoing-payload-using-adapter-module

Similar Messages

  • Sending HR-File as email by the ABAP program as password protected ZIP file

    Hi All,
    My requiremet is to directly email the SAP-HR files to the users as the password protected ZIP file on UNIX.
    Can anyone help me out how to implement this in my ABAP program.
    Regards,
    Saumik

    hi,
    To populate data in different column you may use the below code.
    DATA : filename TYPE string VALUE  "Path
    DATA :BEGIN OF wa_string,
                   data TYPE string,
              END OF wa_string.
    DATA : it_data LIKE STANDARD TABLE OF wa_string,
               data  TYPE string.
    DATA: v_tab TYPE char1.
    v_tab = cl_abap_char_utilities=>horizontal_tab.
    CONCATENATE 'happy' 'new year'  INTO wa_string-data SEPARATED BY v_tab.
    APPEND wa_string TO it_data .
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
        filename              = filename
      TABLES
        data_tab              = it_data.
    IF sy-subrc <> 0.
    ENDIF.

  • Sending PDF thru email with password protection in our SAP system

    Need solution for sending PDF thru email with password protection in our SAP ecc 6

    Or maybe you have found any other way? You can check here:
    Password protect PDF file:
    Re: Password protected PDF file 
    pdf with password encryption
    Regards Otto

  • Command for Unzipping a password protected zip file in Solaris

    Hi,
    I got a requirement where I need unzip a password protected zip file using java in Solaris.I tried with
    unzip -P but it is not working in India and Australia (may be I need to download some patch). Can any one help me to find out the solution.
    Thanks
    Naresh

    Hi peterchun,
    Thanks for your reply.
    I was trying with correct password only but my Solaris is not able to recognize unzip -P command. Can you please let me know whether I need to install any patch on Solaris (my Solaris version is 9) for this command.
    Basic requirement: password protected zip files comes to our application and those need to be unzipped to one particular location. As we are using JAVA/J2EE in our application, Can you please suggest any UNIX command (with example) for this requirement will be great.
    Thanks,
    Naresh

  • Generate password protected zip file

    Hi,
    I have a requirement of creating password protected zip file.
    Any guidance would much appreciate.
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    Thanks in advance
    Prashant

    Dear,
    I've complied mentioned code but it showed below mentioned error.
    Warning: Package Body created with compilation errors.
    SQL> show err
    Errors for PACKAGE BODY AS_ZIP3:
    LINE/COL ERROR
    67/5     PL/SQL: Statement ignored
    67/15    PLS-00201: identifier 'DBMS_CRYPTO' must be declared
    70/7     PL/SQL: Statement ignored
    70/16    PLS-00201: identifier 'DBMS_CRYPTO' must be declared
    74/9     PL/SQL: Statement ignored
    74/18    PLS-00201: identifier 'DBMS_CRYPTO' must be declared
    92/7     PL/SQL: Statement ignored
    92/42    PLS-00201: identifier 'DBMS_CRYPTO' must be declared
    97/5     PL/SQL: Statement ignored
    97/14    PLS-00201: identifier 'DBMS_CRYPTO' must be declared
    SQL>
    Thanks,
    Prashant

  • Library that will let one create a password protected zip file

    Hello All, In my last post, I was not clear, in the explanation of my requirement so that could be a reason for no replies
    I wanted to know whether there are any Java libraries that I can use to create a password protected zip file which will be recognized by WINZIP
    Will hope to hear back .
    Thanks again

    Thanks for the mail and information. So, from my
    understanding, there are no Java libraries thatare
    free that will let you create a password protected
    zip file that WINZIP recognises.
    Please let me know.
    ThanksThere might be free Java APIs that could do that. I
    just stated that I have not come across any. You can
    google and see if you can find any free APIs.
    The other way to do it is to write your own code for
    password protecting the zip files created by
    java.util.zip. A more time consuming solution but a
    solution nonetheless. But with this solution you
    would run into the problem of compatibility with
    winzip.
    Another solution would be to see if you can dig out
    some command based zip utility (I am not sure if
    there is one available for Windows but gzip comes to
    mind on Unix based systems) and use Runtime.exce()
    from your java source code to execute that command.
    I am not aware of any other solution. Hope this helps.thanks again for the reply.
    Can you throw more light on this statement
    "Another solution would be to see if you can dig out some command based zip utility (I am not sure if there is one available for Windows but gzip comes to mind on Unix based systems) and use Runtime.exce() from your java source code to execute that command."
    regarding the command based zip utility, does this provide a password protected zip file, so that winzip will understand and encode it?.
    Please let me know.
    Thanks

  • How create encrypted/password-protected zip file?

    Any idea if there's a way with the Java API to create an encrypted and password-protected ZIP file? I know how to create a zip file with Java, but I need encryption and password protection.

    Thanks for the link, but that's not a solution. It's 3 years old (and still not resolved) and I'm looking for a Java solution.

  • Password Protected Zip Files

    i have recieved a number of password protected zip files which the unzip utility in osx leopard will not open. (i have the correct password).
    i've downloaded a couple of smallish utilities from the download area but they don't seem to be able to accept a password either.
    would someone be kind enough to point me towards a download (hopefully on the apple site) which can accept a password to open a zip file.
    thanks to all.
    ps-in the interests of futility i did try my unrarx application on an off chance it would work. it didn't.

    Here's some you could try. The first two links are to zip utilities for OS X. I can't tell you if they'll do what you need, I just looked for zip programs that work in OS X.
    The third link is for the free Stuffit Expander. The last link is the results for "zip" at VersionTracker. You'll just have to try a bunch of them to find one that hopefully works.
    http://mac.softpedia.com/get/Utilities/MacZi.shtml
    http://www.maczipit.com/download.html
    http://my.smithmicro.com/mac/stuffit/expander.html
    http://www.versiontracker.com/php/qs.php?mode=basic&action=search&str=zip&srchAr ea=macosx&submit=Go

  • Creating/Extracting password protected zip files in AIR

    Hello,
    Does any one have any idea about creating/extracting password protected zip files in AIR. I am aware of FZip but it does not has the feature to password protect.
    Any help would be appreciated.
    Thank you
    VinSat

    Here's some you could try. The first two links are to zip utilities for OS X. I can't tell you if they'll do what you need, I just looked for zip programs that work in OS X.
    The third link is for the free Stuffit Expander. The last link is the results for "zip" at VersionTracker. You'll just have to try a bunch of them to find one that hopefully works.
    http://mac.softpedia.com/get/Utilities/MacZi.shtml
    http://www.maczipit.com/download.html
    http://my.smithmicro.com/mac/stuffit/expander.html
    http://www.versiontracker.com/php/qs.php?mode=basic&action=search&str=zip&srchAr ea=macosx&submit=Go

  • ADE Not Compatible With Password Protected PDF Files

    The version of ADE I downloaded will not work with password protected PDF files.  What do I do?
    Thanks.

    ADE does not (yet) support files that use the Password Security handler, so you will want to use a different PDF viewer, such as Adobe Reader.

  • Extracting a Password Protected zip file

    Can anybody help me to extract a password protected zip file? Using java code or any third party API...??

    Can anybody help me to extract a password protected zip file?You'll need the password ;)
    Using java code nope
    any third party API...?? Yup.

  • OBIEE 11g having problems with password protected PDF files.

    I have been able to get an analysis in OBIEE 11g to display PDF files.
    However, some of these documents contain sensitive information and must be secured. Since anyone with access to the file name
    could simply type in the proper path in the browser window, this is unacceptable. In order to try and prevent this, I created a pdf file
    that is protected with a password.
    Opening the file by itself, produces the desired results. The password is requested before the file will open.
    When I open the file through my analysis in OBIEE, Adobe reader activates, but the password is not requested and the file does not open.
    It is as if OBIEE is somehow not sensing that Adobee is asking for a password.
    Does anyone have any experience with this?

    FYI, in case anyone is interested, I found out what is going on.
    I created the original password protected PDF using Microsoft Word. I did this because I do not have a full version of Adobe Acrobat that allows me to create files.
    On a hunch, I found someone that has a full version of Acrobat, and had them create a password protected PDF file. This file worked perfectly.
    Apparently, Word is not strictly adhering to PDF guidelines, and OBIEE senses the differences, resulting in the file not opening properly.
    Something to keep in mind for anyone linking to password protected PDF files in OBIEE.

  • Password Protected .zip file for DropBox?

    How can I create a password protected zip folder to place on dropbox that is accessible by mac and pc users?

    folder, not file.

  • IPad to wireless printer with password protected pdf files?

    I have a iPad 2 connected wirelessly to a HP Photosmart 6520. I usually have no problem printing a variety of file and docs....including pdf files. My friend sent me some password protected PDF files today. I have the password and can open them just fine....but I can't get them to print. It just ignores me (no error message). Any suggestions?

    FYI, in case anyone is interested, I found out what is going on.
    I created the original password protected PDF using Microsoft Word. I did this because I do not have a full version of Adobe Acrobat that allows me to create files.
    On a hunch, I found someone that has a full version of Acrobat, and had them create a password protected PDF file. This file worked perfectly.
    Apparently, Word is not strictly adhering to PDF guidelines, and OBIEE senses the differences, resulting in the file not opening properly.
    Something to keep in mind for anyone linking to password protected PDF files in OBIEE.

  • Excel file attachment to email with password protection

    Hi Experts,
    I have a req. to run an payroll interface and send the o/p to email ids as password protected excel attachment.
    Searched in the SDN and found the way to generate excel files with protection in presentation server. But as the job would be run in background, presentation server file will not help in this case.
    Please let me know if someone has come across with similar situation and have any solution. After many research and searching in SDN also I did not get any good solution. Please let me know if any of you have any solution.  
    Thanks & Regards,
    Manas

    Hey Manas,
    Try this.....
    -> [ Password protection for excel file - not urgent|Password protection for excel file - not urgent]
    -> [http://wiki.sdn.sap.com/wiki/display/Snippets/DownloadDataintoMultipleSheetExcelDocumentwithNonEditableColumns%28Passwordprotected%29UsingABAPOLE|http://wiki.sdn.sap.com/wiki/display/Snippets/DownloadDataintoMultipleSheetExcelDocumentwithNonEditableColumns%28Passwordprotected%29UsingABAPOLE]
    Hope it helps!!
    Thanks,
    Muktar

Maybe you are looking for

  • Connecting to a home stereo

    I connected my 5th generation ipod to my home stereo aux jacks with a monster icable. There is no sound when the ipod is playing, but there is still sound when I listen to the ipod with headphones. How can I fix this?

  • Customer Refund - Customer Deposit

    Dear Experts, Here we have one scenario - We received 25000 INR Advance from Customer and Recorded Deposit, Customer used 20000 INR from Deposit, Now we have to refund 5000 INR to Customer what is the detail process we have to follow to do Customer R

  • Problem with hal[hal 0.5.2-3]

    i test ubuntu5.04[gnome] and when put a pendrive add automatic entry in mtab but in arch not[kde], so, try an lshal in ubuntu and not problem, but in arch are problems: lshal version 0.5.2 *** [DIE] lshal.c:dump_devices():72 : Couldn't obtain list of

  • Preview images not visible in Import dialog box

    I can't see images when Importing RAW files from Nikon D80. "Show Preview" is checked. I see a file marker and the filename. Import functions okay otherwise. Do I need Camera Raw 3.7 in Lightroom? I have it in Elements 5.0.

  • Cannot open any thing on Mac book

    I accidently put 6000 pictures on my desktop and everything is frozen ??  Any ideas appreciated