Hash value in my DME file...

Hi all,
I am not sure if this issue I am suppose to issue an OSS to SAP or there is an existing OSS notes...
Recently, we had an upgrade from 4.6c to ECC6, and of course unicode conversion were carried off. After the upgrade, my DME (RFFOM100 program) is generating '#' value in all my DME file. This cause the bank to reject my file.
1. I'd search the service marketplace on this issue... but I can't find any OSS notes to this.
2. I'd tried debugging the program... and the coding is SAP standard that put '#' into all character space of my file.
3. I am not sure if its UNICODE that is causing this problem...
Should i raise an OSS to SAP? or there is an OSS notes that I am not aware of?
Thanks,
William Wilstroth

I am closing this thread because this issue is just way too back last year... oh dear... I can't remember if I ever use Nil's OSS to solve it... geeze...
but thanks Nils for your advice.

Similar Messages

  • Calculating hash values for really big files

    I am using the following code to calculate the hash values of files
    public static String hash(File f, String algorithm)
                throws IOException, NoSuchAlgorithmException {
            if (!f.isFile()) {
                throw new IOException("Not a file");
            RandomAccessFile raf = new RandomAccessFile(f, "r");
            byte b[] = new byte[(int) raf.length()];
            raf.readFully(b);
            raf.close();
            MessageDigest messageDigest = MessageDigest.getInstance(algorithm);
            messageDigest.update(b);
            return toHexString(messageDigest.digest());
        }Now the problem is, for really big files, 100 MB or over, I get an OutOfMemoryError.
    I have used the -Xms and -Xms options to increase the JVM heap size, and untimately made it to work. However, I think this is lame and there is also a limit to the -Xmx option.
    Is there any other way I can calculate the hash values of these really big files?
    Thanks a lot in advance.

    why do u open the file the way u do ?
    why to u upload ALL the file AT ONCE into the memory ?
    i would do it like this:
    FileInputStream fis = new FileInputStream (f);
    int fileSize = f.available();
    byte buffer[] = new byte[1000];
    MessageDigest messageDigest = MessageDigest.getInstance(algorithm);
    for(int read = 0;read < fileSize;read +=1000;)
    if(fis.available() > 1000)
    fis.read(buffer, read, 1000);
    else if(fis.available() > 0)
    fis.read(buffer, read, fis.available());
    else
    break;
    messageDigest.update(b);
    fis.close();
    return toHexString(messageDigest.digest());

  • Add new field in outgoing bank DME file

    Hi SAP FICO friends,
    I need your help in below issue resolution.
    After executed F110 transaction, DME file is generated for outgoing payment. Now client is requested for Add a new field (value date) in DME file. Please let me know how to add this new field in DME config?  Already I have checked DMEE transaction,  under the keyfield structure tab (4th tab), But I could not succeed to how proceed to add this field.
    Please let me know with complete details. Thanks,
    Raj

    What DME structure you are using?
    Go to DMEE
    Tree Type PAYM
    Enter your format tree.
    Go through in details, you will come to know where to add it and how to add it.

  • The selected signed file could not be authenticated. The file might have been tampered with or an error might have occured during download. Please verify the MD5 hash value against the Cisco Systems web site

    I am trying to load any 9.0.3 firmware on my UCM 5.0.4.2000-1 server. Every newer firmware I load throws the following error. I have verified the MD5 is correct and also downloaded the file several times with the same result. I can load the same firmware file on another UCM server and it loads fine. Any ideas?
    Thanks in advance!
    Error Message:
    The selected signed file could not be authenticated. The file might have been  tampered with or an error might have occured during download. Please verify the  MD5 hash value against the Cisco Systems web site:  9b:b6:31:09:18:15:e7:c0:97:9f:e6:fe:9a:19:94:99
    Firmware File: cmterm-7970_7971-sccp.9-0-3.cop.sgn
    UCM version: 5.0.4.2000-1

    Thanks for your reply. We have a lab environment where I maintain  UCM 5.0, 5.1, 6.0, 6.1, 7.0, 7.1 and 8.0 servers each running the latest released firmware for our QA testing team. I have downloaded and installed the latest device packages but find that if I try to install any firmware newer then 8.3.1 on either 5.0.4 or 6.0 i start getting MD5 hash authentication errors. It looks like 9.0.3 firmware should work on UCM 5.0 and 6.0 so I am lost as to why I can't seem to update any firmware for any model phone if it is newer then version 8.3.1 on either 5.0 or 6.0. while 5.1 and 6.1 work without issues. Maybe it is just a bug. I mostly wanted to see if anyone else has experienced this or if it is just me.

  • Generating MD5 hash value for any specific flat file

    Hi experts,
    I am developing a program that will generate flat files and also I should generate the MD5 Hash value for each and every flat files. My question is how can I generate the MD5 hash value for the generated .txt files.
    Thanks in advance
    Shabir

    You can use functions
    MD5_CALCULATE_HASH_FOR_CHAR for text file
    MD5_CALCULATE_HASH_FOR_RAW for binary

  • Vendor Bank account details not appearing in DME file

    Hi SAP gurus,
    We have maintained bank information for vendor in the master record and also configured the field FPAYH-ZBNKN in the DME structure to retrieve bank information and pass to the DME file.However the values are not passing to the DME output file. Please let me know if any config is missing.
    Answers will be rewarded with good points
    Thanks
    Ravi

    Hi Ravi,
    This is not reply to ur query but, we are implementing the same thing. I have designed the DMEE tree for the format required by the bank. I am able to run the F110 succesfully but after going to env->pay med->DME adm i get the FDTA screen with the message 'no records found'. Can u guide me in this case. I have done all the settings in the customization.
    But when i run the program SAPFPAYM with the proper required values of payment run i get the overview screen in the overview screen when i dbl click the item under output list. I dont get download option in EDIT. In the spool Request when I go to forward and export the file, the file which I get is in different format.
    pls. guide

  • ACH payment method US- Value date in DME

    Hi,
    We are using ACH payment method. After the payment program is executed, through Environment>payment mediumDME administration, we download the txt file which is sent to the bank. In this file format, apart from the date in the header record, we find another date with record type 5 positioned at 70-75.
    From which table and field this  value is being populated? Also, if we need to change this date to the next day ( i.e. payment program is executed today, but this date should be the next day).
    I did configuration in FBZP - value date ( put the days as 1); and also in SPRO: Define value date rules for bank transactions and assigned the payment method to bank transaction.
    Despite all this; I do not see that the date in the DME file is not getting changed (position 70-75). I see that value date in REGUH table is changed to the next day.
    So my questions are:
    From which table this date is getting populated?
    How to change this date to the next date?
    Do we need to use any user exit? If so which one ?
    Your help in this regard is highly appreciated.
    thanks
    Srinivasa Vepa
    Sorry , I posted in the wrong forum. Please ignore this. Posted in SAP Financials

    Srinivas-
    That field in company batch header with record type is called "effective entry date". Please look at the attached thread.
    Effective Entry Date
    Shail

  • Automatic Payment Run - Problem with downloading DME file

    Hi,
    My client recently went live with the Automatic Payment run. But when trying to download ( or export) the DME file he is unable to do so. The message says like "There is no source data for this data record".
    Please help.
    Regards,
    Raj/

    Hello,
    You have to give the destination path where the file needs to be saved in transaction code OBPM4.
    Hope you must have maintained proper variant for your Payment Medium Format.
    Unless, you maintain these values, the file will not be generated at the destination.
    Thanks,
    Ravi

  • F110 Issue:there is diff between of 1000usd in F110 payment list & dme file

    H i experts
    F110 Issue: there is difference between of 1000 usd in F110 payment list and Dme file.
    please let me know reason
    regards
    sachin

    Check the amount field in the DME as to which value it is picking.  I think it is mapped incorrectly.
    Ravi.

  • DME file issue: Payment run for Customers

    Hi Gurus,
    Please help me in the following problem.
    I have done the configurations for automatic collection/refund using F110 for customers in our ECC 6 system. Iu2019m having a requirement as below.
    1. Singular payments to be made for each customer transaction.  Have done that by checking u2018Singular paymentsu2019 check box in customer master data.
    2. All payments should be collected in DME file at customer level even though the payments are multiple.   have done that by customizing the RFFOGB_T program.
    3. Configurations are done for incoming (Receivables) and outgoing payments (refunds) in SAP and working fine.
    Now the problem is, there is a requirement to net-off the monetary value of a customer in DME file i.e. if a customer having debits and credits then we need to net off the amounts and check whether itu2019s an incoming or outgoing payment to that customer. I have done the code changes for this requirement as well and it is working perfectly fine, however DME file produces 2 CONTRA lines one as debit to bank account and another as Credit to bank account (provided I have 2 customers in a run where one customer ends up in net debit balance, and another customer ends up with net credit balance). Our Bank doesn't accept more than one CONTRA in a single DME file.
    Example scenario:
    Customer1
    Booking 1  -> 400 (Dr) & 200 (Cr)
    Booking 2  -> 300 (Dr) & 100 (Cr)
    Customer2
    Booking 3 -> 100 (Dr) & 300 (Cr)
    Currently If I run the payment run by having both incoming and outgoing payment methods, then my DME file will result as below
    Customer 1 -> Dr 400
    Customer 2 -> Cr 200
    Bank account -> Cr 200
    However our bank is not accepting the above DME since there are debits as well as credit data records in the same file.
    Currently we are going with 2 separate payment runs, one for incoming and another for outgoing by this I could able to produce 2 DME files as below for the above customer bookings.
    Payment run 1:
    DME 1:
    Customer 1 -> Dr 700
    Customer 2 -> Dr 100
    Bank account -> Cr 800
    Payment run 2:
    DME 2:
    Customer 1 -> Cr 300
    Customer 2 -> Cr 300
    Bank account -> Dr 600
    Both files are being accepted by Bank, however business is not agreeing this since for every customer transaction bank charges client. (There will be 2 transaction for same customer in the same day)
    Anybody encountered the same problem? I need some suggestion on how to produce 2 DME files in a single payment run, one having only net debit balance customers and another having only net credit balance customers, so that on a particular payment run a customer will have only one transaction going into bank either Credit or Debit. Basically I need to produce DME files as below for the above customer bookings
    Payment Run 1:
    DME 1:
    Customer 1 -> Dr 400
    Bank account -> Cr 400
    DME 2:
    Customer 2 -> Cr 200
    Bank account -> Dr 200
    Please help.

    Client has a difft scenario.
    They pay to the customers for warranty and incentives. 2 ways to pay to the customer: generating payment run F110 within AR and the other being F110 from AP where all the customer open items are closed and sent to AP for payment using a custom program.
    The problem with this is they have two interfaces each from AP and AR and aslo a custom program.
    Now, solution is to pay all customers thru AP by setting each customer as vendor so that all the open items are picked in the payment run.
    Next solution is to have single interface but paymentruns seperately from AR and AP. Both would send the files differently to Bank when paymnt run executed. Concern here is when both Ar and AP send files will the interface be able to handle it like 2 difft files or should there be any consolidation kind of thing.
    Another question is, do we have to set up all customers as vendors in order to pay to the customer thru AP. There is customer accounts field where range of customer accounts can be added. Just by adding customer accounts, does it pick up the items for payment.
    Please reply.
    Satya

  • Regarding problem with new line feed for DME file generation

    Hello Experts,
    I m facing a problem in the DME file generation.
    we want each record in the DME file should be in new line. for that we have add the new line feed character in the each row end. So in the SAP output it looks ok, But if we download that file the carriage return field is coming in the end of every row.
    can any one tell how to solve this issue.
    Please refer the below line code which i m using for new line
    DATA: GM_newline TYPE c VALUE cl_abap_char_utilities=>CR_LF
    You reply is valuable..
    Thanks,
    Suresh

    DATA: GM_newline TYPE c VALUE cl_abap_char_utilities=>newline.

  • DME files not getting stored in Appl Server .

    Hi All ,
        Please help me to solve this issue ..
         My DME files is not getting stored in the application server directory created by me , rather it is getting stored in the
        TEMP folder of the application server . How Can I store the DME output files in my application server , please let me know if I have missed any steps .
    Regards,
    Ranjita

    Hi,
    FUNCTION YFI_PAYMEDIUM_DMEE_20_F2.
    ""Global Interface:
    *"  IMPORTING
    *"     VALUE(I_FPAYH) LIKE  FPAYH STRUCTURE  FPAYH
    *"     VALUE(I_FPAYHX) LIKE  FPAYHX STRUCTURE  FPAYHX
    *"     VALUE(I_FORMAT_PARAMS) LIKE  FPM_SELPAR-PARAM
    *"     VALUE(I_FILENAME) LIKE  REGUT-FSNAM
    *"     VALUE(I_XFILESYSTEM) TYPE  DFILESYST
    *"  TABLES
    *"      T_FILE_OUTPUT STRUCTURE  FPM_FILE
    *"  CHANGING
    *"     REFERENCE(C_FILENAME) LIKE  REGUT-FSNAM
    put filename
      DATA: Y_FILENAME TYPE REGUT-FSNAM,
            T_FILENAME TYPE STANDARD TABLE OF REGUT-FSNAM WITH HEADER LINE,
    structures filled by application program
                L_FPAYH  TYPE FPAYH,
    *structure for bank data
      L_BANKDATA TYPE YFI_BANK_AD_DATA,
    *date
       W_DATE(10) TYPE C,
    *counter
       W_CHAR(3) TYPE N,
    *dot
       W_DOT(1) TYPE C VALUE '.',
       W_LEN TYPE I,
       W_POS TYPE I.
    fill strutures of payment documents
      L_FPAYH   = I_FPAYH.
    Get the Client code( Source Code )
    based on the Company code ,House Bank and Bank Id
      SELECT SINGLE * FROM YFI_BANK_AD_DATA
      INTO CORRESPONDING FIELDS OF L_BANKDATA
      WHERE Z_BUKRS  = L_FPAYH-ZBUKR AND
      Z_BANK = L_FPAYH-HBKID AND Z_BANKID = L_FPAYH-HKTID.
    *today's date
      W_DATE = SY-DATUM.
    *make file name as per bank
    IF L_FPAYH-HBKID cp 'HSP01*'.
    IF L_FPAYH-HBKID cp 'HS*'.
       CONCATENATE '/data/fi/epay/hsp01_int/' '%' L_BANKDATA-Z_CLIENTC(4) W_DATE6(2) W_DATE4(2) w_date(4) L_FPAYH-LAUFI
            '.___' INTO Y_FILENAME.
    CONCATENATE '/data/fi/epay/pearl2/' '%' L_BANKDATA-Z_CLIENTC(4) W_DATE6(2) W_DATE4(2) w_date(4) L_FPAYH-LAUFI
             '.___' INTO Y_FILENAME.
    ELSE.
       CONCATENATE '/data/fi/epay/icp01/' '%' L_BANKDATA-Z_CLIENTC(4) W_DATE6(2) W_DATE4(2) W_DATE+2(2) '.___' INTO Y_FILENAME.
      ENDIF.
    *is there any entry for given key
      SELECT COUNT( * ) FROM REGUT WHERE DWNAM LIKE Y_FILENAME .
    *if none
      IF SY-SUBRC <> 0.
    *this wud be first file - remove % from file name
        W_LEN = STRLEN( Y_FILENAME ) - 22.
        Y_FILENAME = Y_FILENAME+22(W_LEN).
       IF L_FPAYH-HBKID cp 'HSP01*'.
        IF L_FPAYH-HBKID cp 'HS*'.
         CONCATENATE '/data/fi/epay/hsp01_int/' Y_FILENAME INTO Y_FILENAME.
    CONCATENATE '/data/fi/epay/pearl2/' Y_FILENAME INTO Y_FILENAME.
       ELSE.
         CONCATENATE '/data/fi/epay/icp01/' Y_FILENAME INTO Y_FILENAME.
        ENDIF.
        SPLIT Y_FILENAME AT W_DOT INTO Y_FILENAME W_CHAR.
        W_CHAR = '001'.
    *if yes
      ELSE.
    *existing file name
        SELECT DWNAM FROM REGUT INTO TABLE T_FILENAME WHERE DWNAM LIKE Y_FILENAME
        AND DWNAM NE SPACE.
    *get file name with max counter
        LOOP AT T_FILENAME.
          Y_FILENAME = T_FILENAME.
          DO.
            SEARCH Y_FILENAME FOR '\'.
            IF SY-FDPOS = 0.
              EXIT.
            ELSE.
              W_POS = SY-FDPOS + 1.
              W_LEN = STRLEN( Y_FILENAME ) - W_POS.
              Y_FILENAME = Y_FILENAME+W_POS(W_LEN).
              MODIFY T_FILENAME FROM Y_FILENAME .
            ENDIF.
          ENDDO.
        ENDLOOP.
        SORT T_FILENAME DESCENDING.
        READ TABLE T_FILENAME INDEX 1.
        Y_FILENAME = T_FILENAME.
    *increment the counter by 1.
        SPLIT Y_FILENAME AT W_DOT INTO Y_FILENAME W_CHAR.
        TRY.
            W_CHAR = W_CHAR + 1.
          CATCH CX_SY_CONVERSION_NO_NUMBER.
    *-- Make it first file
           W_CHAR = '001'.
        ENDTRY.
      ENDIF.
    *put file name
      CONCATENATE Y_FILENAME  W_DOT  w_char INTO Y_FILENAME.
    *export to ABAP memory id will be used by filename node in header
      EXPORT Y_FILENAME TO MEMORY ID 'Y_DMEE_FILENAME'.
    CONCATENATE '/data/fi/' y_filename INTO y_filename.
      C_FILENAME = Y_FILENAME.
    *}   INSERT
    ENDFUNCTION.

  • RFUMSV00 (Tax report) wrong generation of DME file in Unicode system

    Hello gurus,
    I've a problem running the program RFUMSV00 (Advance Return for Tax on Sales/Purchases) transaction S_ALR_87012357 when "Create DME file" check box is selected and a format tree and a file name are specified.
    On 4.7 it was working properly but now on ECC6.0, that is unicode compliant, does not work correctly because each char of each field on the downloaded table into Unix directory has preceeded by an hash (#).
    So 1234 becomes #1#2#3#4...
    The problem seems to be related to codepages and I found in debug that the RFUMSV00 program calls from the include I_RFUMS_DME_FORMS the following routine at line 119:  PERFORM write_file_to_system USING lt_dme_file.
    This form contains a call to the following function:
        CALL FUNCTION 'FI_PAYM_FILE_OPEN'      
                  EXPORTING
                  i_temse_name = par_tems
                  i_file_name  = l_file_name.
    without specifying the codepage as further parameter so the function open the dataset for output in binary mode (and here the problem) because i_codepage is initial
    Pls see below.
        IF i_codepage IS INITIAL.
          OPEN DATASET i_file_name FOR OUTPUT   "Open File to write
                                   IN BINARY MODE.
        ELSEIF i_codepage = '4110' AND
               cl_abap_char_utilities=>charsize > 1. " UTF-8 and Unicode
          OPEN DATASET i_file_name IN TEXT MODE FOR OUTPUT
                                           ENCODING DEFAULT.
        ELSEIF i_codepage = '4102' OR i_codepage = '4103' OR i_codepage = '4110'.
          OPEN DATASET i_file_name FOR OUTPUT
                                   IN BINARY MODE.
        ELSE.
          OPEN DATASET i_file_name FOR OUTPUT   "Open File to write
                                   IN LEGACY BINARY MODE
                                   CODE PAGE i_codepage
                                   IGNORING CONVERSION ERRORS.
    Putting '4110' on i_codepage all is working magically perfect.
    Does anybody know where set the code page (4110) or how to solve this problem ?
    Thanks a lot in advance & best regards
    Tony

    Hello Rob,
    thanks for your reply.
    Yes I did a check of the OSS notes and I found that OSS 1365764  (Pls see below) describes exactly the problem I have but it is relevant only for payments and DME files created with this purpose.
    Also the DCP parameter (that has to be specified at user level) is only relevant for RFFO* programs.
    Note 1365764 - Codepage of DME file
    https://service.sap.com/sap/support/notes/1365764
    Also the two following notes
    Note 911190 - PMW: Entering the code page when writing and downloading
    https://service.sap.com/sap/support/notes/911190
    Note 899205 - RFUMSV00: DMEE format tree with additional parameters
    https://service.sap.com/sap/support/notes/899205
    So to be honest I do not really know how to look at to solve the issue.
    Thanks again for your reply & best regards
    Tony
    Edited by: Antonio Lanza on Nov 9, 2010 9:33 AM

  • Advising record (ADV - HSBC form) in DME file could not get email address

    Dear all,
    I have problems with DME file that Advising record could not get email that is maintained in vendor master data.
    Standard communication methods in vendor master data must be Emails.
    We use exit module to get this email for below fields:
    Email chnl se. flag
    Email address
    T-code DMEE -> Advising record
    (Attributes tab: Mapping procedures is Exit module.
    Source tab: value was entered for Exit function)
    We test once and got the expected result: email shown on DME file, in advising record.
    However, as I rechecked recently, we have no email shown (though Constant value 'ADV' shown).
    The form is active by the way.
    I do not know if I miss anything in configuration.
    Please advise.
    Thank you very much.
    Rgds,
    Linh

    Hello Linh,
    Did you manage to resolve this. I'm facing the same problem, not able to get the email address.
    Can you please provide the function module you used.
    Thanks,
    Srini

  • DME File - To set condition

    Hi All,
    Currently we have generated a DME file which has a header record, more than one detail record and corresponding trailer record.
    Now we have a requirement wherein we need to set a condition in the detail record - if a particular field does not have any value, say if the value is '0000000000', then that detail record alone should not be displayed(the header and the trailer record should be displayed along with the non-empty detail records).
    If any one has come across such scenario, please reply soon.
    Thanks in advance,
    Neethu Mohan

    Hi All,
    We have a requirement to host WAP enabled pages on SAP system. This http page will used to do some enquiries with SAP and also place orders.
    We know it is possible to do that , but we need to identify the Prerequisites, any Configurations or Setting that need to be done for the same.
    Please help.
    Thanks in advance,
    Neethu Mohan

Maybe you are looking for