Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Binary form

Hello Experts!

I have one question. I have variable or structure and now I want get a binary sum form of it. I thought about TRANSLATE statement but I'm not sure that is proper way. So if you have any hints I will be gratefull.

Thanks in advance

BL

Tags:
replied

The binary sum won't be guaranteed unique. I.e. two variants could have the same binary sum. Sum for AB = sum for BA.

I'd simply put whole structure into the key.

But otherwise, you could use a hashing function as in function group SECH.

E.g.

CALCULATE_HASH_FOR_CHAR

CALCULATE_HASH_FOR_RAW

matt

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question