How do to encrypt a file in sAP

hi guys,
           How can we encrypt  a file in SAP.The input file has a extention of .csv
          Can anyone provide help about this Topic . I would be really greatful to any help .
Thanks in advance

hi,
May be you can try these FM.
Use the following FM to encrypt
CALL FUNCTION 'FIEB_PASSWORD_ENCRYPT'
Use the following FM to decrypt
CALL FUNCTION 'FIEB_PASSWORD_DECRYPT'
Hope this is helpful, Do reward.

Similar Messages

  • How to upload a Flat file into sap database if the file is in Appl'n Server

    Hello Sap Experts , Can you tel me
    " How to upload a Flat file into sap database if the file is in Application Server.
    what is Path for that ?
    Plz Tel Me its Urgent
    Thanks for all

    Hi,
    ABAP code for uploading a TAB delimited file into an internal table. See code below for structures.
    *& Report  ZUPLOADTAB                                                  *
    *& Example of Uploading tab delimited file                             *
    REPORT  zuploadtab                    .
    PARAMETERS: p_infile  LIKE rlgrap-filename
                            OBLIGATORY DEFAULT  '/usr/sap/'..
    DATA: ld_file LIKE rlgrap-filename.
    *Internal tabe to store upload data
    TYPES: BEGIN OF t_record,
        name1 like pa0002-VORNA,
        name2 like pa0002-name2,
        age   type i,
        END OF t_record.
    DATA: it_record TYPE STANDARD TABLE OF t_record INITIAL SIZE 0,
          wa_record TYPE t_record.
    *Text version of data table
    TYPES: begin of t_uploadtxt,
      name1(10) type c,
      name2(15) type c,
      age(5)  type c,
    end of t_uploadtxt.
    DATA: wa_uploadtxt TYPE t_uploadtxt.
    *String value to data in initially.
    DATA: wa_string(255) type c.
    constants: con_tab TYPE x VALUE '09'.
    *If you have Unicode check active in program attributes then you will
    *need to declare constants as follows:
    *class cl_abap_char_utilities definition load.
    *constants:
    *    con_tab  type c value cl_abap_char_utilities=>HORIZONTAL_TAB.
    *START-OF-SELECTION
    START-OF-SELECTION.
    ld_file = p_infile.
    OPEN DATASET ld_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
    IF sy-subrc NE 0.
    ELSE.
      DO.
        CLEAR: wa_string, wa_uploadtxt.
        READ DATASET ld_file INTO wa_string.
        IF sy-subrc NE 0.
          EXIT.
        ELSE.
          SPLIT wa_string AT con_tab INTO wa_uploadtxt-name1
                                          wa_uploadtxt-name2
                                          wa_uploadtxt-age.
          MOVE-CORRESPONDING wa_uploadtxt TO wa_upload.
          APPEND wa_upload TO it_record.
        ENDIF.
      ENDDO.
      CLOSE DATASET ld_file.
    ENDIF.
    *END-OF-SELECTION
    END-OF-SELECTION.
    *!! Text 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.

  • How do I create rules files in Sap Data Services

    Hello Guys,
    I'm new with Bo Sap Development Data Services, and am migrating SSIS packages 2008 for the bods.
    I am studying the process of cleanup and word processing via bods.
    But I noticed that my installation does not have Rules Files.
    My question is:
    How do I create rules files in Sap Data Services library with support for Portuguese?

    Hello Ramana,
    So with version 4.2 of Sap Data Services do not currently have the rules files?
    How to mount files for text comparison Cleanse facing Addresses, Names, Clients, Companies? If you can give me some help link?
    Thanks again ...

  • How do I upload XML files into sap table?

    Dear all,
    I found some methods that upload xml into SAP,
    but there doesn’t work under 4.6c.
    Can someone tell me how to upload XML files into
    sap under 4.6c?
    THX!

    hi,
    You can convert XML to abap using transformations. Simple transformations is a proprietary SAP programming language that describes the transformation of ABAP data to XML (serialization) and from XML to ABAP data (deserialization).
    goto SE80->workbench->edit object(or other objects)->in object selection chose more tab and then choose the transformation radio button and write a name and click create new.
    Here you enter your transformation like
    <xsl:transform version="1.0"
      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
      xmlns:sap="http://www.sap.com/sapxsl"
    >
    <xsl:strip-space elements="*"/>
    <xsl:template match="/">
      <xsl:copy-of select="."/>
    </xsl:template>
    </xsl:transform>
    You can use this transfomation in your program using call transformation. You can find more info on call transformation in help.
    Hope this helps.
    Regards,
    Richa

  • How to read KNE format file in SAP

    Hi All,
    Our requirement is to read KNE format file (contains accouting information generated from DATEV) in SAP. Could you please help me, how to do this?
    Thanks in advance.
    Sameer

    Hi Shinde,
    Basically we have to following file conversion types that are supported in SAP.
    'BIN' , 'ASC' , ''DAT' , ''DBF' , 'WK1' and 'VSS'.
    try to convert 'KNE' format file into sap supported file format.
    Thanks

  • How to upload MS-Project file in SAP

    Want to upload Ms Project file in sap how to do this tried with ws_upload but not succeded.
    pl. tell

    Abhishek,
    You can use Open PS -Add On to upload MS project file into SAP.
    This is available on the service market place under the below mentioned path;
    Support Packages and Patches->Supplementary Components for Cross Industry Solutions-> Project Management-> OpenPS->OPENPS FOR MS PROJECT
    Hope this helps
    Cheers
    Sreenivas

  • Can anybody help how to upload an excel file into sap-crm urgent

    hi guys,
    i need the right function module to upload the excel file from the presentation server in to sap-crm.
    1) I know we use the function module 'ALSM_EXCEL_TO_INT_TABLE' in sap-r/3 but this function module is not exist in sap-crm.
    2) i tried with the function moduel 'GUI_UPLOAD' but its not uploading correctly i am gettting hases(#).
    Please can any one provide the right function module to upload the excel into sap-crm with an sample code.
    thanks
    viswa guntha

    Hi Visma,
    Please check this link for sample custom FM.
    Re: function mudule for MS excel file to sap crm
    Hope this will help.
    Regards,
    Ferry Lianto
    Please reward points if helpful as away to say thanks.

  • How can we encrypt XML files

    Hello!
    I need to encrypt xml file.I am treating it as a normal file and used DES algo to encrypt it.But I a getting some unwanted characters in the file after I decrypt the encrypted file .I am doing it without saving in file (like printing value on console)and I am getting it correct.Can any body please help?

    Then you are doing something wrong. But it's impossible to tell what, because you have not provided any details about what you are doing. Would you like to provide some?

  • How to play Encrypted video File In Adobe Air Video Player

    Hello Friends
                          I am making A custom video player in adobe air.in which video path comes from xml stored in ur system.but that xml contains the encrypted path of all video file.I have to make a video player in adobe air which First Decrypt that enncryped file to get original FLV files and then play them.I mean All the decryption logic is implemented at our side(Action Scripting).So can And Any body please guide me that is there any Flash/Flex Inbuilt Api for Decryption.If Yes Then Please Guide me,Its very Intersting and new task.I am Attaching the pictorial view for that.
    Thanks And Regards
        Vineet osho

    Guys
               i am giving more information about this tool.hope it will clear more picture.i have to use DRMManager class for decrypting that video file.
    here is the link i am following.
    http://help.adobe.com/en_US/AIR/1.5/devappsflex/WS5b3ccc516d4fbf351e63e3d118676a5be7-8000. html
    after that i also follow the link:-
    http://www.ezdrm.com/html/Adobe/FMRMS/about_FMRMS.asp
    i have to make almost similar application just like adobe media player.So please give me any idea about what to do and how to start the application in adobe air.
    Thanks And Regards
      Vineet Osho

  • How to send a XML file from  SAP    to   WEB SERVICE

    Hi folks,
    i m creating a XML file with purchase order data, while saving the purchase order.now i need to send this XML file to some WEB SERVICE i.e to some perticular address in WEB.
    can anyone give the step by step procedure to do this web service configuration? it's really urgent.
    points must be awarded.
    Thanks & Regards
      pabitra

    Hi all,
    i need to send some purchase order data from SAP to WEB SERVICE. while saving the purchase order, i want to send some data from SAP to WEB SERVICE ( a perticular address in WEB).
    i want to see those datas in xml format in WEB.
    Now i am using SAP 4.7 version. Is this web service configuration is possible or not?
    In SE37, i can not see the CREATE WEB SERVICE option in utilitities--> More utilities menu.is it possible in 4.7???
    can anyone give any suggestion ? it's very urgent.
    Thnaks
    pabitra

  • How to process Idoc status file within Sap?

    Hi All,
    We would like to process received status file to update the sent IDOC's. Our current setup is that we send/push  the Outbound Idoc to external EDI sub system and pull the status file for processed Idoc from external EDI system to our R/3 server.
    Sap Documentation explains the scenario, where this process is triggered from external system using startrfc program, whereas our scenario is to trigger the status update process, once the file is pulled to our system from unix using edi_status_incoming function module.
    Your anwers are much appreciated.
    Kind Regards,
    Sandhya

    Hi Sandhya,
    Once the Idocs are sent to the EDI Subsystem, the SAP will have the status that the Idoc has reached the partner sub system. I hope, the workflow should be able to trigger back the status file to the SAP System after the Idoc is processed at the EDI Subsystem.
    Please check with the workflow that is attached.
    Else, if this is using the FM or Message Control, then check the configuration under MN04.
    I'm also trying to find the solution for the same.
    Regards,
    -Syed.

  • How to update microsoft original files from SAP fields?

    Hi everyone,
    I have a Microsoft document with a field code sentence as following:
    { LINK SAP.OLELinkServer.ItemObject.1 SAPOLELINKSERVERDMS Document.DRAW.DOKNR \a \t  \* MERGEFORMAT }
    I have attached this word document as an original document y a SAP DMS Document.
    Anyway, the original document is never updated with the document number.
    I would be very grateful if someone could explain what I am doing wrong and which steps should I follow.
    Thanks in advance and best regards.
    Ben.

    Hi Nitin,
    Could you please give some further information about how to create those macros you wrote about?
    Thanks a lot for your valuable help.
    Ben.

  • How can I convert a file in SAP RDI format?

    HI All,
    I have to convert the data which is to be passed to the Smartform into RDI format.
    I am using Application form (Print Workbench)
    for sending data to smartform.
    Is there any Function Module for converting data into SAP RDI format?
    Should I write this FM in User-exit of application form?
    Thanks & Regards,
    Anshumita.

    HI
    GOOD
    I NEVER FACED SUCH KIND OF ISSUES, BUT HERE I AM GIVING SOME DETAILS ABOUT SAP RDI FORMAT,I HOPE THIS WILL HELP YOU TO SOLVE YOUR PROBLEM.
    Description
    Using the SAPscript Raw Data Interface (RDI), you can connect external text management systems to control individual requests, for example, optimizing postage expense. The interface contains all form data from the R/3 System, but no layout information such as font or page size. The external system alone is responsible for the layout and administration of the document data. The RDI is of special importance for mail processing. The external system sorts the document data from the interface and forwards the documents accordingly.
    The Raw Data Interface is a certified interface and allows easy connection to external systems. However, you pay the price for this extra function, as you lose tight integration with the R/3 System. For example, you cannot find out from within an R/3 application whether the external system successfully printed and sent the documents. In addition, extra expense is incurred each time you adapt a standard form, since the system has to adapt both an internal and external form. The external tool is not an integral part of the ABAP Development Workbench, so that field information (field type, output length and so on) from the ABAP Dictionary is not available.
    THANKS
    MRUTYUN

  • How to create an excel file from SAP?

    I needed to create an excel file(with out data) format with fields read from a table.

    check FM
    EXCEL_OLE_STANDARD_DAT
    Regards
    prabhu

  • 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

Maybe you are looking for

  • How to enter two different ED% in J1ID

    Hi All, For a single material code which is having two different ED%, how to enter Exceptional ED% in transaction code J1ID. For ex: Material no. XYZ is procured with material type 123 and 789 which is having different ED% of 8.13% and 8.14%. Regards

  • How to set different row - column visibility attribute

    Hi all:    I have one table in webdynpro for java. For example it have 4 rows, I need to set one column as different visible for row 1st and row 2nd .            column1   column2 row1      x               - row2      -               x Can I set it ?

  • Drag and drop from CFSELECT

    Hello, Does anyone know of a way to create a Drag-and-Drop event between two CFSELECT boxes? Thanks, Steve

  • Convert bidder to vendor in ECS

    Hello all, We are using SRM 5.0 (SRM SERVER 5.5 SP13) in the extended classic scenario. We create vendors in ECC and replicate them to SRM using the vendor sync program so they have the same business partner number in SRM as the ECC vendor number. We

  • Show document in peolpesoft

    hi, i am writing in a document .txt in applcation engine.at the end of my program i want to show this data in the web browser. is there any function or possibility to show this data in a web page. sincerly.