Skip to Content
0
Jan 18, 2019 at 06:45 AM

MD5 Hash value of file in AL11

933 Views

Hi All

I need to collect MD5 Hash value for a file placed in AL11 path.

File contains ~~ as a delimiter.

Method 1:

i have calculated MD5 hash value on an internal table, but this doesn't match with same file in UNIX.

in Unix, they're doing on filename, it contains delimiters, whereas i'm doing on internal table before placing file in AL11.

FM used: MD5_CAALCULATE_HASH_FOR_CHAR

Method 2:

Even i have read the dataset after placing file into an internal table (table type string), and got the MD5 value, even this is not matching with UNIX command.

FM used: MD5_CAALCULATE_HASH_FOR_RAW

Is there anyway, to calculate MD5 value on a filename in a AL11 path?