Encrypt file using SSF ABAP

Hi Everyone,
I want to encrypt the file using SSF ABAP. Actually system is not yet installed with SAPCRYPTO software.For this insatllation basis people is required or ABAP people is required?
for that how to do the necessary setting in STRUST in following way :
1. Create Certificate request
2. Send it to Service.sap.com to get Request response
3. Import the Certificate request response to PSE
4. Export the certificate from receiver's PSE
5. Import that certificate to sender's PSE
6. how to test this connections
7. how to get Public & private key
8. how to start with this to encode the file?
Very new to SSF.
Your help will be appriciated.

To install the SapCrypto library, a basis is needed (the library need to be downloaded and pasted to a system directory, then update the system profile settings with sapcrypto's library path)
For informations, take a look to this help:
http://help.sap.com/saphelp_nw2004s/helpdata/en/4d/bf6f77a2c5446a86e0152f1b309db6/frameset.htm

Similar Messages

  • How to upload a pdf file using webdynpro abap

    Hi Experts,
    I need to upload pdf files using webdynpro abap.my question is where to upload this files and how to upload this files, and how to display this pdf file.
    Please Provide Requried Information.
    Waiting for Reply.
    Thanks & Regards.
    Bhushan.

    Hi,
    There is a UI element with the type 'File Upload'.
    You can use that in your view.
    For further details and coding, please refer to
    [http://www.****************/Tutorials/WebDynproABAP/Upload/Page1.htm]
    Hope this helps you.
    Regards,
    Dolly

  • Reading encrypted file using file adapter...

    Is it possible to read and write encrypted file using file adapter or if the file adapter is capable to encryption and decryption?

    what is the soa version you are currently running?

  • How to read the excel file using webdynpro abap?

    Hi,
    how to read and modify excel file using webdynpro abap?
    Regards,
    Pavani

    For reading excel file follow the steps :
    1. Use a File upload UI element and bind it with xstring.
    2. Now your excel will be uploaded and stored in Xstring.
    3. Convert Xstring to String data using FM 'HR_KR_XSTRING_TO_STRING'.
    4. Now split the string at new line so as to make an internal table .
      Ex . SPLIT l_string  AT cl_abap_char_utilities=>newline INTO TABLE it_table.
      here it_table is type table of string.
    5.now loop at the internal table and separate the content of this table separated by tab.
      Ex. SPLIT wa_table AT cl_abap_char_utilities=>horizontal_tab INTO TABLE it_new.
    it_new type string_table.
    6. For more info , refer this thread :
    Re: How to upload excel file in Webdynpro application using ABAP

  • Display pdf file using webdynpro abap

    Hi Friends,
    My requirement is to display pdf file in the second page with the input  text  entered in the fisrt page when clicked on action
    button( in the first page) using webdynpro abap.
    Can anybody explain the step by step procedure as I am new to this area.
    Thanks in advance.
    Reagrds,
    Nagaraju

    Hi,
    Check this.,
    Creating a PDF file in webdynpro abap.
    Web Dynpro ABAP display pdf
    hope this helps u.,
    Thanks & Regards
    Kiran

  • How to transfer encrypted file using B2B sftp with custom doc over generic

    hi ,
    we have a requirement to get and send an encrypted file to/from our trading partner.
    Previously we configured B2B sftp with custom doc. over generic exchange protocol to get a text file and used 1st 11 charecters in the file as identifier for the TPA configuration and successfully processed the file. Since we are getting an encrypted file , we need to find a way to identify the TPA config. .
    Please reply to this thread if you have any suggestions. Pls. feel free to ask if you need more information to understand the situation.
    thanks
    srini

    hi Ramesh,
    I have sent mail to you . We are actually using file name convensions but we are using internal delivery as B2B InQuueue . And when we use custom document over generic exchange , in the paramenters we do not see any file name property. i hava also sent you the TPA so that you can get idea of the configuration we did.
    thanks
    Srini

  • How do I open an excel encrypted file using numbers?

    I have a USB memory stick that contains an .xlsx that is encrypted. I have the password. Can I open it with numbers?
    Thanks.

    No.
    Regards,
    Barry

  • STRUST general setting for SSF ABAP

    Hi All,
    I am using SSF ABAP for the encryption for that there is some settings requires in STRUST transaction can anyone let me know the exact steps and  prerequisite require for that .
    Thanks
    Ashutosh

    Hi Ashutosh,
    Have a look at following note,
    510007 - Setting up SSL on Web Application Server ABAP
    which helps you in set up of SSL.
    Regards,
    Meera

  • Windows 7 problem with EFS (Encrypting file system)

    Hello colleagues!
    I think this topic is related more to the security.
    The problem is a bit unusual and google doesn't give me a clear answers, but maybe anyone came across
    with similar problem...
    In general, I suspect that my problem is EFS (Encrypting file system), ie
    service that automatically encrypts files using a digital signature (certificate).
    A little background:
    - On the work PC it was necessary to reinstall
    the system, according to corporate rules all the content we have is encrypted using EFS (Encrypted files are highlighted with green color as you know).
    I have copied all the data on a portable drive and also copied the certificates (certmgr.msc).
    The system was reinstalled. The only change - it was x32 and became x64.
    - It was necessary to free up some space on the hard drive (the file
    system on it is NTFS), so,  I temporary copied all the files on my home PC. My work certificate was installed on it too, because
    I work from home
    sometimes.
    When the  work PC was repaired, I've moved all the files back in
    the same way (ie on the portable HDD, then to the work PC).
    All files were working, but when I needed MS Word documents, it became clear that something was wrong.
    When I've opened the document, it gaveme a window with weird symbols and prompts me to select the encoding ... of course -
    no encoding was fit.
    Started to explore all the documents, it appears that some part of them were working,
    someof them not - all the old documents were working, ie the ones, which
    were created before deploying EFS (newly created or copied files immediately encrypted).
    So, now I am sure that the
    documents were somehow re-encrypted, at least on a portable hard drive, they do not look as encrypted (not highlighted in green), but it's still not open.
    Completely stopped opening all the documents that have
    been encrypted (for all types of files, ie it is not just an MS Word, but also pdf, presentations, charts, and even the pictures).
    Tell me, who faced similar?
    How can it all back? I have no possibility to restore those documents from another sources.

    Try copy those corrupted files and make sure you are using the same certificate and then re-encrypt the copied files and try decrypt them.
    If possible, use the same account as you used for encryption.

  • Decrypt file using AES(32) by java program ?

    I have encrypted file using AES 32 bit and i have key. So I want to decrypt the file using Java program/ cryptography standards with that key.
    Anybody help highly appreciated.

    Yes that would make sense, cheers:
                 fw2.write("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"");
                 fw2.write("\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">");
                   fw2.write("<html>");
                   fw2.write("<head>");
                   fw2.write("<title>Output</title>");
                   fw2.write("<link href=\"Styles.css\" rel=\"stylesheet\" type=\"text/css\">");
                   fw2.write("</head>");
                   fw2.write("<body>");
                   fw2.write("<div id='Border'>");
                   fw2.write("<div id='Background'>");
                   searchForSubFolder(file);
                   fw2.write("</div>");
                   fw2.write("</div>");
                   fw2.write("</body>");
                   fw2.write("</html>");This is working to some extent although the formatting from the css file is not working. Any ideas why this is? I am using divs determined by thee css to do things like the background colour.
    Thanks

  • How Encrypt a File Using Key?

    Hi Guys,
    Here is my problem. I have to create a bank's document encrypted to send to a legacy system. ( Using a KEY to validate the roll process)
    I'm thinking to use two scenarios:
    1 - Generate the file via ABAP and sent it to a folder in a server to be consuming - SAP ERP.
    2 - Generate the file via ABAP, sent it to PI encrypt it via Java Mapping and sent it to a server.
    ABAP
    First question.
    There is a way to generate this file using SHA1 using a Key as parameter?
    (CALCULATE_HASH_FOR_CHAR)
    Second one.
    How can I decrypt this file to test?
    Third.
    There is others ways to encrypt a file via SAP ERP? UTF-8 and BASE32 are not encrypt codes. They are encoding code.
    PI
    First
    There is a library or other way to encrypt a file without implement a Java Mapping?
    Tnks.

    > There is a way to generate this file using SHA1 using a Key as parameter?
    Why don't you simple search the forum with "SHA1" term, you'd get the answer in an instant
    > How can I decrypt this file to test?
    > There is others ways to encrypt a file via SAP ERP? UTF-8 and BASE32 are not encrypt codes. They are encoding code.
    What encryption do you need?
    > But I would like to know if are these methods algorithms as DES, AES, RSA... or others ?
    Couldn't you say it at the beginning!
    By simply looking at CL_HARD_WIRED_ENCRYPTOR methods, we see that the encryption mechanism is very simple (I'm not expert so I can't tell what it is), I wouldn't rely on it...
    I recommend you to read [Note 662340 - SSF Encryption Using the SAPCryptolib|http://service.sap.com/sap/support/notes/662340]. There are also some documentation, security guides on sap library and sap marketplace.
    Edited by: Sandra Rossi on Jul 13, 2010 6:51 PM

  • Encrypt and Decrypt files using PGP and GPG

    Dear members, We have a customer that need to process files received through sFTP, FTPs and FTP over SSL encrypted with PGP and GPG methods.
    We Know that those encryption Method are not supported out of the box in Oracle SOA Suite and WCC but We need to Know if some of you have some workaround about that, maybe using a valve in FTP adapter, B2B or any other method in WCC.
    Thanks in advance

    >
    Meiying Yang wrote:
    > I have scenarions FTP-->ABAP proxy and ABAP proxy --> FTP. I need to put and get encrypted files to and from FTP server. Does anybody know how I can decrypt file when I get it from FTP server and encrypt file before I send to FTP server? Thanks.
    Hi,
    Have a look at these blogs.It would be helpful.
    1. SAP XI/PI Encode Outgoing Payload using Adapter Module
    /people/farooq.farooqui3/blog/2008/09/24/sap-xipi-encode-outgoing-payload-using-adapter-module
    2. Decode Base64 Incoming Encoded information in SAP XI/PI using Java Mapping
    /people/farooq.farooqui3/blog/2008/05/22/decode-base64-incoming-encoded-information-in-sap-xipi-using-java-mapping
    Regards,
    Chandra

  • Encrypt a text file using certificates

    Hello,
    I am trying to encrypt a file using the certificate uploaded through STRUST. But while encrypting I am getting an error, "SSF_API_UNKNOWN_SECTK_ERROR".
    I am using the program SSF01.
    Request your assistance to resolve this issue.
    Also attaching the input screen and output screen screenshots.
    Thanks and Regards,
    Debanjan Das

    Have you properly setup SAP Cryptographic Library on the Application Server? How was the certificate created which you imported into STRUST? See SAP note 662340 for setting up SSF encryption. SAP note 800240 might help you troubleshoot the problems you are having.
    https://service.sap.com/sap/support/notes/662340
    https://service.sap.com/sap/support/notes/800240

  • How to encrypt file on linux using Gnupg command in Java Embedding in BPEL.

    Hi All,
    I am trying to invoke a command script using the java embedding in BPEL Process.I am using the below code to execute the particular command to encrypt the file :-
    try {    
            Runtime rt = Runtime.getRuntime();    
    Process pr = rt.exec(new String[] {"/bin/bash", "-c", "/u01/GnuPG/bin/gpg", "-e", "-r", "Developer","/u01/oracle/ConfigFiles/Adapter_controlDir/abc.csv"});    
             int exitVal = pr.waitFor();            
            String result = "SUCCESS: Process exit with " + exitVal;         
            addAuditTrailEntry("result = "+result);      
            setVariableData("outputVariable","payload","/client:processResponse/client:result",result);    
    } catch(Exception e) {    
            e.printStackTrace();      
      String result = "FAILURE: Exception with " + e.toString();    
            addAuditTrailEntry("result = "+result);      
            setVariableData("outputVariable","payload","/client:processResponse/client:result",result);    
    The above statement does nothing. I am not sure what command i need to use to access to the command line.
    When i try this particular statement from linux machine command prompt :- /u01/GnuPG/bin/gpg -e  -r  Developer /u01/oracle/ConfigFiles/Adapter_controlDir/abc.csv
    It works absolutely fine and it creates the encrypted files also.
    Please suggest , which command i need to use from the java embedding.
    Please suggest!!
    Regards,
    Shah

    I think, you can try, writing these commands into a separate shell script and call that shell script from bpel via Java embedding. However, you might not get a return response.. but you can still give a shot.
    Hope it helps.

  • How to upload an excel file using ABAP.

    Hi,
    Can anyone please help me in understanding how to upload an excel file using ABAP.
    Thanks!!

    http://diocio.wordpress.com/2007/02/12/sap-upload-excel-document-into-internal-table/
    check the link
    TYPES: Begin of t_record,
    name1 like itab-value,
    name2 like itab-value,
    age   like itab-value,
    End of t_record.
    DATA: it_record type standard table of t_record initial size 0,
    wa_record type t_record.
    DATA: gd_currentrow type i.
    *Selection Screen Declaration
    PARAMETER p_infile like rlgrap-filename.
    *START OF SELECTION
    call function ‘ALSM_EXCEL_TO_INTERNAL_TABLE’
    exporting
    filename                = p_infile
    i_begin_col             = ‘1&#8242;
    i_begin_row             = ‘2&#8242;  “Do not require headings
    i_end_col               = ‘14&#8242;
    i_end_row               = ‘31&#8242;
    tables
    intern                  = itab
    exceptions
    inconsistent_parameters = 1
    upload_ole              = 2
    others                  = 3.
    if sy-subrc <> 0.
    message e010(zz) with text-001. “Problem uploading Excel Spreadsheet
    endif.
    Sort table by rows and colums
    sort itab by row col.
    Get first row retrieved
    read table itab index 1.
    Set first row retrieved to current row
    gd_currentrow = itab-row.
    loop at itab.
      Reset values for next row
    if itab-row ne gd_currentrow.
    append wa_record to it_record.
    clear wa_record.
    gd_currentrow = itab-row.
    endif.
    case itab-col.
    when ‘0001&#8242;.                              “First name
    wa_record-name1 = itab-value.
    when ‘0002&#8242;.                              “Surname
    wa_record-name2 = itab-value.
    when ‘0003&#8242;.                              “Age
    wa_record-age   = itab-value.
    endcase.
    endloop.
    append wa_record to it_record.
    *!! Excel data is now contained within the internal table IT_RECORD
    Display report data for illustration purposes
    loop at it_record into wa_record.
    write:/     sy-vline,
    (10) wa_record-name1, sy-vline,
    (10) wa_record-name2, sy-vline,
    (10) wa_record-age, sy-vline.
    endloop.

Maybe you are looking for

  • Setting System Date for the Deadline branch of a block

    Hi, We have a IDocs->XI->File scenario. We need to collect the idocs coming from ISU system and do a N:1 mapping into a single file. We need to end the collection process everyday at a particular time... In ABAP workflows if we are using a block for

  • N8 Conversations - Another annoying bug

    I've found that using the Conversations as the default message view, while composing SMS and hitting send, the N8 takes the message being sent as a multiple part long SMS ever for messages which are just 2 characters long.  Like I was saying "Ok cool

  • "Multiple Reports per Retrieval not Supported" Error

    I would like to create multiple reports on a single tab and refresh the data with one action. Is there a way I can set up the cube to enable this or am I stuck writing macros?Thnx

  • Fill in all required entry fields Message no. 00055

    Hi, I am facing the Bdoc ,BUPA_MAIN error Fill in all required entry fields Message no. 00055.The scenario is BP will replicate from CRM 2007 to  ECC 6.0. Where this is particularerly prospect role the above error is coming. Some of the prospects are

  • Atan2 equivalent in a Formula Node?

    Does anyone have an atan2 (2-input inverse arctangent) equivalent for use in a Formula Node? I was surprised to see that such a common function wasn't supported in Formula Nodes. Without it, my easily readable Formula Node equations get junked and be