on 2024 Jul 01 9:07 AM
Dear Community,
Our custom BO have json data and we would like to send those data to other system using external webservice communication. Also, we need to get SHA256 hash value of the json and need to send it too.
So, we trying to use WebServiceUtilities.EncryptWithHashBasedMessageAuthenticationCode.
But there are 4 parameters required.
1.Scenario: Communication scenario name >>
Q : we just want to get hash value of the json data in the custom BO element, why scenario is needed? We understand that we need to use scenario for WebServiceUtilities.ExecuteRESTService because that is about to send data to other system using external webservice.
2.Algorithm: Function supports the following hash algorithms: 'SHA256', 'SHA512' >> this one OK.
3.Key: Placeholder for secret cryptographic key >>
Q : any custom secrect key is OK to input?
4.Message: Message that is encrypted with the specified key and hash algorithm >> I think this is json message.
Our requirement is to get documentHash of our json data.
Or this [WebServiceUtilities.EncryptWithHashBasedMessageAuthenticationCode] function is for another purpose?
I read the SAP help documents, but not exactly clear about the parameters. Please suggest if anyone used that before.
Regards,
May
Request clarification before answering.
| User | Count |
|---|---|
| 9 | |
| 7 | |
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.