Hi everyone,
My requirement is to generate an hash string to be sent in the Webservice request.
I have the username and password. I have to encode these with UTF-8 format and Hash them with password as salt.
The lv_username is built by concaten...
Hello all,I have to calculate the KBETR value and send it to an external system. The value is being calculated in two place, once in user exit and other in custom program.DATA: l_discount_pct TYPE P LENGTH 9 DECIMALS 3, lt_komv type tabl...
The accounting tab of MM03 transaction displays all the valuation data of the material. All this data is fetched from MBEW table. For some materials there will be difference in the values displayed in MM03 and MBEW depending on sales area. Moving Ave...
Queries are mostly used by the functional to generate quick reports without using ABAP code. But the there are certain situations where the report cannot be generated directly through queries using joins. ABAP code comes in to picture in such situati...
Hi,I have a Report program. There is a subroutine with tables parameter of structure ''itcsy''. ITCSY structure is used in sap scripts. I want to know the name of the sap script which is calling this subroutine. The where used list does not show whe...
Hi Thomas,
Is there a way we can convert JSON timestamp into SAP?
Currently in my webservice response I am getting date as
/DATE(1509970085096-0600)/
I have to convert it to YYYYMMDD ABAP format.
Thank you.
Kethan.
Hi Sandra,
In my response I am receiving the timestamp in JSON format i.e., /Date(1462881866000)/. How do I convert this to ABAP format i.e. to YYYYMMDD format?
Thank you.
Kethan.
Hi,
We can use the calculate_hmac_for_char of cl_abap_hmac class to hash the string with salt. In the below code, If_key parameter is used to pass the salt.
TRY. CALL METHOD cl_abap_hmac=>calculate_hmac_for_char EXPORTING if_algorithm = 'SHA256 ...
Hi Rajesh,Repost the snapshot including field name.If you refer to dictionary then it takes the properties of dictionary field. In the below image we are referring the filed name to SPFLI-NAME. Now you can see the upper/lower case is grayed out.Also ...