https://raw.githubusercontent.com/ajmaradiaga/feeds/main/scmt/topics/ABAP-RESTful-Application-Programming-Model-qa.xml SAP Community - ABAP RESTful Application Programming Model 2024-05-10T05:00:08.086220+00:00 python-feedgen ABAP RESTful Application Programming Model Q&A in SAP Community https://community.sap.com/t5/technology-q-a/rap-node-extensibility-for-unmanaged-bo/qaq-p/13680760 RAP Node Extensibility for Unmanaged BO 2024-04-24T13:12:48.739000+02:00 michael_zinncker https://community.sap.com/t5/user/viewprofilepage/user-id/307025 <P>Hi Experts,</P><P>Target System: On Premise, S/4 2023 FPS01</P><P>let's assume we have a released, extensible, unmanaged RAP BO like&nbsp;R_SalesOrderTP and would like to extend it for new nodes as mentioned in here:&nbsp;<A href="https://help.sap.com/docs/abap-cloud/abap-rap/develop-node-extensions" target="_self" rel="noopener noreferrer">Node Extension - SAP Help</A>.<BR />CDS extension works quite well, but&nbsp;<SPAN>as soon as we try to add Behavior for the newly added Node in the Behavior Extension:</SPAN></P><P>&nbsp;</P><pre class="lia-code-sample language-abap"><code>extension using interface i_salesordertp implementation in class zbp_x_ndext_r_salesordertp unique; extend behavior for SalesOrder { association _myNewNode { create; } } define behavior for zr_salesorderndexttp alias MyNewNode late numbering ( lock, etag, authorization ) dependent by _SalesOrder{ field ( readonly ) SalesOrder; }</code></pre><P>&nbsp;</P><P><SPAN>the following error occurs: <STRONG>"unmanged/extension/define behavior" is not supported in this ABAP release.</STRONG> That's quite unfortunate, but i understand that this kind of feature is not supported. <U>Yet?</U><BR />I do know of the following <A href="https://help.sap.com/docs/abap-cloud/abap-rap/extensibility-feature-overview?locale=en-US" target="_self" rel="noopener noreferrer">Feature Matrix</A>&nbsp;where it is mentioned that Node Extensibility is not supported for unmanaged BO. "Enable the original <SPAN class="">RAP</SPAN> BO for node extensibility" -&gt; even though the Extension on CDS level works quite well and it seems the only missing part is that we are not allowed to add Behavior for new nodes.<BR />Am I right in my assumptions and Is there some kind of roadmap and/or target releases where this feature will be supported?</SPAN></P><P>Thanks in advance for your help and information!</P><P>Best,<BR />Michael</P> 2024-04-24T13:12:48.739000+02:00 https://community.sap.com/t5/technology-q-a/cds-projection-view-parameters-not-allowed/qaq-p/13681956 CDS Projection View parameters not allowed 2024-04-25T09:40:26.632000+02:00 AbhishekSharma https://community.sap.com/t5/user/viewprofilepage/user-id/9942 <P>Hi Gurus,</P><P>I am seeing below error when trying to create Projection view. Please help what I am missing...</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.jpg" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/101617i8A167E15C920D902/image-size/large?v=v2&amp;px=999" role="button" title="1.jpg" alt="1.jpg" /></span></P><P><a href="https://community.sap.com/t5/user/viewprofilepage/user-id/17308">@Ramjeekorada</a>&nbsp;<a href="https://community.sap.com/t5/user/viewprofilepage/user-id/10276">@Ramjee_korada</a>&nbsp;</P><P>Thanks-</P><P>Abhishek</P> 2024-04-25T09:40:26.632000+02:00 https://community.sap.com/t5/technology-q-a/while-i-press-the-back-button-rap-unmanaged-the-records-gets-saved-in-draft/qaq-p/13685662 While I press the Back button(RAP Unmanaged) , The records gets saved in Draft without asking ? 2024-04-29T11:46:03.588000+02:00 BODHISATTWA__20 https://community.sap.com/t5/user/viewprofilepage/user-id/6822 <P>I have created a very simple RAP unmanaged program&nbsp; with Draft capabilities .Once I click on create(on list page ) and enter the input fields(in object page) .</P><P>After that I&nbsp; click on back button , the record gets saved in draft (which is the expected behavior )---But I was expecting a Dialog Box to pop up and ask , if I want to save keep the draft . (Something that happens in managed scenario)</P><P>Am i missing something ??</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BODHISATTWA__20_0-1714383072829.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/103101i301D68549287BF48/image-size/medium?v=v2&amp;px=400" role="button" title="BODHISATTWA__20_0-1714383072829.png" alt="BODHISATTWA__20_0-1714383072829.png" /></span><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BODHISATTWA__20_1-1714383172433.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/103117iABC6238B1AEF4298/image-size/medium?v=v2&amp;px=400" role="button" title="BODHISATTWA__20_1-1714383172433.png" alt="BODHISATTWA__20_1-1714383172433.png" /></span></P><P>Something like this&nbsp;</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BODHISATTWA__20_0-1714385982426.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/103172iAC1617FB3F197BEF/image-size/medium?v=v2&amp;px=400" role="button" title="BODHISATTWA__20_0-1714385982426.png" alt="BODHISATTWA__20_0-1714385982426.png" /></span></P><P>&nbsp;</P> 2024-04-29T11:46:03.588000+02:00 https://community.sap.com/t5/technology-q-a/rest-api-call-for-downloading-file/qaq-p/13689163 REST API Call for downloading file 2024-05-02T10:48:21.811000+02:00 SAPPO_76 https://community.sap.com/t5/user/viewprofilepage/user-id/1446212 <P>Hi Experts,</P><P>I am working on SAP PO 7.5 to download the file from AWS S3 bucket. so i have followed the blogs</P><P>(<A href="https://community.sap.com/t5/technology-blogs-by-members/how-to-download-a-file-from-amazon-s3-buckets/ba-p/13419722" target="_blank">https://community.sap.com/t5/technology-blogs-by-members/how-to-download-a-file-from-amazon-s3-buckets/ba-p/13419722</A>)</P><P>&nbsp;</P><P>on the same and have used "GET" call instead of PUT and interface is OK and getting response 200 in the monitoring. the file is coming in the payload and i have to download this file in some NFS folder.</P><P>Could you please let me know how can i get this file in the NFS folder directly. please note i am not using request/response(Sync) call here.</P><P>&nbsp;</P><P>thanks</P> 2024-05-02T10:48:21.811000+02:00 https://community.sap.com/t5/technology-q-a/validation-during-create-similar-to-side-effects/qaq-p/13689194 Validation during Create - Similar to Side effects 2024-05-02T11:09:50.694000+02:00 Karan_Chopra_ https://community.sap.com/t5/user/viewprofilepage/user-id/42200 <P>Hello Experts.</P><P>Is there a way we can invoke Side Effects like instant validation on key fields which are to be filled during press of CREATE button?</P><P>For example I can perform a check on field in Precheck event but it gets invoked only when I press continue and in the form of validation message.</P><P>My requirement is to instantly display validation state message for particular field once the invalid value is entered, just as we get state error of field in draft mode using side effects.</P><P>I tried using side effects but it does not get invoked here, I suppose, because they are used for Draft enabled app and invoked in Transactional buffer, at this point during Create the transactional buffer is not yet reached.&nbsp; &nbsp;Also I see standard behaviour of field format validation automatically works based on field type.&nbsp;</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Karan_Chopra__0-1714640235870.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/104772iC592506F7FF72A9E/image-size/medium?v=v2&amp;px=400" role="button" title="Karan_Chopra__0-1714640235870.png" alt="Karan_Chopra__0-1714640235870.png" /></span></P><P>Required something like this (This is standard behaviour)&nbsp;&nbsp;</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Karan_Chopra__1-1714640599652.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/104776iF330AB62487C6F3A/image-size/medium?v=v2&amp;px=400" role="button" title="Karan_Chopra__1-1714640599652.png" alt="Karan_Chopra__1-1714640599652.png" /></span></P><P>&nbsp;</P> 2024-05-02T11:09:50.694000+02:00 https://community.sap.com/t5/technology-q-a/problem-with-cds-scalar-function-for-workday-calculation/qaq-p/13689716 Problem with CDS Scalar function for workday calculation 2024-05-02T16:22:23.850000+02:00 felix_grab https://community.sap.com/t5/user/viewprofilepage/user-id/444338 <P>Hello,</P><P>I have built a CDS scalar function, with which I want to add workdays to a date using the SQL function "ADD_WORKDAYS".</P><P>Therefore I created a Scalar function with the following coding:</P><pre class="lia-code-sample language-abap"><code>define scalar function /IFMSCM/ADD_WORKDAYS with parameters StartDate: abap.dats, NumberOfDays: abap.int4, FactoryCalendar: abap.char( 2 ) returns abap.dats</code></pre><P>After that I created the Implementation Reference and the corresponding class. The source code of the class contains the SQL function:</P><pre class="lia-code-sample language-abap"><code> METHOD execute BY DATABASE FUNCTION FOR HDB LANGUAGE SQLSCRIPT OPTIONS READ-ONLY. result = to_dats(add_workdays (factorycalendar, startdate, numberofdays)); ENDMETHOD.</code></pre><P>As you can see in the source code, I wrapped the add_workdays function with a conversion to internal format, because it handed back the date in external (i.e. 2024-05-02). Normally I would expect to always work with the internal 8 character display (20240502) while I am not already on the UI level.</P><P>So I wrapped it with the to_dats function and handed the return parameter of the scalar function back as abap.dats.</P><P>Here is the integration into the CDS view</P><pre class="lia-code-sample language-abap"><code> /IFMSCM/ADD_WORKDAYS( StartDate =&gt; PReq.DowntimeFrom, NumberOfDays =&gt; cast( '1-' as abap.int4 ), FactoryCalendar =&gt; Plant.FactoryCalendar ) as ReschedulingDate,</code></pre><P>This is working when I test the service, but it is displayed in the internal way:</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="felix_grab_0-1714659014258.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/105025i41624FCD0CC9033E/image-size/medium?v=v2&amp;px=400" role="button" title="felix_grab_0-1714659014258.png" alt="felix_grab_0-1714659014258.png" /></span></P><P>So the next step was to try casting the field to abap.dats, with the following coding (on the higher CDS level):</P><pre class="lia-code-sample language-abap"><code> cast(case when ReschedulingDate &gt;= $session.system_date then ReschedulingDate else ' ' end as abap.dats ) as ReschedulingDate,</code></pre><P>When I do this, the direct data preview of the CDS View looks good, with the correct date display, but the list report is no longer working, as soon as I select the data I get the following error messages:</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="felix_grab_1-1714659413951.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/105049i6AA936301EE3187D/image-size/medium?v=v2&amp;px=400" role="button" title="felix_grab_1-1714659413951.png" alt="felix_grab_1-1714659413951.png" /></span></P><P>Does anyone know, how I can achieve the external output on the UI, but can still use it in the CDS view as any other dats element?</P><P>Thanks and greetings</P><P>Felix</P> 2024-05-02T16:22:23.850000+02:00 https://community.sap.com/t5/technology-q-a/sap-rap-refresh-issue-when-update-from-grand-child-to-root-node/qaq-p/13690500 SAP RAP Refresh issue when update from grand child to root node 2024-05-03T10:33:14.622000+02:00 jh_sim https://community.sap.com/t5/user/viewprofilepage/user-id/701670 <P>HI&nbsp;</P><P>Im working on SAP RAP On Premise 2022.</P><P>The BO of the RAP program currently being developed is<BR />It is in the form of Root - Child - GrandChild.</P><P>In the current situation, the value of the Grand Child can be modified in the Object Page of the Child Node.<BR />And modifying the Grand Child value is Trigger Update the total field of the Root Node</P><P>I use 'Determination on modify' to change the value in real time.</P><P>However, if changes to the root are triggered more than once,</P><P>The following error occurs:</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JH4141_0-1714724572295.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/105404iE8921C5AC2911749/image-size/medium?v=v2&amp;px=400" role="button" title="JH4141_0-1714724572295.png" alt="JH4141_0-1714724572295.png" /></span></P><P>( For example, after modifying the Grand Child Node field to trigger a change to the header total field,<BR />By creating a new instance in the Grand Child Node, additional updates to the header total field are triggered. )</P><P>and&nbsp;This error does not occur when updating a Parent Node (Child of the Root) that is not the Root node.</P><P>How can I solve this problem?</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P> 2024-05-03T10:33:14.622000+02:00 https://community.sap.com/t5/technology-q-a/default-values-for-action-parameters-from-function-in-the-behavior-of-rap/qaq-p/13691125 default values for action parameters from function in the behavior of RAP in Odata v4 2024-05-03T18:46:23.602000+02:00 amo_ry https://community.sap.com/t5/user/viewprofilepage/user-id/888074 <P>I made an action with parameters&nbsp;</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="amo_ry_0-1714754439862.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/105686i50BABDE680B2DE30/image-size/medium?v=v2&amp;px=400" role="button" title="amo_ry_0-1714754439862.png" alt="amo_ry_0-1714754439862.png" /></span></P><P>and i want to put default values in this parameter , so i created a function&nbsp;<SPAN>GetDefaultsForGET_SERIAL</SPAN></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="amo_ry_1-1714754503752.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/105688iB18EA14FCF9F4306/image-size/medium?v=v2&amp;px=400" role="button" title="amo_ry_1-1714754503752.png" alt="amo_ry_1-1714754503752.png" /></span></P><P>i am trying to default it in the action like this :&nbsp;</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="amo_ry_2-1714754603055.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/105690iF42A1D94A6FEF194/image-size/medium?v=v2&amp;px=400" role="button" title="amo_ry_2-1714754603055.png" alt="amo_ry_2-1714754603055.png" /></span></P><P>but it is not supported in my release .&nbsp;</P><P>so i am trying to add it in the annotation file :&nbsp;</P><P>it works with ODATA V2 with these annotations :&nbsp;</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="amo_ry_3-1714754721350.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/105691i7AC754B626379BE4/image-size/medium?v=v2&amp;px=400" role="button" title="amo_ry_3-1714754721350.png" alt="amo_ry_3-1714754721350.png" /></span></P><P>but i am trying in ODATA V4 but not working:&nbsp;</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="amo_ry_4-1714754788866.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/105692iD2A3177326A0C2B4/image-size/medium?v=v2&amp;px=400" role="button" title="amo_ry_4-1714754788866.png" alt="amo_ry_4-1714754788866.png" /></span></P><P>can any one help ?&nbsp;</P><P>&nbsp;</P> 2024-05-03T18:46:23.602000+02:00 https://community.sap.com/t5/technology-q-a/eml-action-passing-all-fields-of-a-selected-row-list-report/qaq-p/13691447 EML action - passing all fields of a selected row (List Report) 2024-05-04T12:07:51.995000+02:00 satyaki https://community.sap.com/t5/user/viewprofilepage/user-id/2519 <P>Hi Experts,</P><P>When performing an action on selected rows of a list report application, only keys get passed to implementation method, and then inside implementation, I need to select/read (query) data from entity_set to get all fields.</P><P>For example, in the following method, I only get keys to deal with data manipulation.&nbsp;</P><P>METHODS some_action FOR MODIFY<BR />IMPORTING keys FOR ACTION bdef~some_action.</P><P>Is there a way, I can get whole row (or all columns of a row), so that I need NOT to fetch the row data by another query like ABAP ALV report (in ALV for a given action, we can get the selected row/rows data), not just the key fields.</P><P>What is the syntax in EML to get all the columns of selected row/rows, not just the keys?</P><P>Thanks, Satyaki</P><P>&nbsp;</P> 2024-05-04T12:07:51.995000+02:00 https://community.sap.com/t5/technology-q-a/update-task-in-rap-model-api/qaq-p/13691687 Update task in RAP model API 2024-05-05T09:20:38.317000+02:00 phoenixming0912 https://community.sap.com/t5/user/viewprofilepage/user-id/284483 <P>Hi experts,</P><P>I have read through some RAP documents like <A href="https://community.sap.com/t5/enterprise-resource-planning-blogs-by-sap/the-sap-luw-in-abap-cloud/ba-p/13562604" target="_self">this</A>, regarding RAP API LUW.</P><P>As far as I understand, using UPDATE TASK is not required in the RAP model, but what if an implicit DB commit occurs after DB modification?</P><P>Here is an example, product API calls material master save BAdI, inside which, assuming there is a DB modification (SQL), afterwards there follows by an async RFC call which triggers an implicit DB commit. Is the data consistency corrupted? Is UPDATE TASK should be used for DB modification in the BAdI?</P><P>Regards,<BR />Eric</P><P>&nbsp;</P> 2024-05-05T09:20:38.317000+02:00 https://community.sap.com/t5/technology-q-a/abap-rap-create-with-dynamic-facets/qaq-p/13692304 ABAP RAP: Create with dynamic Facets 2024-05-06T09:43:37.445000+02:00 lars_kr https://community.sap.com/t5/user/viewprofilepage/user-id/1450529 <P>Hello Community,</P><P>I saw at FioriConf that it is now possible to implement dynamic facets in create mode. This means that the facets change with a certain selection, for example through a dropdown in the first facet. Unfortunately, I can't find any documentation on this topic.</P><P>I currently have a case of a more complex transaction that was solved in SAPUI5 using the wizard. Maintaining the whole thing is of course very time-consuming and RAP and Fiori Elements are actually the way to go for us. The advantage of the wizard is of course that I can go many different ways depending on the selection. So the form is very dynamic.</P><P>Examples that are possible with the wizard:</P><P>A -&gt; B -&gt; B1 -&gt; B2 -&gt; C -&gt; D</P><P>A -&gt; B -&gt; C -&gt; D</P><P>A -&gt; C -&gt; D</P><P>Perhaps someone can show me an example of how I can implement dynamic facets in create mode. And how far can the whole thing be taken? Compared to the Wizard.</P><P>EDIT:</P><P>In the meantime I have found that you can show or hide facets with the help of a Boolean ( <A href="https://github.com/SAP-samples/abap-platform-fiori-feature-showcase/wiki/Feature-Showcase-App-Guide#hiding-features" target="_blank" rel="nofollow noopener noreferrer">https://github.com/SAP-samples/abap-platform-fiori-feature-showcase/wiki/Feature-Showcase-App-Guide#hiding-features</A>) . But is this also possible in real time? For example with side effects?</P><P>Best regards<BR />Lars</P> 2024-05-06T09:43:37.445000+02:00 https://community.sap.com/t5/technology-q-a/show-changeset-error-response-from-sap-rap-in-ui/qaq-p/13692502 Show Changeset error response from SAP RAP in UI 2024-05-06T12:12:17.852000+02:00 Dee2 https://community.sap.com/t5/user/viewprofilepage/user-id/818553 <P>Hi All,&nbsp;</P><P>I am creating a mass upload Fiori app using SAP RAP in the backend. I would be passing multiple requests as part of batch and then validate those requests in the backend. I am returning error messages for the failed records and I want to highlight the entries which have errors but the problem is in UI, the error response fails with error 400 and I just see one error for whole batch. The error response has the error messages from the backend but there is no way I can link the errors to the requests.</P><P>Any pointers will be appreciated.</P><P>thanks</P><P>&nbsp;</P> 2024-05-06T12:12:17.852000+02:00 https://community.sap.com/t5/technology-q-a/va01-userexit-before-entering-material-details/qaq-p/13692602 VA01 Userexit before Entering Material details 2024-05-06T13:51:57.960000+02:00 blkanth7 https://community.sap.com/t5/user/viewprofilepage/user-id/824856 <P>Hi,</P><P>Need help for userexit in VA01 T-code</P><P>Steps</P><P>1. I need to trigger a Message for a field plant to be entered before going to enter the Material details</P><P>2. User need not to press 'enter' button.</P><P>Kindly help me.</P> 2024-05-06T13:51:57.960000+02:00 https://community.sap.com/t5/technology-q-a/rap-fiori-elements-navigation-issue-while-embedding-in-freestyle/qaq-p/13693185 RAP Fiori Elements - Navigation issue while embedding in Freestyle Application 2024-05-07T00:08:48.211000+02:00 devanand_l https://community.sap.com/t5/user/viewprofilepage/user-id/197552 <P>HI All,</P><P>There are multiple List-Object FE applications that were generated using RAP development. I have followed this nice blog&nbsp;<A href="https://community.sap.com/t5/technology-blogs-by-members/how-to-embed-two-fiori-elements-list-reports-into-one-freestyle-sapui5-app/ba-p/13563330" target="_blank">How to embed two Fiori Elements List Reports into ... - SAP Community</A>&nbsp;to embed the Fiori Elements application in a single Freestyle application using IconTabBar. I am able to launch the applications as long as i am navigating to List page of all the applications. When I navigate to the Object page of any record and go back, the application iAppstate is saved and it is not loading the other applications. Pages fail to load with a message 'Target was not found'. Is there any additional logic required to handle the iAppState behaviour to Set and Reset so that the Navigation can be smooth. If so, can someone give an example for the same.</P> 2024-05-07T00:08:48.211000+02:00 https://community.sap.com/t5/technology-q-a/how-to-validate-the-presence-of-a-mandatory-subnode-in-a-rap-bo/qaq-p/13693871 How to validate the presence of a mandatory subnode in a RAP BO? 2024-05-07T13:52:41.613000+02:00 bdrv https://community.sap.com/t5/user/viewprofilepage/user-id/709164 <P>Hi all,</P><P>I'm wondering what is the recommended approach to validate the presence of a mandatory subnode in a (managed, draft enabled) RAP BO.</P><P>It seems that to prevent the deletion of the last record, we have to assign a validation with delete trigger on the child node itself in the behavior definition. That validation is triggered correctly when we save (activate) the root, however I’m no longer able to read the deleted data of the imported keys parameter. The EML read operation is returning a failed entry with cause NOT_FOUND. We don’t need the child data to validate it, but we need at least its parent/root key to be able to do a retrieve by association from that parent/root and to check at least one other child record is still present.</P><P>I remember with the previous BOPF programming model you can assign a delete validation to a parent node and add the delete trigger on the child node(s). And to retrieve the old data we could use the iv_before_image parameter.</P><P>With our current system version, it seems we cannot assign this validation to the prepare action (ADT error: The assignment of a determination or validation of a child entity to Determine Action is not currently supported if a “delete” trigger is used).</P><UL><LI><STRONG>Is it correct that in order to read the data that was already deleted from buffer, EML does not offer a similar “BEFORE_IMAGE” option and we should simply do a select from the database table? Or is there a more elegant option to find my parent/root key and be able to do my read by association?</STRONG></LI><LI>Any other recommendations for this scenario? Note that we want to allow the users to delete the records of the subnode, as long as they keep at least one record or add a new one before activating the draft it is fine. So we do not want to prevent the actual delete action itself.</LI></UL><P>Many thanks in advance!</P><P>Kind regards,</P><P>Bjorn</P> 2024-05-07T13:52:41.613000+02:00 https://community.sap.com/t5/technology-q-a/object-page-not-displaying-table/qaq-p/13693953 Object Page Not Displaying Table 2024-05-07T15:21:31.011000+02:00 brenda_oalves https://community.sap.com/t5/user/viewprofilepage/user-id/178247 <P><SPAN>Hi,</SPAN></P><P><SPAN>In a Fiori Elements application I'm trying to show a table on the Object Page, but the table does not appear, just the fieldgroup data.</SPAN></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="brenda_oalves_0-1715087120413.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/106882i97C87B79DD1430C7/image-size/medium?v=v2&amp;px=400" role="button" title="brenda_oalves_0-1715087120413.png" alt="brenda_oalves_0-1715087120413.png" /></span><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="brenda_oalves_1-1715087165834.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/106883iD1FAF9D2458BCAD9/image-size/medium?v=v2&amp;px=400" role="button" title="brenda_oalves_1-1715087165834.png" alt="brenda_oalves_1-1715087165834.png" /></span><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="brenda_oalves_5-1715087711046.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/106890i054F76415DF1BF01/image-size/medium?v=v2&amp;px=400" role="button" title="brenda_oalves_5-1715087711046.png" alt="brenda_oalves_5-1715087711046.png" /></span><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="brenda_oalves_6-1715087827237.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/106891iC47B90CEC0E15A31/image-size/medium?v=v2&amp;px=400" role="button" title="brenda_oalves_6-1715087827237.png" alt="brenda_oalves_6-1715087827237.png" /></span></P><P>&nbsp;</P><P><SPAN>Would anyone have any idea why the table isn't appearing?</SPAN></P><P>&nbsp;</P><P><SPAN>Best regards,</SPAN><BR /><SPAN>Brenda Alves.</SPAN></P><P>&nbsp;</P><P>&nbsp;</P> 2024-05-07T15:21:31.011000+02:00 https://community.sap.com/t5/technology-q-a/what-is-the-use-of-mapped-in-sap-restful-abap-programming/qaq-p/13694846 What is the use of Mapped in SAP RESTFul ABAP Programming 2024-05-08T10:03:43.277000+02:00 vkarmakar https://community.sap.com/t5/user/viewprofilepage/user-id/801355 <P>I am new to SAP RESTful ABAP Programming and learning it through ABAP-On-Cloud 2020 in Docker.</P><P>I have created few custom Application using basic /dmo/ Tables like Agency, Customer, Carrier, etc</P><P>But I am facing few challenges</P><P>1) When using Unmanaged Scenario without Draft I am able to populated Mapped and Reported in case of Success in Creating or Updating an entries but when I use the same Application with Draft Functionality added to it in Create populating&nbsp;Mapped and Reported&nbsp; do not create any issue , However in Update if I populate Mapped the program dumps.</P><P>2) Sometimes Draft in Unmanaged do not update the Draft Table properly due to some reasons and I cannot figure out how to debug it.</P><P>So it is my humble request from community if anybody can explain this to me so that most beginners can try their hands on and learn the new things from SAP</P><P>Thank You&nbsp;</P> 2024-05-08T10:03:43.277000+02:00 https://community.sap.com/t5/technology-q-a/how-to-avoid-reload-selection-after-executing-a-rap-action/qaq-p/13694849 How to avoid reload selection after executing a RAP action 2024-05-08T10:05:07.591000+02:00 crus_ch https://community.sap.com/t5/user/viewprofilepage/user-id/576212 <P>Hi,</P><P>I have an unmanaged RAP Fiori Elements app with a couple of&nbsp; RAP actions.&nbsp; Some of them do not change anything or don't change anything regarding the data shown in app.</P><P>But everytime an action is executed, the CDS View is called 2 times with the current filter values. Once with a SELECT Count statement and once with normal SELECT with UP TO 200 rows (why 200? app only shows top 20 entries...). This is really anyoing for the user, especially if the CDS View's data hasnt' changed at all. Is there any way to influence the re-selection after executing the action? I tried filling or not filling the result parameter, but this didn't change the behaviour. I also tried to not have the result parameter.&nbsp;</P> 2024-05-08T10:05:07.591000+02:00 https://community.sap.com/t5/technology-q-a/log-for-rap-table-maintenance-generator/qaq-p/13696059 Log for RAP Table Maintenance Generator 2024-05-09T10:11:40.172000+02:00 venkateshamaraneni https://community.sap.com/t5/user/viewprofilepage/user-id/661307 <P>I want to create Log for&nbsp;RAP Table Maintenance Generator like who is Create ,Delete ,Edit records and if record edited previous value and new value i need log in RAP application for custom table&nbsp;</P> 2024-05-09T10:11:40.172000+02:00 https://community.sap.com/t5/technology-q-a/rap-managed-show-hide-standard-buttons/qaq-p/13696371 RAP Managed - Show/Hide standard buttons 2024-05-09T14:25:35.174000+02:00 devanand_l https://community.sap.com/t5/user/viewprofilepage/user-id/197552 <P>In RAP Managed scenario,&nbsp;&nbsp;is it possible to control CREATE, EDIT and DELETE buttons based on User Authorizations?</P><P>Depending on the User authorization, the standard buttons should be visible or hidden.</P> 2024-05-09T14:25:35.174000+02:00