https://raw.githubusercontent.com/ajmaradiaga/feeds/main/scmt/topics/SAP-HANA-Cloud-qa.xmlSAP Community - SAP HANA Cloud2024-07-26T23:01:18.302981+00:00python-feedgenSAP HANA Cloud Q&A in SAP Communityhttps://community.sap.com/t5/enterprise-resource-planning-q-a/badi-for-supplier-invoice-reversal-in-s4-hana-cloud/qaq-p/13733351BADI for Supplier Invoice Reversal In S4 HANA CLOUD2024-06-17T15:17:49.260000+02:00R_Poojahttps://community.sap.com/t5/user/viewprofilepage/user-id/141100<P>Hello,</P><P>SAP S4 HANA Cloud</P><P>We have a requirement to display a warning message whenever a Supplier invoice is reversed using the App Display Supplier Invoices. For this, we intend to write custom logic in the BADI, however, are unable to find the appropriate one in Cloud. Kindly suggest the BADI that can be used to meet this requirement.</P><P> </P><P>Thanks in advance.</P><P> </P><P>Regards,</P><P>Pooja</P>2024-06-17T15:17:49.260000+02:00https://community.sap.com/t5/technology-q-a/how-to-secure-endpoints-in-sap-btp-and-user-authentication/qaq-p/13741673How to Secure Endpoints in SAP BTP AND User Authentication2024-06-25T07:49:47.834000+02:00RiturajKumarhttps://community.sap.com/t5/user/viewprofilepage/user-id/1473871<P>Hi SAP Community,<BR /><BR />I am currently working on securing the endpoints in SAP Business Technology Platform (BTP) and would appreciate some guidance on best practices and available methods for implementing robust security measures, particularly focusing on user authentication.<BR /><BR /><BR />Thanks <BR />Rituraj Kumar</P>2024-06-25T07:49:47.834000+02:00https://community.sap.com/t5/enterprise-resource-planning-q-a/how-to-activate-the-following-services-in-sap-cloud-alm/qaq-p/13743923How to activate the following services in SAP Cloud ALM2024-06-27T06:56:55.108000+02:00Dario_Bustilloshttps://community.sap.com/t5/user/viewprofilepage/user-id/9808<PRE><SPAN class="">Please can you tell me how to activate the following services (SAP BTP, Cloud Foundry environment and SAP BTP, Cloud Foundry runtime) from SAP Cloud ALM, they are created but have not yet been activated, I am attaching a reference image.</SPAN></PRE><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dario_Bustillos_0-1719463888468.png" style="width: 769px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/129244iD61E7FDB4AEA79ED/image-dimensions/769x350?v=v2" width="769" height="350" role="button" title="Dario_Bustillos_0-1719463888468.png" alt="Dario_Bustillos_0-1719463888468.png" /></span></P>2024-06-27T06:56:55.108000+02:00https://community.sap.com/t5/enterprise-resource-planning-q-a/how-do-i-extract-data-from-sap-r-3-4-7/qaq-p/13744594How do I extract data from SAP R/3 (4.7) ?2024-06-27T13:58:12.549000+02:00KaviMhttps://community.sap.com/t5/user/viewprofilepage/user-id/1464815<P>Hi,</P><P>As we are trying to migrate data from SAP R/3 (Version 4.7) to SAP S/4HANA Cloud (Public) through staging tables, could you please suggest possible ways to extract data from version 4.7? We need to extract all fields and tables (both specified and unspecified/classified and non-classified) from R/3.</P><P>We have attempted to extract data using transaction code SE16N, but we couldn't extract all tables, especially the classified ones. By using transaction code RSO2 for custom data source creation, we managed to extract some data, but not all fields from the tables. Kindly suggest possible ways to achieve complete data extraction, including any other transaction codes that may be useful.</P><P>Thank you.</P><P> </P>2024-06-27T13:58:12.549000+02:00https://community.sap.com/t5/enterprise-resource-planning-q-a/how-to-call-api-s-4hana-public-cloud-from-sap-cloud-integration/qaq-p/13744907How to call API S/4Hana Public Cloud From SAP Cloud Integration2024-06-27T17:34:42.806000+02:00mark_fryuhttps://community.sap.com/t5/user/viewprofilepage/user-id/709977<P>hi,</P><P>I need to call an api that is on my sap s/4hana public cloud from Cloud Integration.</P><P>so the communication is: Cloud Integration -> s/4hana public cloud</P><P>I have created the communication system and Communication Arrangemts on s/4 hana public cloud.</P><P>I have created a destination on the cockpit of cloud integration.</P><P>But when on iflow I try to call the API with the OData adapter, it gives me a connection error:</P><P> </P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mark_fryu_0-1719503196609.png" style="width: 585px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/129761iAD3C9EBAB9B3CCE5/image-dimensions/585x334?v=v2" width="585" height="334" role="button" title="mark_fryu_0-1719503196609.png" alt="mark_fryu_0-1719503196609.png" /></span></P><P> </P><P>what am I missing?</P>2024-06-27T17:34:42.806000+02:00https://community.sap.com/t5/technology-q-a/how-to-get-data-from-hana-cloud-with-sapui5-sapui5-hana-cloud/qaq-p/13749912How to get data from Hana Cloud with SAPUI5 (SAPUI5, Hana Cloud)2024-07-03T10:45:50.809000+02:00Nikita_Hnitetskyihttps://community.sap.com/t5/user/viewprofilepage/user-id/1481698<P>Hello everyone! I created tables in Hana Cloud. How to get data from SAP HANA Cloud using SAPUI5? I use to MVC.<BR />Please, share the link information<BR /><a href="https://community.sap.com/t5/c-khhcw49343/SAPUI5/pd-p/500983881501772639608291559920477" class="lia-product-mention" data-product="325-1">SAPUI5</a> <a href="https://community.sap.com/t5/c-khhcw49343/SAP+HANA+Cloud/pd-p/73554900100800002881" class="lia-product-mention" data-product="22-1">SAP HANA Cloud</a> </P>2024-07-03T10:45:50.809000+02:00https://community.sap.com/t5/technology-q-a/sap-slt-create-time-stamp-wiped-out-with-record-update/qaq-p/13750448SAP SLT Create time stamp wiped out with record update.2024-07-03T17:41:41.186000+02:00kalyan18https://community.sap.com/t5/user/viewprofilepage/user-id/1478609<P>Dear Team,</P><P>i need a small help in modifing the code.</P><P>i have created a following incude program to fetch 'Create time stamp' ( zcolumn CRTTTM) in the Target HANDB when a record is replicated or inserted (IUUC_OPERAT_FLAG =I) . This is working fine.</P><P>However when the same record is updated (IUUC_OPERAT_FLAG = 'U) the zcolumn (CRTTTM) with create timestamp is wiped out.</P><P>we want to hold this value</P><P>CODE/include: </P><P>DATA: lv_name_create(30) TYPE c.<BR />STATICS lv_Date TYPE sy-datum.</P><P>FIELD-SYMBOLS: <ls_record> TYPE any,<BR /><ls_crt_record> TYPE any,<BR /><lv_crttm> TYPE any,<BR /><lv_operation> TYPE any.</P><P>CONCATENATE '<wa_r_' i_p1 '>' INTO lv_name_create.<BR />ASSIGN (lv_name_create) TO <ls_record>.</P><P>ASSIGN COMPONENT 'IUUC_OPERAT_FLAG' OF STRUCTURE <ls_record> TO <lv_operation>.</P><P>CASE <lv_operation>.<BR />WHEN 'I'.<BR />*** set additional target fields<BR />* set insert timestamp<BR />ASSIGN COMPONENT 'CRTTTM' OF STRUCTURE <ls_record> TO <lv_crttm>.<BR />IF sy-subrc = 0.<BR />CONCATENATE sy-datum sy-uzeit INTO <lv_crttm>.<BR />lv_date = <lv_crttm>.<BR />ENDIF.<BR />WHEN OTHERS.<BR />ASSIGN COMPONENT 'CRTTTM' OF STRUCTURE <ls_record> TO <lv_crttm>.<BR />IF sy-subrc = 0.<BR /><lv_crttm> = lv_date.<BR />ENDIF.<BR />ENDCASE.</P>2024-07-03T17:41:41.186000+02:00https://community.sap.com/t5/enterprise-resource-planning-q-a/app-for-download-attachments-invoices-in-mass/qaq-p/13750971App for download attachments invoices in mass2024-07-04T08:33:25.948000+02:00raquelmajahttps://community.sap.com/t5/user/viewprofilepage/user-id/1410477<P>Is there an app where we can download the attachments of several invoices at the same time, without having to search invoice by invoice?</P>2024-07-04T08:33:25.948000+02:00https://community.sap.com/t5/technology-q-a/getting-403-error-accessing-s-4-public-cloud-odata/qaq-p/13754081Getting '403' error accessing S/4 Public Cloud ODATA2024-07-08T10:36:29.420000+02:00das_sappohttps://community.sap.com/t5/user/viewprofilepage/user-id/759772<P>Dear Experts,</P><P>We are trying to extract Material Stock (SAP_COM_164) from S/4 Public Cloud system from CPI via ODATA V2 adapter but getting "403" error. </P><P>In S/4, we have created Communication User (added CPI load balancer certs), Communication System (added the user here for Inbound communication) <FONT color="#800000">and</FONT> then created communication arrangement.</P><P><STRONG>ODATA connector:</STRONG></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="das_sappo_0-1720427533737.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/133551iD023A58136E34C72/image-size/medium?v=v2&px=400" role="button" title="das_sappo_0-1720427533737.png" alt="das_sappo_0-1720427533737.png" /></span></P><P><STRONG>Error:</STRONG></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="das_sappo_1-1720427638671.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/133552i6B3ADEDCB78DDDCC/image-size/medium?v=v2&px=400" role="button" title="das_sappo_1-1720427638671.png" alt="das_sappo_1-1720427638671.png" /></span></P><P>Please suggest here. <FONT color="#993366">Our tenant is a trial account.</FONT></P><P> </P><P><STRONG>Br,</STRONG></P><P><STRONG>Arvik</STRONG></P>2024-07-08T10:36:29.420000+02:00https://community.sap.com/t5/technology-q-a/setup-sap-hana-external-backup-on-aws/qaq-p/13760374Setup SAP HANA external backup on AWS2024-07-15T04:30:55.902000+02:00SAPSupporthttps://community.sap.com/t5/user/viewprofilepage/user-id/121003<P>We like to back up our S/4HANA Public Cloud data into external cloud storage (AWS S3) and have a daily incremental backup. <BR />Please guide us with relevant KBA Notes & process to establish.</P><BR />------------------------------------------------------------------------------------------------------------------------------------------------<BR /><B>Learn more about the SAP Support user and program <A target="_blank" href="https://community.sap.com/t5/enterprise-resource-planning-blogs-by-sap/maximizing-the-power-of-sap-community-at-product-support/ba-p/13501276">here</A>.</B>2024-07-15T04:30:55.902000+02:00https://community.sap.com/t5/technology-q-a/how-to-downgrade-hana-cloud-version-after-an-upgrade/qaq-p/13761013How to downgrade HANA Cloud version after an upgrade.2024-07-15T14:09:22.437000+02:00SAPSupporthttps://community.sap.com/t5/user/viewprofilepage/user-id/121003<P>Hi,<BR /><BR />We have our HANA Cloud instance up and running. However, over the period of time, we require to do Patch upgrade and Major Version upgrade also. <BR />I want to know, what should be our steps in case we want to rollback the HANA DB version to a previous version in case of inconsistency.<BR />Help me with the guide or steps in-case we need to do rollback/rollover of our HANA DB so that we make sure no damage is done to our DB.</P><BR />------------------------------------------------------------------------------------------------------------------------------------------------<BR /><B>Learn more about the SAP Support user and program <A target="_blank" href="https://community.sap.com/t5/enterprise-resource-planning-blogs-by-sap/maximizing-the-power-of-sap-community-at-product-support/ba-p/13501276">here</A>.</B>2024-07-15T14:09:22.437000+02:00https://community.sap.com/t5/technology-q-a/behavior-validation-messages-are-not-displayed/qaq-p/13761252Behavior validation messages are not displayed2024-07-15T17:18:38.053000+02:00PatrickAngevarehttps://community.sap.com/t5/user/viewprofilepage/user-id/162234<P>Validation error messages in a behavior implementation are not displayed and elements are not highlighted. </P><P>In the behavior implementation for a draft enabled RAP based Fiori Elements application there is a custom check for mandatory fields. If a mandatory field is not filled, an error message should be displayed and the relevant element should be highlighted. The validation is executed correctly and the save action is stopped but only a generic error message ("<SPAN>Resolve data inconsistencies to save changes.</SPAN>") is displayed and no field is highlighted. When the app runs in preview mode via the Service Binding in Eclipse, the validation messages are correctly displayed and the relevant fields highlighted. The issue only occurs if the app runs in the Fiori Launchpad.</P><P>Behavior definition: </P><pre class="lia-code-sample language-abap"><code>managed implementation in class zbp_i_product unique;
strict ( 2 );
with draft;
define behavior for ZI_Product alias product
persistent table za_product
draft table zd_product
authorization master ( instance )
lock master
total etag LastChangedAt
etag master LastChangedAt
{
create;
update;
delete;
field ( mandatory ) ProductName;
field ( readonly, numbering : managed ) ProductUuid;
field ( readonly ) CreatedBy, CreatedAt, LastChangedBy, LastChangedAt;
validation validateMandatoryFields on save { field ProductName create; }
mapping for za_product
{
ProductUuid = product_uuid;
ProductName = product_name;
ProductType = product_type;
CreatedBy = created_by;
CreatedAt = created_at;
LastChangedBy = last_changed_by;
LastChangedAt = last_changed_at;
}
draft determine action Prepare
{
validation validateMandatoryFields;
}
draft action Edit;
draft action Activate optimized;
draft action Discard;
draft action Resume;
}</code></pre><P>Behavior implementation: </P><pre class="lia-code-sample language-abap"><code>CLASS lhc_product DEFINITION INHERITING FROM cl_abap_behavior_handler.
PRIVATE SECTION.
METHODS validatemandatoryfields FOR VALIDATE ON SAVE
IMPORTING keys FOR product~validatemandatoryfields.
ENDCLASS.
CLASS lhc_product IMPLEMENTATION.
METHOD validatemandatoryfields.
READ ENTITIES OF /zi_product IN LOCAL MODE
ENTITY product
FIELDS ( ProductName )
WITH CORRESPONDING #( keys )
RESULT DATA(products).
LOOP AT products ASSIGNING FIELD-SYMBOL(<product>).
APPEND VALUE #( %tky = <product>-%tky
%state_area = 'VALIDATE_MANDATORY' )
TO reported-product.
IF <product>-ProductName IS INITIAL.
APPEND VALUE #( %tky = <product>-%tky ) TO failed-product.
APPEND VALUE #( %tky = <product>-%tky
%state_area = 'VALIDATE_MANDATORY'
%msg = new_message( id = `ZPRODUCT`
number = 009
severity = if_abap_behv_message=>severity-error )
%element-ProductName= if_abap_behv=>mk-on ) TO reported-product.
ENDIF.
ENDLOOP.
ENDMETHOD.
ENDCLASS.</code></pre><P>The Fiori app is created as a Fiori Elements List Report based on an OData V4 service. </P><P> </P>2024-07-15T17:18:38.053000+02:00https://community.sap.com/t5/technology-q-a/subject-understanding-and-optimizing-other-dynamic-heap-memory-usage-in-sap/qaq-p/13761951Subject: Understanding and Optimizing OTHER_DYNAMIC Heap Memory Usage in SAP HANA2024-07-16T11:44:00.149000+02:00seyfeddinehttps://community.sap.com/t5/user/viewprofilepage/user-id/1389080<P>Hello,</P><P>I am currently studying the Heap_Memory_Used_Size of M_SERVICE_MEMORY (the dynamic part of memory in HANA) and looking for ways to optimize memory usage.</P><P>I have identified three key components:</P><OL><LI><STRONG>Memory used by procedures</STRONG>: This information is available in the view M_ACTIVE_STATEMENTS.</LI><LI><STRONG>Memory used by temporary tables</STRONG>: This is found in the view M_TEMPORARY_TABLES.</LI><LI><STRONG>Memory used by physical tables</STRONG>: This is found in the view M_CS_TABLES.</LI></OL><P>However, there is a part of heap memory labeled i call other_dynamic (all heap memory -Statement_memory -Temporary_tabeles - physical_tables) that I do not fully understand. This memory allocation exists even when there is no activity in the database, and its value increases after a commit.</P><P><STRONG>My questions are:</STRONG></P><OL><LI>What specifically consumes the OTHER_DYNAMIC portion of heap memory in SAP HANA?</LI><LI>How can I optimize my database to reduce the memory consumed under OTHER_DYNAMIC?</LI></OL><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="seyfeddine_1-1721123003481.png" style="width: 622px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/137134i0E98399B4BF6746E/image-dimensions/622x445?v=v2" width="622" height="445" role="button" title="seyfeddine_1-1721123003481.png" alt="seyfeddine_1-1721123003481.png" /></span></P><P>Thank you for your assistance.</P><P> </P><P> </P><P> </P>2024-07-16T11:44:00.149000+02:00https://community.sap.com/t5/technology-q-a/subject-how-to-prevent-tables-from-loading-into-memory-in-sap-hana/qaq-p/13763677Subject: How to Prevent Tables from Loading into Memory in SAP HANA2024-07-17T18:22:06.367000+02:00seyfeddinehttps://community.sap.com/t5/user/viewprofilepage/user-id/1389080<P>Hi SAP Community,</P><P>I am looking for ways to improve memory performance in SAP HANA by preventing certain tables from being loaded into memory. I have already set the UNLOAD PRIORITY to 0 for these tables, which helps, but I have noticed that HANA occasionally still loads these tables into memory.</P><P>Here are my specific questions:</P><OL><LI>Are there any other methods or configurations in SAP HANA to ensure that certain tables are not loaded into memory under any circumstances?</LI><LI>Is there a way to monitor and control table load behavior more effectively?</LI><LI>Can specific users or processes be restricted from loading certain tables into memory?</LI></OL><P>Thank you for your assistance.</P><P>Best regards,</P>2024-07-17T18:22:06.367000+02:00https://community.sap.com/t5/technology-q-a/error-deploying-to-hana-cloud-configuration-does-not-define-a-build-plugin/qaq-p/13764233Error deploying to Hana Cloud: Configuration does not define a build plugin for file suffix "cds"2024-07-18T08:40:40.491000+02:00sahu101https://community.sap.com/t5/user/viewprofilepage/user-id/793189<P>I am getting the following error message while deploying to SAP Hana Cloud DB using CDS deploy --to hana. I have no hdbcds files in the gen folder so the other answer doesn't work for me. There's one .cds file in the gen folder, in case it is caused by this .cds, how can we exclude this? </P><pre class="lia-code-sample language-javascript"><code>Error: "src/XXXXX/Schema/XXXXX_TABLES.cds": could not create a compile unit for the file [8211714]
at "src/XXXXX/Schema/XXXXX_TABLES.cds" (0:0)
Error: "src/.hdiconfig": Configuration does not define a build plugin for file suffix "cds" [8210015]
at "src/.hdiconfig" (0:0)
Error: Adding "src/XXXXX/Schema/XXXXX_TABLES.cds" for deploy... failed [8211700]
Error: Preparing... failed [8211602]
Make failed (5 errors, 2 warnings): tried to deploy 10 files, undeploy 0 files, redeploy 0 dependent files
Error: Making... failed [8211605]</code></pre><P>I have put .hdbcds in undeploy.json and there's no plugin defined in .hdiconfig (doing so doesn't make the error go away). What can be the solution for this? Thanks.</P>2024-07-18T08:40:40.491000+02:00https://community.sap.com/t5/technology-q-a/sap-business-application-studio-calculation-view-editor-not-loading/qaq-p/13766812SAP Business Application Studio Calculation View editor not loading2024-07-21T00:48:29.840000+02:00y_kassemhttps://community.sap.com/t5/user/viewprofilepage/user-id/44906<P><BR />I am using the SAP BTP trial and have followed tutorials from the <A href="https://learning.sap.com/learning-journeys/develop-data-models-with-sap-hana-cloud" target="_self" rel="noopener noreferrer">Developing data models SAP HANA Cloud </A>course. Instantiated the HANA cloud db, created the HDI and selected all extensions in SAP BAS dev space configutarion but when I create a calculation view it does not get past this screen. Looks like the console is sending some errors. Any idea how to fix?</P><P> </P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="y_kassem_1-1721515564364.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/139422i0E4C888D0C72E2A6/image-size/medium?v=v2&px=400" role="button" title="y_kassem_1-1721515564364.png" alt="y_kassem_1-1721515564364.png" /></span></P><P> </P>2024-07-21T00:48:29.840000+02:00https://community.sap.com/t5/technology-q-a/configuration-run-in-sales-order/qaq-p/13766813Configuration run in sales order2024-07-21T04:44:38.229000+02:00Lovepreet_Sidhuhttps://community.sap.com/t5/user/viewprofilepage/user-id/1460478<P>Hello everyone,</P><P>Is there is any confirguration/development related to the confirmation run and costing run in sales order.</P><P>my users don’t have access to va02 there fore i want to do development related to the configuration run, some times user forgot to take configuration run.</P><P>background job for configuration run or any sap standard configuration which through error if configuration or costing run is not taken.</P><P>thanks</P><P> </P>2024-07-21T04:44:38.229000+02:00https://community.sap.com/t5/technology-q-a/data-validation-in-rap-web-service-with-messages-in-response/qaq-p/13770657Data Validation in RAP web service with messages in response2024-07-24T18:00:06.465000+02:00BhargavJackhttps://community.sap.com/t5/user/viewprofilepage/user-id/1487784<P>Hi All,</P><P>I Have one scenario whare i have to validate some data using rap in odata web service. </P><P>The data are coming in specific payload. I have to validate this data and if any error message is coming i have to send as response. This one is web Odata so i can not send messages as an error message. The all functionality i have to do in GET method only.</P><P>Any way to do this one?</P><P>sample payload</P><P><!-- StartFragment --><SPAN>{<BR /> <SPAN class="">"company_code" </SPAN>: <SPAN class="">"3N6R"</SPAN>,<BR /> <SPAN class="">"profit_center" </SPAN>: <SPAN class="">""</SPAN>,<BR /> <SPAN class="">"trading_partner" </SPAN>: <SPAN class="">""</SPAN>,<BR /> <SPAN class="">"gl_account" </SPAN>: <SPAN class="">""</SPAN>,<BR /> <SPAN class="">"cost_center" </SPAN>: <SPAN class="">""</SPAN>,<BR /> <SPAN class="">"internal_order" </SPAN>: <SPAN class="">""</SPAN>,<BR /> <SPAN class="">"wbs_elements" </SPAN>: <SPAN class="">""</SPAN>,<BR /> <SPAN class="">"Customer" </SPAN>: <SPAN class="">""</SPAN>,<BR /> <SPAN class="">"Vendor" </SPAN>: <SPAN class="">""</SPAN>,<BR /> <SPAN class="">"posting_date" </SPAN>: <SPAN class="">"\/Date(1721088000000)\/"</SPAN><BR />}</SPAN></P>2024-07-24T18:00:06.465000+02:00https://community.sap.com/t5/technology-q-a/apis-for-backup-and-restore-of-sap-hana-cloud-database/qaq-p/13771506APIs for backup and restore of SAP HANA cloud database2024-07-25T11:01:54.055000+02:00baluthttps://community.sap.com/t5/user/viewprofilepage/user-id/808669<P>Hi experts,</P><P>do we have a SAP HANA cloud APIs that we can integrate with our scripts for hte backup and restore of the SAP HANA cloud database (PaaS)?</P>2024-07-25T11:01:54.055000+02:00https://community.sap.com/t5/technology-q-a/delta-configurationfor-standard-api-in-s-4-hana-cloud/qaq-p/13771641Delta configurationfor Standard API in S/4 HANA cloud2024-07-25T11:41:59.561000+02:00Harshhithhttps://community.sap.com/t5/user/viewprofilepage/user-id/1418669<P>In order to Create Delta for standard API:</P><P>Go to product master standard API in Business Accelerator Hub then click on tryout option.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Harshhith_0-1721900049413.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/141550i0F2230E4D4749311/image-size/large?v=v2&px=999" role="button" title="Harshhith_0-1721900049413.png" alt="Harshhith_0-1721900049413.png" /></span></P><P> </P><P>Now, we have to configure our system environment here as shown below</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Harshhith_1-1721900049429.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/141551i96D7774F0CDC0C4D/image-size/large?v=v2&px=999" role="button" title="Harshhith_1-1721900049429.png" alt="Harshhith_1-1721900049429.png" /></span></P><P> </P><P> </P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Harshhith_2-1721900049431.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/141549i42A99831C8BF8E2F/image-size/large?v=v2&px=999" role="button" title="Harshhith_2-1721900049431.png" alt="Harshhith_2-1721900049431.png" /></span></P><P> </P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Harshhith_3-1721900049433.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/141552i34BB41C0D1F6436F/image-size/large?v=v2&px=999" role="button" title="Harshhith_3-1721900049433.png" alt="Harshhith_3-1721900049433.png" /></span></P><P> </P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Harshhith_4-1721900049435.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/141553iE3F4B72B49104A84/image-size/large?v=v2&px=999" role="button" title="Harshhith_4-1721900049435.png" alt="Harshhith_4-1721900049435.png" /></span></P><P> </P><P>And after successfully configuring Now you can tryout any of these operations in Standard API</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Harshhith_5-1721900049440.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/141554iC34CED378D4EB84E/image-size/large?v=v2&px=999" role="button" title="Harshhith_5-1721900049440.png" alt="Harshhith_5-1721900049440.png" /></span></P><P> </P><P>Now in order to get delta, we have to take a delta pointer based on the fields in standard API. In this case I’m taking Lastchangedate field as delta pointer</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Harshhith_6-1721900049447.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/141556i95ACF493430D0EFF/image-size/large?v=v2&px=999" role="button" title="Harshhith_6-1721900049447.png" alt="Harshhith_6-1721900049447.png" /></span></P><P> </P><P>And Filter out records based on delta pointer(Lastchangedate)as shown below</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Harshhith_7-1721900049452.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/141557iE0CFC04284653D45/image-size/large?v=v2&px=999" role="button" title="Harshhith_7-1721900049452.png" alt="Harshhith_7-1721900049452.png" /></span></P><P> </P><P>Here the logic is: <STRONG> LastChangeDate ge datetime'2024-01-14T00:00:00’ And</STRONG> it says lastchangedate is greater than or equals to 2024-01-14 and also there are other logics as well: <SPAN><STRONG>LastChangeDate ge datetime'2024-06-13T00:00:00' and LastChangeDate lt datetime'2024-06-14T00:00:00' </STRONG>and it only gives records between 14th june to 13th june </SPAN>.</P><P>So After initializing this logic run as shown below</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Harshhith_8-1721900049456.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/141555i68BFEC684A9F3DB4/image-size/large?v=v2&px=999" role="button" title="Harshhith_8-1721900049456.png" alt="Harshhith_8-1721900049456.png" /></span></P><P> </P><P>we get records that are changed on or after 14th January 2024 in OData URL itself and it gives count of how many records are present as shown below</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Harshhith_9-1721900049458.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/141559i80B6DC01DEB4959A/image-size/large?v=v2&px=999" role="button" title="Harshhith_9-1721900049458.png" alt="Harshhith_9-1721900049458.png" /></span></P><P> </P><P>Now we can check data by taking URL till highlighted part and run OData in PowerBI</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Harshhith_10-1721900049460.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/141558iF4B4FDDFEFF5CD6A/image-size/large?v=v2&px=999" role="button" title="Harshhith_10-1721900049460.png" alt="Harshhith_10-1721900049460.png" /></span></P><P>Now in Power BI, Select OData feed and add the required URL</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Harshhith_11-1721900049466.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/141560i4140CCA48C7EDF13/image-size/large?v=v2&px=999" role="button" title="Harshhith_11-1721900049466.png" alt="Harshhith_11-1721900049466.png" /></span></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Harshhith_12-1721900049469.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/141561i55795443914D83DC/image-size/large?v=v2&px=999" role="button" title="Harshhith_12-1721900049469.png" alt="Harshhith_12-1721900049469.png" /></span></P><P>And we can see required delta records here</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Harshhith_13-1721900049481.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/141562i2EF10C76F2927262/image-size/large?v=v2&px=999" role="button" title="Harshhith_13-1721900049481.png" alt="Harshhith_13-1721900049481.png" /></span></P><P> </P>2024-07-25T11:41:59.561000+02:00