I'm struggling to build analytical cards in a Fiori Overview Page. My source is an ABAP RAP Object providing the annotations via an OData v4 service. The symptom is that the card is displayed properly, with the frame of the chart (legend, axis look O...
In BTP ABAP Environment, I have a RAP entity with an action. Let's call the action 'generateFile'. In that action, I have specific logic that uses the XCO classes to build out an XLSX file. The RAP entity and its action are projected and exposed into...
In BTP ABAP Environment, how can I access the user group that the user is assigned to? As far as I can tell, the field (table usr02, field class) is only included in view entity P_BPUsrDetail as field UserGroup. However, neither the table nor the vie...
I have a RAP object with the following structure:RootEntitySubEntityChartEntityAll associations are [0..*]RootEntity's object page has a line item facet for the association to SubEntity. This is a basic setup and works fine.Now I want to display a Li...
I am attempting to use XCO classes to get a list of sub packages for a given package. I have working code to retrieve other things from a package (such as Data Definitions), but the comparable coding for packages is not behaving the same way. See the...
Found the answer... in one of the controller extension functions (I put it in onInit), you need to add the line:this.getView().getModel("ui").setProperty("/isEditable", true);
Did you make any progress on this topic? I am struggling with the same thing. I am using an ABAP RAP backend with draft mode, and the preview mode of the service binding shows the Create and Delete buttons. Neither shows up on the FPM table.
Ended up using this in the RAP action implementation: DATA(lv_base64_content) = cl_web_http_utility=>encode_x_base64( lv_file_content ).Then passed the base64 content and the filename to the frontend. An enhancement was then needed on the frontend, w...
Hi,I'm wondering if there's any way to adjust the user that the background process will be run against. Let's say that a casual user performs an action, and that action must kick off a sophisticated process in the background that the casual user will...
I know this question is quite old, but I had to find a way to do this in ABAP for Cloud Development. cl_oo_classname_service is not released for use, so another approach was needed (calling the method with fake parameters is not an option).The soluti...