cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Screen Personas Scripting: Access CDS View on Public Cloud

DanielSchneider
Participant
0 Kudos
844

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
Participant

Hi Tamas,

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

Thanks
Daniel

arifarifoglu1
Explorer
0 Kudos
What do you think about getting values which are developed by RAP,CAP..etc for example : Manage Journal Entries - New Version .
arifarifoglu1
Explorer
0 Kudos
is it possible to call "Manage Journal Entries - New Version" with filling Journal Entry field in search area.
Tamas_Hoznek
Product and Topic Expert
Product and Topic Expert
0 Kudos

There is no functionality within the Public Cloud edition of Personas to make calls like this. The only thing you can call is another transaction. There is no RFC or APIs enabled that could call other objects, read the result of a CDS view etc. Perhaps this should be a potential area of feature improvements. You may want to create a support incident to request such functionality, which would then be evaluated for feasibility.

Answers (0)