I'm putting together a SAPUI5 app which redirects to a 3rd Party site using an authentication token.
The token is generated in an ABAP function on the backend, so how do I call this directly via a SAP Gateway service without any structures or entities, as they aren't required.
I do however need a couple of return values passed back from the ABAP function through the Gateway service, so is this possible?
how do I call this directly via a SAP Gateway service without any structures or entities, as they aren't required.
This isn't currently possible so I'm afraid implementing an entity or structure is required.
If you don't want to use CREATE_ENTITY you could use a function import, which requires either an entity type or a complex type to be able to return your values from the backend.
I suggest just implementing a simple new entity however.
You can always build upon it in the future, for example when you need to invalidate the token.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With