https://raw.githubusercontent.com/ajmaradiaga/feeds/main/scmt/topics/SAP-S4HANA-Cloud-ABAP-Environment-qa.xmlSAP Community - SAP S/4HANA Cloud ABAP Environment2024-05-20T17:01:38.980362+00:00python-feedgenSAP S/4HANA Cloud ABAP Environment Q&A in SAP Communityhttps://community.sap.com/t5/technology-q-a/create-a-sales-order-screen-for-flight-booking/qaq-p/13677687Create a Sales order screen for flight booking.2024-04-22T09:24:02.622000+02:00SHRADDHA2https://community.sap.com/t5/user/viewprofilepage/user-id/1432436<P>Hiii Community</P><P>How can I create a Flight Booking Screen in Sales order screen . The sales order screen will have custom fields related to the flight booking. For example , passenger name , meal type , origin city etc. The requirement is to get certain fields to pop up when specific field has been given input. </P>2024-04-22T09:24:02.622000+02:00https://community.sap.com/t5/technology-q-a/sort-internal-table-descending-not-working/qaq-p/13677861sort internal table descending not working2024-04-22T11:09:57.375000+02:00vieethttps://community.sap.com/t5/user/viewprofilepage/user-id/1390241<P><U>I am facing strange scenario where sort is not working.</U></P><P><U>I have tried to use stable also still no luck. </U></P><P><U>BEFORE SORT :</U></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vieet_0-1713776680398.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/99823i235102A42F4BF1BB/image-size/medium?v=v2&px=400" role="button" title="vieet_0-1713776680398.png" alt="vieet_0-1713776680398.png" /></span></P><P>THIS IS THE CODE</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vieet_1-1713776797330.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/99824i4C0845F2B61DE8C6/image-size/medium?v=v2&px=400" role="button" title="vieet_1-1713776797330.png" alt="vieet_1-1713776797330.png" /></span></P><P>With the above code 22100 should be at top. but it is taking second place.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vieet_2-1713776870298.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/99826iB606B5E5AA074FC0/image-size/medium?v=v2&px=400" role="button" title="vieet_2-1713776870298.png" alt="vieet_2-1713776870298.png" /></span></P><P>Please someone help me what is going on . why it is not placing bigger number 22100 on top ?</P><P> </P><P> </P>2024-04-22T11:09:57.375000+02:00https://community.sap.com/t5/technology-q-a/re-how-to-create-application-job-in-sap-abap-cloud/qaq-p/13678525/comment-id/4826653#M4826653Re: How to Create Application Job in SAP ABAP Cloud ?2024-04-22T18:57:41.111000+02:00CarineTchoutouohttps://community.sap.com/t5/user/viewprofilepage/user-id/1462<P>Hello, <BR /><BR />please use appropriate SAP Managed Tags - such as "ABAP Development and "ABAP RESTful application programming model" - when creating questions or blog posts. <BR /><BR />You may have a look at this blog post by Andre Fischer:<BR /><A href="https://community.sap.com/t5/technology-blogs-by-sap/how-to-schedule-application-jobs-from-a-rap-based-business-object/ba-p/13553507" target="_blank">https://community.sap.com/t5/technology-blogs-by-sap/how-to-schedule-application-jobs-from-a-rap-based-business-object/ba-p/13553507</A> <BR /><BR />Kind regards,<BR />Carine</P>2024-04-22T18:57:41.111000+02:00https://community.sap.com/t5/enterprise-resource-planning-q-a/enhance-vd52-customer-material-info-records/qaq-p/13678611Enhance VD52, Customer material Info Records.2024-04-22T21:39:30.752000+02:00winona86https://community.sap.com/t5/user/viewprofilepage/user-id/829794<P>Is it possible to Enhance VD52 to add z fields to KNMT table?.</P><P>If not is there any other way to achieve where we can have a flag for customer preferred materails?</P><P>Thanks,</P><P> </P>2024-04-22T21:39:30.752000+02:00https://community.sap.com/t5/technology-q-a/sql-syntax-error/qaq-p/13678838SQL Syntax error2024-04-23T06:07:23.193000+02:00Vincent801https://community.sap.com/t5/user/viewprofilepage/user-id/924106<P>Dear Experts,</P><P>I am trying to create a AMDP class to get the current date as the output of the class. And i need to call this class in the BW transformations. Please find the sample code that i wrote.</P><P> </P><pre class="lia-code-sample language-abap"><code>CLASS Today_date DEFINITION
PUBLIC
FINAL
CREATE PUBLIC .
PUBLIC SECTION.
INTERFACES if_amdp_marker_hdb.
class-methods amdp_procedure
exporting
value(i_sydat) type dats.
PROTECTED SECTION.
PRIVATE SECTION.
ENDCLASS.
CLASS Today_date IMPLEMENTATION.
METHOD amdp_procedure by database procedure
for hdb
language sqlscript
options read-only.
i_sydat = (cl_abap_context_info=>get_system_date( ));
ENDMETHOD.
ENDCLASS.</code></pre><P> </P><P> I am getting the syntax error in Line number 21. The error is <STRONG>SQLSCRIPT: sql syntax error: incorrect syntax near "=>" .</STRONG> Could you please help on, how to correct this error. And also how to call this clss inside BW transformation ?</P><P>And in the transformation,</P><P>ZLOADING_DATE = CALL "TODAY_DATE=>AMDP_PROCEDURE(i_SYDAT)</P><P>Pls correct me, if i am wrong.</P>2024-04-23T06:07:23.193000+02:00https://community.sap.com/t5/enterprise-resource-planning-q-a/screen-selection-field-of-a-query-program-went-missing-upon-modification-of/qaq-p/13678889Screen selection field of a Query program went missing upon modification of Infoset.2024-04-23T07:12:20.721000+02:00walkeristhttps://community.sap.com/t5/user/viewprofilepage/user-id/798835<P>I have an InfoSet named ZINFO1. I have added a custom field on the "additional fields" portion of the InfoSet. However, upon generating the infoset and regenerating the query, a selection field in the selection screen went missing. How do I address it? Assuming that the field is a standard field.</P>2024-04-23T07:12:20.721000+02:00https://community.sap.com/t5/financial-management-q-a/how-to-retrieve-amt-in-transaction-curr-amt-in-company-code-curr-amt-in/qaq-p/13679464How to retrieve Amt in Transaction Curr, Amt in Company Code Curr, Amt in Group Curr fields.2024-04-23T14:39:03.949000+02:00Ruchi691https://community.sap.com/t5/user/viewprofilepage/user-id/134672<P>Hello SAP,</P><P>We are trying to get the three currency values for the supplier invoice line items. "Amount in Transaction Currency" "Amount in Company Code Currency" "Amount in Group Currency". We have explored both supplier invoice related CDS views journal entry related CDS views. The fields are not present in the supplier invoice CDS views. We are getting duplicates if we use the Journal entry and general ledger CDS views due to document splitting and aggregation of supplier line items in the journal entry level. Can you please let us know how to retrieve these three fields for supplier invoice line items</P><P>Thanks and Regards</P><P>Ruchi Kesharwani</P>2024-04-23T14:39:03.949000+02:00https://community.sap.com/t5/technology-q-a/fuzzy-search-with-multiple-name-fields/qaq-p/13679890fuzzy search with multiple name fields2024-04-23T20:58:39.044000+02:00Koen_VLhttps://community.sap.com/t5/user/viewprofilepage/user-id/50268<P>Hello,</P><P>I'm trying to implement a fuzzy search to find employee names in the HR table PA0002.</P><P>The search I want to perform is on firstname and lastname. The challenge with the PA0002 table is that there are multiple fields to hold first and last name.</P><P>For <STRONG>firstname</STRONG> there is the field <STRONG>VORNA</STRONG> which holds the offical first name and <STRONG>RUFNM</STRONG> which holds the known as.</P><P>For lastname there is the field <STRONG>NACHN</STRONG> which holds the official lastname as well as <STRONG>NAME2</STRONG> which holds the name at birth.</P><P>The fields VORNA and NACHN are always filled, but the alternative names can be filled or empty. Some examples below.</P><P> </P><TABLE border="1" width="100%"><TBODY><TR><TD width="20%" height="30px"><STRONG>PERNR</STRONG></TD><TD width="20%" height="30px"><STRONG>VORNA</STRONG></TD><TD width="20%" height="30px"><STRONG>RUFNM</STRONG></TD><TD width="20%" height="30px"><STRONG>NACHN</STRONG></TD><TD width="20%" height="30px"><STRONG>NAME2</STRONG></TD></TR><TR><TD height="30px">1</TD><TD height="30px">Donald</TD><TD height="30px">Don</TD><TD height="30px"><SPAN>Duck</SPAN></TD><TD height="30px">Chicken</TD></TR><TR><TD height="30px">2</TD><TD height="30px">Daffy</TD><TD height="30px"> </TD><TD height="30px"><SPAN>Duck</SPAN></TD><TD height="30px">Rabbit</TD></TR><TR><TD height="30px">3</TD><TD height="30px">Road</TD><TD height="30px"> </TD><TD height="30px"><SPAN>Runner</SPAN></TD><TD height="30px"> </TD></TR></TBODY></TABLE><P>For the fuzzy search it is relevant that firstname is only found in the fields VORNA, RUFNM as well as last name in NACHN, NAME2.</P><P>the ideal CDS view I created for this is below, but gives a syntax error, which is expected as multiple freestyle contains are not allowed.</P><P>Anyone has an idea on how this could be achieved?</P><P> </P><pre class="lia-code-sample language-abap"><code>CLASS zz9xx_cl_ac_fuzzy_search_prem DEFINITION
PUBLIC
FINAL
CREATE PUBLIC .
PUBLIC SECTION.
INTERFACES if_amdp_marker_hdb.
TYPES: BEGIN OF ty_pa0002,
fuzzy_score TYPE zfuzzy_similarity,
vorna TYPE pa0002-vorna,
rufnm TYPE pa0002-rufnm,
nachn TYPE pa0002-nachn,
name2 TYPE pa0002-name2,
pernr TYPE pa0002-pernr,
END OF ty_pa0002.
TYPES: tt_pa0002 TYPE STANDARD TABLE OF ty_pa0002.
CLASS-METHODS get_fuzzy_pa0002 IMPORTING VALUE(im_first_name) TYPE string
VALUE(im_last_name) TYPE string
VALUE(im_fuzzy_similarity) TYPE zfuzzy_similarity
EXPORTING VALUE(t_pa0002) TYPE tt_pa0002.
PROTECTED SECTION.
PRIVATE SECTION.
ENDCLASS.
CLASS zz9xx_cl_ac_fuzzy_search_prem IMPLEMENTATION.
METHOD get_fuzzy_pa0002 BY DATABASE PROCEDURE FOR HDB LANGUAGE SQLSCRIPT
USING pa0002.
t_pa0002 = select SCORE() as fuzzy_score, vorna, rufnm, nachn, name2, pernr
from pa0002
where ( ( contains ( ( vorna, rufnm) , :im_first_name , fuzzy( :im_fuzzy_similarity ) )
OR contains ( ( nachn, name2) , :im_last_name , fuzzy( :im_fuzzy_similarity ) )
) and endda = '99991231'
) ORDER BY fuzzy_score DESC
;
ENDMETHOD.
ENDCLASS.</code></pre><P>thanks</P><P> </P><P>Koen</P>2024-04-23T20:58:39.044000+02:00https://community.sap.com/t5/technology-q-a/on-uploading-pdf-or-ppt-file-getting-403-error-forbidden/qaq-p/13680601On Uploading PDF or PPt File Getting 403 Error Forbidden2024-04-24T11:26:38.104000+02:00vikash_pathakhttps://community.sap.com/t5/user/viewprofilepage/user-id/363152<P>Hello All,</P><P>I am facing a Strange problem with my SAP UI5 Application, when i am uploading PDF or PPT file its failing with 403 Forbidden error at browser level in quality and production. in development system its working fine.</P><P>the request is not even reacing to gateway system that i could analyze the error.</P><P>Kindly share your comments.</P><P>Thanks</P><P><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+BTP%25252C+ABAP+environment/pd-p/73555000100800001164" class="lia-product-mention" data-product="11-1">SAP BTP, ABAP environment</a> </P>2024-04-24T11:26:38.104000+02:00https://community.sap.com/t5/enterprise-resource-planning-q-a/i-want-to-learn-abap-for-pi-po-module-please-any-one-help-me/qaq-p/13680861I want to learn abap for pi/po module please any one help me.2024-04-24T14:21:44.312000+02:00itskponlinehttps://community.sap.com/t5/user/viewprofilepage/user-id/816975<P>i wan to learn abap for pi/po moudel please help me . how can i star.</P>2024-04-24T14:21:44.312000+02:00https://community.sap.com/t5/technology-q-a/abap-rap-service-binding-is-not-getting-refreshed-automatically-after/qaq-p/13681165ABAP RAP - Service Binding is not getting refreshed automatically after change in CDS Entities2024-04-24T16:54:11.298000+02:00Sushakuhttps://community.sap.com/t5/user/viewprofilepage/user-id/124337<P>Hi Everyone,</P><P>I am facing a strange issue where after making any change in my Fiori elements application changes are not reflecting automatically on the UI. I figured out that Service binding is not adapting the changes automatically further i tried to clean the cache but it didn't helped. Currently Only workaround is to delete the service binding and create a new one.</P><P>If anyone faced this issue in past please share your experience to handle this.</P><P>Thanks in advance </P>2024-04-24T16:54:11.298000+02:00https://community.sap.com/t5/enterprise-resource-planning-q-a/cds-view-to-get-billing-document-number-and-sales-order-number/qaq-p/13684224CDS View to Get Billing Document Number and Sales Order Number2024-04-27T09:55:49.465000+02:00evans_aaronshttps://community.sap.com/t5/user/viewprofilepage/user-id/845232<P>Good day!</P><P>I would like to ask if there is any available CDS where I can obtain the Billing document number of a specific Sales order. A view where it indicates the specific number of both Sales Order Number & Billing Document Number or Sales Order Number & Invoice Number. I can't seem to find the specific CDS during my own investigation.</P><P>Any inputs would be appreciated.</P><P>Regards,</P><P>Evans Aarons</P>2024-04-27T09:55:49.465000+02:00https://community.sap.com/t5/technology-q-a/error-installing-abap-7-5-2-assertion-failed-unable-to-generate-a-new/qaq-p/13689584Error installing ABAP 7.5.2. Assertion failed: Unable to generate a new password for database login2024-05-02T15:17:57.794000+02:00nitish_chawla2https://community.sap.com/t5/user/viewprofilepage/user-id/200053<P> </P><P>I am trying to install ABAP 7.5.2 using VMWARE on suse linux. I have followed the steps mentioned in below link:</P><P><A title="Installing AS ABAP 7.52 SP04 Developer Edition on VMWare and Linux" href="https://www.sap.com/documents/2019/09/c86f9218-687d-0010-87a3-c30de2ffd8ff.html" target="_blank" rel="noopener noreferrer">Installing AS ABAP 7.52 SP04 Developer Edition on VMWare and Linux</A> </P><P>Installation of SAP server failed with below error: <SPAN>Assertion failed: Unable to generate a new password for database login 'sa'. Refer to trace file sapinst_dev.log for further information.</SPAN></P><P>It may be an issue with expired sybase key. But where to get and how to use that key ?</P><P>Below link ask for hardware ID which i don't know how to get it: <A href="https://go.support.sap.com/minisap/#/minisap" target="_blank" rel="noopener noreferrer">https://go.support.sap.com/minisap/#/minisap</A></P><P>Once i get the key, where to place it?</P><P>Below is the detailed log for your reference. Can anyone help with the solution ? <a href="https://community.sap.com/t5/user/viewprofilepage/user-id/2108">@julieplummer20</a> any pointers here?</P><P>********************************Log Starts *********************************************************************</P><P><SPAN>INFO 2024-05-02 01:24:18.257 (root/sapinst) (startInstallation) [syuxcfile.cpp:216] id=syslib.filesystem.</SPAN><SPAN>removedFile CSyFileImpl::removeEx(</SPAN><SPAN>ISyFSErrorHandler * pErrorHandler)</SPAN><BR /><SPAN>Removed file /sybase/NPL/startase_reset_sa.</SPAN><BR /><BR /><SPAN>ERROR 2024-05-02 01:24:18.258 (root/sapinst) (startInstallation) [CInstallerCallBackImpl.cpp:</SPAN><SPAN>259] id=ind-rel.ind-os.ind-db.</SPAN><SPAN>assertionFailed errno=CJS-00030 CInstallerCallBackImpl::</SPAN><SPAN>abortInstallation()</SPAN><BR /><SPAN>Assertion failed: Unable to generate a new password for database login 'sa'. Refer to trace file sapinst_dev.log for further information.</SPAN><BR /><BR /><SPAN>ERROR 2024-05-02 01:24:18.259 (root/sapinst) (startInstallation) [iaxxbjsmod.cpp:83] id=modlib.jslib.</SPAN><SPAN>caughtException errno=MUT-03025</SPAN><BR /><SPAN>Caught ESAPinstException in module call: Assertion failed: Unable to generate a new password for database login 'sa'. Refer to trace file sapinst_dev.log for further information..</SPAN><BR /><BR /><SPAN>ERROR 2024-05-02 01:24:18.754 (root/sapinst) (startInstallation) [CSiStepExecute.cpp:1104] id=controller.stepExecuted errno=FCO-00011 CSiStepExecute::execute()</SPAN><BR /><SPAN>The step syb_step_reset_db_passwords with step key |offlineadjustment_dialogs|</SPAN><SPAN>ind|ind|ind|ind|0|0|</SPAN><SPAN>offlineadjustment_db_post|ind|</SPAN><SPAN>ind|ind|ind|db_post|0|syb_</SPAN><SPAN>rename_db_post_dia|ind|ind|</SPAN><SPAN>ind|ind|syb|0|NW_SYB_DB_REN|</SPAN><SPAN>ind|ind|ind|ind|syb2|0|syb_</SPAN><SPAN>step_reset_db_passwords was executed with status ERROR (Last error reported by the step: Assertion failed: Unable to generate a new password for database login 'sa'. Refer to trace file sapinst_dev.log for further information).</SPAN><BR /><BR /><SPAN>INFO 2024-05-02 01:24:20.720 (root/sapinst) (startInstallation) [syuxcpath.cpp:441] id=syslib.filesystem.</SPAN><SPAN>creatingFile CSyPath::createFile()</SPAN><BR /><SPAN>Creating file /tmp/sapinst_instdir/NW73/SBC/</SPAN><SPAN>STANDARD/INSTANA.XML.</SPAN><BR /><BR /><SPAN>INFO 2024-05-02 01:24:21.371 (root/sapinst) (startInstallation) [syuxcpath.cpp:441] id=syslib.filesystem.</SPAN><SPAN>creatingFile CSyPath::createFile()</SPAN><BR /><SPAN>Creating file /tmp/sapinst_instdir/NW73/SBC/</SPAN><SPAN>STANDARD/instslana.xml.</SPAN><BR /><BR /><SPAN>a /tmp/sapinst_exe.21555.</SPAN><SPAN>1714592998/dev_selfex.out</SPAN><BR /><SPAN>a /tmp/sapinst_instdir/NW73/SBC/</SPAN><SPAN>STANDARD/cleanipc.1.log</SPAN><BR /><SPAN>a /tmp/sapinst_instdir/NW73/SBC/</SPAN><SPAN>STANDARD/cleanipc.log</SPAN><BR /><SPAN>a /tmp/sapinst_instdir/NW73/SBC/</SPAN><SPAN>STANDARD/control.xml</SPAN><BR /><SPAN>a /tmp/sapinst_instdir/NW73/SBC/</SPAN><SPAN>STANDARD/controllerKdbClient.</SPAN><SPAN>dmp</SPAN><BR /><SPAN>a /tmp/sapinst_instdir/NW73/SBC/</SPAN><SPAN>STANDARD/date.log</SPAN><BR /><SPAN>a /tmp/sapinst_instdir/NW73/SBC/</SPAN><SPAN>STANDARD/df.log</SPAN><BR /><SPAN>a /tmp/sapinst_instdir/NW73/SBC/</SPAN><SPAN>STANDARD/hostname.log</SPAN><BR /><SPAN>a /tmp/sapinst_instdir/NW73/SBC/</SPAN><SPAN>STANDARD/instana.xsl</SPAN><BR /><SPAN>a /tmp/sapinst_instdir/NW73/SBC/</SPAN><SPAN>STANDARD/keydb.xml</SPAN><BR /><SPAN>a /tmp/sapinst_instdir/NW73/SBC/</SPAN><SPAN>STANDARD/rpm.log</SPAN><BR /><SPAN>a /tmp/sapinst_instdir/NW73/SBC/</SPAN><SPAN>STANDARD/rsecssfx.log</SPAN><BR /><SPAN>a /tmp/sapinst_instdir/NW73/SBC/</SPAN><SPAN>STANDARD/sapcontrol.1.log</SPAN><BR /><SPAN>a /tmp/sapinst_instdir/NW73/SBC/</SPAN><SPAN>STANDARD/sapcontrol.2.log</SPAN><BR /><SPAN>a /tmp/sapinst_instdir/NW73/SBC/</SPAN><SPAN>STANDARD/sapcontrol.3.log</SPAN><BR /><SPAN>a /tmp/sapinst_instdir/NW73/SBC/</SPAN><SPAN>STANDARD/sapcontrol.log</SPAN><BR /><SPAN>a /tmp/sapinst_instdir/NW73/SBC/</SPAN><SPAN>STANDARD/sapinst.log</SPAN><BR /><SPAN>a /tmp/sapinst_instdir/NW73/SBC/</SPAN><SPAN>STANDARD/sapinst_dev.log</SPAN><BR /><SPAN>a /tmp/sapinst_instdir/NW73/SBC/</SPAN><SPAN>STANDARD/sapinst_loginquirer.</SPAN><SPAN>log</SPAN><BR /><SPAN>a /tmp/sapinst_instdir/NW73/SBC/</SPAN><SPAN>STANDARD/</SPAN><A href="http://start_dir.cd/" target="_blank" rel="noopener nofollow noreferrer">start_dir.cd</A><BR /><SPAN>a /tmp/sapinst_instdir/NW73/SBC/</SPAN><SPAN>STANDARD/stepKeydbClient.dmp</SPAN><BR /><SPAN>a /tmp/sapinst_instdir/NW73/SBC/</SPAN><SPAN>STANDARD/summary.html</SPAN><BR /><SPAN>a /tmp/sapinst_instdir/NW73/SBC/</SPAN><SPAN>STANDARD/syslib_priv.log</SPAN><BR /><SPAN>##############################</SPAN><SPAN>##################</SPAN><BR /><SPAN>Abort execution because of</SPAN><BR /><SPAN>Step returns modlib.jslib.caughtException</SPAN><BR /><SPAN>##############################</SPAN><SPAN>##################</SPAN><BR /><BR /><SPAN>INFO 2024-05-02 01:24:22.701 (root/sapinst) (startInstallation) [syuxcdir.cpp:147] id=syslib.filesystem.</SPAN><SPAN>removedDirectory CSyDirectoryImpl::sap_remove(</SPAN><SPAN>ISyFSErrorHandler * pErrorHandler)</SPAN><BR /><SPAN>Removed directory /root/.sapinst/vhcalnplci/</SPAN><SPAN>21556.</SPAN><BR /><BR /><SPAN>Error: sapinst has finished with an error code, please find logs in /tmp/sapinst_instdir</SPAN><BR /><SPAN>All logs have been written to the file /home/admin/ABAP/install_2024-</SPAN><SPAN>05-02_01-17-40.log</SPAN></P><P>********************************Log End *********************************************************************</P><P> </P><P> </P>2024-05-02T15:17:57.794000+02:00https://community.sap.com/t5/technology-q-a/is-extensibility-possible-to-upload-more-than-999-line-items-by-using/qaq-p/13690971Is extensibility possible to upload more than 999 line items by using Upload Customer Open Items app2024-05-03T16:17:01.062000+02:00AjitNDBShttps://community.sap.com/t5/user/viewprofilepage/user-id/1431339<P>Our client has embarked journey of business transformation into S/4 HANA Public Cloud system. So the client has preselected scope item – J59 (Accounts Receivables) to upload customer open items (AR items) by using standard App - Upload Customer Open Item</P><P>Here the business team would be planning to use this app to upload customer open items on monthly basis hence they are intended to upload more than 2000 entries in single file.</P><P><STRONG><U>Project Phase:-</U></STRONG><SPAN> </SPAN>Explore</P><P><STRONG><U>Issue Description: -</U></STRONG></P><P>While testing the app - Upload Customer Open Item in starter system, the app is giving error message if the upload file contains more than 2000 records</P><P>As per SAP help document , it is mentioned that each time you can upload no more than 2,000 entries in a file. If we have more than 2,000 entries in a file, split them up and upload them separately. As the maximum number of entries in an invoice during posting is limited to 999, avoid entering more entries than that number.</P><P>In current SAP ECC system of client, there is custom transaction code created which splits the file logically if items are more than 999 items. Hence the business team does not require it splits the file manually. so the business team is looking forward for similar solution where the app can able to split the files if entries more than 2000 (999 items) as it will require hugh manual efforts from business side to split the records into multiple files.</P><P>Regards,</P><P>Ajit</P>2024-05-03T16:17:01.062000+02:00https://community.sap.com/t5/technology-q-a/analytical-queries-in-btp-abap/qaq-p/13695639Analytical queries in BTP ABAP2024-05-08T21:12:34.386000+02:00rammelhttps://community.sap.com/t5/user/viewprofilepage/user-id/837548<P>Hi,</P><P>I was following this tutorial (<A href="https://developers.sap.com/tutorials/abap-environment-analytics.html#09b1b1c4-4a63-4fbb-8a54-e08f591" target="_blank" rel="noopener noreferrer">https://developers.sap.com/tutorials/abap-environment-analytics.html#09b1b1c4-4a63-4fbb-8a54-e08f591</A>) and I am getting some errors whenever I try to do the preview part.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rammel_0-1715195203892.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/107688i17DF9E83F9B30366/image-size/medium?v=v2&px=400" role="button" title="rammel_0-1715195203892.png" alt="rammel_0-1715195203892.png" /></span></P><P>I am getting this error below: </P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rammel_1-1715195265234.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/107690i8C074088AFC3FF51/image-size/medium?v=v2&px=400" role="button" title="rammel_1-1715195265234.png" alt="rammel_1-1715195265234.png" /></span></P><P>Also, I noticed the tutorial only talked about SAP SAC. Can we use this service in an Analytical List page in SAP BAS? There are actually quite few constraints.</P><P>I noticed that we cannot expose the analytical query into oData v2/v4 UI. We can only expose it via the InA UI protocol. In SAP BAS, I can only find oData v2/v4 services under this dropdown.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rammel_2-1715195431132.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/107692iD6711D727E8E2979/image-size/medium?v=v2&px=400" role="button" title="rammel_2-1715195431132.png" alt="rammel_2-1715195431132.png" /></span></P><P>Is it safe to assume that InA UI binding can only be used for integrating to SAP SAC? </P><P> </P>2024-05-08T21:12:34.386000+02:00https://community.sap.com/t5/technology-q-a/check-table-for-custom-field-created-using-custom-fields-app/qaq-p/13696761Check Table for Custom field created using Custom Fields app?2024-05-09T22:18:37.544000+02:00tushantbhatiahttps://community.sap.com/t5/user/viewprofilepage/user-id/875673<P>Hi,<BR /><BR />I am lately working on a requirement where i need to add some custom fields in Manage Product Master app, In the custom fields i am providing F4 help with the use of code list that i have maintained in the Custom Fields App.<BR /><BR />Now surprisingly i am not able to find any option which stops the user from entering the data which is not present in code list.<BR /><BR /><BR />Is there any other way of achieving this functionality??</P><P> </P><P>Thanks<BR />Tushant<BR /><BR />#customfields #inapp #inappextentions #adaptUI</P>2024-05-09T22:18:37.544000+02:00https://community.sap.com/t5/technology-q-a/hide-quot-unnamed-object-quot-text-in-item-table/qaq-p/13697897Hide "Unnamed Object" text in item table2024-05-10T17:30:05.311000+02:00Karan_Chopra_https://community.sap.com/t5/user/viewprofilepage/user-id/42200<P>Dear Experts </P><P>Is there a way to supress "Unnamed Object" default text which comes when one of the key fields is empty. I read in one blog that that i18n file needs to be modified (<A href="https://sapui5.hana.ondemand.com/sdk/#/topic/63946c02df1d45efbbad5b1658fef3a5.html" target="_blank" rel="nofollow noopener noreferrer">https://sapui5.hana.ondemand.com/sdk/#/topic/63946c02df1d45efbbad5b1658fef3a5.html</A>) but we are only working on RAP app creation without BAS access or UI development. </P><P>Can we suppress this text via BDEF or some annotation?</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Karan_Chopra__0-1715354906964.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/108784iDD596F41D75BF8BB/image-size/medium?v=v2&px=400" role="button" title="Karan_Chopra__0-1715354906964.png" alt="Karan_Chopra__0-1715354906964.png" /></span></P><P> </P>2024-05-10T17:30:05.311000+02:00https://community.sap.com/t5/technology-q-a/customization-of-sales-order-screen-based-on-the-material-type/qaq-p/13702072Customization of Sales Order Screen Based on the Material Type2024-05-15T12:12:53.688000+02:00SHRADDHA2https://community.sap.com/t5/user/viewprofilepage/user-id/1432436<P><STRONG>Scenario description: </STRONG></P><OL><LI><SPAN>We want the moment we enter the flight ticket item in the line item level, custom fields specific to the flight ticket should show, we don't want other irrelevant custom field to pop up. And likewise for hotel accommodation as well. IN short</SPAN><SPAN> custom field visibility should depend on the material we are entering at line item level.</SPAN></LI><LI><SPAN>We are generating the purchase requisition from the sale order using item category DBAB as the tickets are real time procured based on customer requirement. Custom fields filled with data in sale order should flow to Purchase requisition which will be generated from sale order. The custom field data should flow from PR to PO.</SPAN></LI><LI><SPAN>We also want Custom fields data from sales orders should flow to billing documents as well. Standard copy control does not support custom field.</SPAN></LI><LI><P><SPAN>A company is selling flight tickets and hotel accommodation service both in one sale order. </SPAN></P><SPAN><SPAN><BR /></SPAN></SPAN><P><SPAN>First Scenario:</SPAN></P><OL><LI><SPAN>We want the moment we enter the flight ticket item in the line item level, custom fields specific to the flight ticket should show, we don't want other irrelevant custom fields to pop up. And likewise for hotel accommodation as well. </SPAN><SPAN>Inshort custom field visibility should depend on the material we are entering at line item level.</SPAN></LI><LI><P><SPAN>We have activated the BADI: </SPAN></P><P><SPAN>Hiding of Custom Item Fields for Mass Change of Sales Documents</SPAN></P><P><SPAN>ID : SD_MASSCHG_SLSDOC_ITM_HIDE_EXT</SPAN></P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SHRADDHA2_1-1715767884389.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/110855i61B6AD6B663DE289/image-size/medium?v=v2&px=400" role="button" title="SHRADDHA2_1-1715767884389.png" alt="SHRADDHA2_1-1715767884389.png" /></span><P><SPAN>And this is the logic we have copied from the sample code provided by SAP: Can you let me know what changes we need to make to the logic?</SPAN></P><BR /><P> </P></LI></OL></LI></OL>2024-05-15T12:12:53.688000+02:00https://community.sap.com/t5/technology-q-a/ai-engineering/qaq-p/13703017AI Engineering2024-05-16T06:50:53.778000+02:00simantini_shhttps://community.sap.com/t5/user/viewprofilepage/user-id/753986<P>In today's fast paced world, Artificial Engineering has become an important part in our daily life, in all possible manner. I learned about different AI tools like, prompt engineering, fine tuning, lang chain, Dall-E, probabilistic and deterministic approach. I learned about chatgpt versions like chatgpt3 and chatgpt4. </P><P>Based on time spend on any page, it gives you specific solutions. We can get answers to any kind of information that is needed in dept as well as in simple language.</P><P>Dall-E is a text to image generator which is a new ability recently upgraded by chatgpt. We can give simple statements like, picture of a dig walking in a park, and AI will give us the appropriate picture. But to keep in mind, this feature is not available in all chatgpt versions. It is a very useful model in creating creative art via AI.</P><P>I learned about Lang chain model which provides developers with different language model and you can easily check your codes with large lines for errors and hoe to rectify those. I lot of applications can be developed using long chain framework.</P><P>If you have already searched something in chatgpt before and come back to look for the same result, then this result is already stored in the background which is known as feature store. It is a very useful feature in AI engineering. Based on our previous inputs, it will give us the output.</P><P>I had recently send a mail to my organization but I was not very confident of the language or format used in the mail. But now that I have knowledge of chatgpt and it’s features, I am very sure that the same mail I would be able to write in a much better manner.</P><P>Deterministic approach is basically on an idea that is generally true or an event that is supposed to happen. Like address or email address, or after 99 it’s 100 and not something else.</P><P>Whereas Probabilistic approach is based on probability. It can be less precise as well. For example: Weather forecasting. Uses past conditions and probability to determine a value.</P><P>In spite of all these features, there are some limitations as well in chatgpt. There is a chance of getting outdated data in some cases, biased answers and lack of common sense sometimes. For example: if we ask chatgpt who is the winner of ICC Men’s World cup 2023, then it would not be able to give us the correct answer, specially if we are using chatgpt3.5.</P><P>Apart from this, with the help of new features like deterministic approach and probabilistic approach, Lang Chain, Dall-E etc it has become an useful tool in daily activities.</P><P>In conclusion, I can say that this module has up skilled my knowledge on chatgpt or AI engineering which I can use on daily basis to make every day work easier. In future also, I will keep using all these features as and when required.</P><P>AI has it's pros and cons as per understanding, we need to use it based on our requirement but make sure not to trust it blindly.</P>2024-05-16T06:50:53.778000+02:00https://community.sap.com/t5/technology-q-a/not-able-to-locate-saved-data-in-custom-table-of-sap-public-cloud/qaq-p/13703194Not able to locate saved data in custom table of SAP public cloud2024-05-16T09:39:16.700000+02:00rutudixit_15https://community.sap.com/t5/user/viewprofilepage/user-id/139259<P>Hello,<BR />I am referring to below link to uploaded data from excel and save it to custom table which is created in SAP S4 public cloud.</P><P><BR /><A href="https://community.sap.com/t5/enterprise-resource-planning-q-a/easily-upload-data-from-excel-to-database-table-using-rap-model/qaq-p/13654927" target="_blank">https://community.sap.com/t5/enterprise-resource-planning-q-a/easily-upload-data-from-excel-to-database-table-using-rap-model/qaq-p/13654927</A></P><P>back end manage :</P><DIV><DIV><P><SPAN>managed</SPAN> <SPAN>implementation</SPAN> <SPAN>in</SPAN> <SPAN>class</SPAN> <SPAN>ZBP_R_CPR_ITEM_DB_01</SPAN> <SPAN>unique;</SPAN></P><P><SPAN>strict</SPAN> <SPAN>(</SPAN> <SPAN>2</SPAN> <SPAN>)</SPAN> <SPAN>;</SPAN></P><P><SPAN>define</SPAN> <SPAN>behavior</SPAN> <SPAN>for</SPAN> <SPAN>ZR_CPR_ITEM_DB_01</SPAN> <SPAN>alias</SPAN> <SPAN>AMD_ID</SPAN><SPAN>//upload // amd_id</SPAN></P><P><SPAN>persistent</SPAN> <SPAN>table</SPAN> <SPAN>zcpr_item_db_01</SPAN></P><P><SPAN>etag</SPAN> <SPAN>master</SPAN> <SPAN>LocalLastChangedAt</SPAN> <SPAN>//comment</SPAN></P><P><SPAN>lock</SPAN> <SPAN>master</SPAN></P><P><SPAN>early</SPAN> <SPAN>numbering</SPAN></P><P><SPAN>authorization</SPAN> <SPAN>master(</SPAN> <SPAN>global</SPAN> <SPAN>)</SPAN></P><P><SPAN>{</SPAN></P><P><SPAN>determination</SPAN> <SPAN>AmmendamentID</SPAN> <SPAN>on</SPAN> <SPAN>save</SPAN> <SPAN>{create;}</SPAN></P><P><SPAN>field</SPAN> <SPAN>(</SPAN> <SPAN>readonly</SPAN> <SPAN>)</SPAN></P><P><SPAN>Cputm</SPAN><SPAN>,</SPAN></P><P><SPAN>Cpudt</SPAN><SPAN>,</SPAN></P><P><SPAN>Cngtm</SPAN><SPAN>,</SPAN></P><P><SPAN>Chuser</SPAN><SPAN>,</SPAN></P><P><SPAN>LocalLastChangedAt</SPAN><SPAN>;</SPAN></P><P> </P><P><SPAN>field</SPAN> <SPAN>(</SPAN> <SPAN>readonly</SPAN> <SPAN>)</SPAN> <SPAN>//: update )</SPAN></P><P><SPAN>AmdID</SPAN><SPAN>;</SPAN></P><P> </P><P><SPAN>create;</SPAN></P><P><SPAN>update;</SPAN></P><P><SPAN>delete;</SPAN></P><P><SPAN>mapping</SPAN> <SPAN>for</SPAN> <SPAN>ZCPR_ITEM_DB_01</SPAN></P><P><SPAN>{</SPAN></P><P><SPAN>AmdID</SPAN> <SPAN>=</SPAN> <SPAN>amdid</SPAN><SPAN>;</SPAN></P><P><SPAN>Amdno</SPAN> <SPAN>=</SPAN> <SPAN>amdno</SPAN><SPAN>;</SPAN></P><P><SPAN>.</SPAN></P><P><SPAN>.</SPAN></P><P><SPAN>.</SPAN></P><P><SPAN>.</SPAN></P><P><SPAN>.</SPAN></P><P><SPAN>.</SPAN></P><P><SPAN>.</SPAN></P><P><SPAN>.</SPAN></P><P><SPAN>}</SPAN></P></DIV></DIV><P>Front End :</P><P> </P><P>onUpdatePriceButton: function(AmdID) {<BR />debugger;<BR />var oModel = this.getOwnerComponent().getModel();<BR /><BR />//all excel file data<BR />var items = this.getView().getModel("localModel").getData().items;</P><P>var indices = this.byId("ExcellUploadTable").getSelectedIndices();</P><P><BR /><BR />for (var i = 0; i < indices.length; i++) {<BR />// var obj = items[i];<BR />var obj = items[indices[i]];<BR />var oldfr = this.onDateConvert(obj['Old From']);<BR />var Enddate = this.onDateConvert( obj['End Date']);<BR />var engdt = this.onDateConvert(obj['Entered at']);<BR />var ExcellpayLoad={<BR />"AmdID": parseInt(Math.random()*1000).toString(),<BR />//"AmdID": obj['POAM ID'],<BR />"Amdno": obj['POAM No'] ,<BR />"Lifnr": obj['Vendor'],<BR />"Bstnk": obj['PO Number'],<BR />"Posex" : obj['item'] ,<BR />.</P><P>.</P><P>.</P><P>.</P><P>.</P><P>.</P><P><BR />};<BR /><BR />var that =this;<BR />this.oModel.create("/ZCPR_UPLOAD", ExcellpayLoad, {<BR />success: function(response) {<BR />sap.m.MessageToast.show("Excell File Data Saved Successfully.");<BR />},<BR />error: function(error) {<BR />sap.m.MessageToast.show("Failed to save Excell Fil Data.");<BR />}<BR />});<BR /><BR />}</P><P><BR />I have already created oData and published it. The oData is being consumed from Fiori application. The Fiori application is uploading excel sheet properly and seems like saving data.<BR />I have created another oData to fetch the table content. The same is again used in Fiori application for consumption. The fiori application is displaying data properly.<BR />However, in Eclipse ADT when CDS view is created on the same table to check if the data is saved or not. It's not reflecting.<BR />I am confused, from where the data is stored.<BR />Your help is appreciated.<BR />Regards,<BR />Rutuja.</P><P> </P>2024-05-16T09:39:16.700000+02:00