cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Screen Personas Scripting: Access CDS View on Public Cloud

DanielSchneider
Explorer
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

tamas_hoznek
Product and Topic Expert
Product and Topic Expert

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.

DanielSchneider
Explorer

Hi Tamas,

thanks for the fast reply! I was able to get it done with the callTransaction function.

Thanks
Daniel

Answers (0)