3 weeks ago
Hi everybody,
is there any chance (even with some complicated workaround) that we can read data from a cds view inside SAP Screen Personas scripting? I've heard that it is possible (on premise) to make RFC calls. Since we can't build our own function modules on a public cloud system, I'm wondering if there is any chance to get additional data (which is not available on the standard screen).
Use cases would be for e.g.:
- display product description for a product
- display a related business object number which is related to the current displayed object
If it makes any difference: I'm trying to adapt an EWM RFUI screen.
One way I could imagine, is to call a method of a use reusable library (created by key user extensibility options). But I couldn't find anything in the scripting api documentation for personas regarding this.
Thanks in advance for any input
Daniel
Hi Daniel,
Since unfortunately, RFC is not available for Personas in a public cloud system, the only way to get other data that is not on the current screen is if you would navigate to some other screen (or call another transaction) where the information you are looking for is present, store those value(s) in variable(s), then return to the screen you are customizing, where you can use or display them. This is possible via scripting, but it is certainly slower and more complicated than performing an RFC.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tamas,
thanks for the fast reply! I was able to get it done with the callTransaction function.
Thanks
Daniel
User | Count |
---|---|
80 | |
11 | |
10 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.