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...
In BTP ABAP environment, I am making a value help based on a CDS entity.The @UI.selectionField: [] annotation works fine, and the filters are rendered in the proper order.The @UI.LineItem: [ { position: # } ] also works fine where it is maintained, i...
I opened an incident on the same topic, and SAP got back to me basically stating 'that is a good idea and something we thought about... maybe we'll add it in the future'. So for now, the metaPath attribute can only be specified as a string.
@Andre_Fischer - any comment to Vitali's analysis? Can we expect support for this one missing annotation in a future release? We're not going to override the annotations maintained in RAP with Fiori annotations, because this value help is used in man...
If you want a working example based on Sandra's comment, here it is: DATA(lo_packages_name) = xco_cp_abap_sql=>constraint->contains_pattern( 'ZMD%' ).
DATA(lo_packages_filter) = xco_cp_abap_repository=>object_name->get_filter( lo_packages_na...