on 07-26-2016 6:10 PM
Hi Experts,
I am creating a custom OData service to validate the user name and password using function module SUSR_CHECK_LOGON_DATA. Please let me know if there is any function module or class/method to generate the x-csrf-token and pass the same as part of a exporting fields.
also please let me know if I use a function module or class/method to get the x-csrf-token and generate one x-scrf-token, then will the sap generated x-csrf token and the FM/class-method x-csrf-token will be same?
Thanks,
Madhu M V
I don't think you can generate one programmatically, however, your GET request that you are using to check the credentials should return one for you to use.
Reference:
https://help.sap.com/saphelp_nw74/helpdata/en/b3/5c22518bc72214e10000000a44176d/content.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.