on 2024 Dec 02 11:13 AM
Dear Expert,
I've a requirement to expose FM CREATE_RFC_REENTRANCE_TICKET as an oData Service. Conventional method was using SEGW to expose as an oData service to return the value I need. However for S/4 HANA 2023 Private Edition, how could I achieve it via Clean-Core approach?
Reference from https://github.com/SAP-samples/tier2-rfc-proxy
Are we able to wrap unreleased non-RFC FM using transaction ACO_PROXY?
If can, after wrapping the FM, how could we expose it as consumable oData service that visible in transaction /iwfnd/maint_service?
#s4hana, #abapcleancore, #odata, #cleancoreguideline
Regards,
Ben
Request clarification before answering.
If you are logged on via HTTP, there is no need to use function module CREATE_RFC_REENTRANCE_TICKET, you can simply make a GET request to the ICF service /sap/public/myssocntl.
Note that in older systems for this to work, the above ICF service needs to be active (I think, since Kernel 6.40 it is by default) and the profile parameter login/create_sso2_ticket needs to have the appropriate value. See documentation of that profile parameter in RZ11.
In newer systems (7.54 and newer) it should work out of the box. See note 2822156 for details.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Well, if you ask me, that requirement is nonsense...
(A re-entrance ticket should be obtained at the point, where it is needed, and not at some other place and then get passed around or even saved into a file -- that only increases the risk that it falls into the wrong hands and opens the door for malicious attackers to gain access to the backend system.)
User | Count |
---|---|
52 | |
6 | |
5 | |
5 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.