https://raw.githubusercontent.com/ajmaradiaga/feeds/main/scmt/topics/ABAP-Development-qa.xml SAP Community - ABAP Development 2025-03-17T00:00:03.806611+00:00 python-feedgen ABAP Development Q&A in SAP Community https://community.sap.com/t5/technology-q-a/table-type-for-bus-ei-extern-structure-in-sap-mdg/qaq-p/14040302 Table type for BUS_EI_EXTERN structure in sap mdg 2025-03-11T10:34:43.036000+01:00 karthik_subramanian https://community.sap.com/t5/user/viewprofilepage/user-id/1556233 <P>Hi Experts,</P><P>I have a general doubt and just need a guidance on the same.</P><P>We want to send some table type data from ECC to CRM box via BDOC for MDG BP.</P><P>I want to push the table type related to BP.</P><P>Can i just do the table type for BUS_EI_EXTERN structure in ECC via append and consume the same in CRM bdoc FM's.</P><P>Thanks.</P><P>Regards,</P><P>Karthik S</P> 2025-03-11T10:34:43.036000+01:00 https://community.sap.com/t5/technology-q-a/put-a-new-ztable-on-sm30/qaq-p/14040804 Put a New ZTable on SM30 2025-03-11T15:57:12.437000+01:00 PedroLima04 https://community.sap.com/t5/user/viewprofilepage/user-id/1986803 <P>Hi, im trying to put a new Ztable on SM30.<BR />I already create a Table Maintenance Genator, on Utilities and generate maintence view on SE11, but when i try to acess the table on SM30, this shows up:</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PedroLima04_0-1741703868482.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/235804i1FBEFE1C8FDE7F7C/image-size/medium?v=v2&amp;px=400" role="button" title="PedroLima04_0-1741703868482.png" alt="PedroLima04_0-1741703868482.png" /></span></P><P>Dont´t show anything and the table is allready filled with some data.<BR />And when I try to put new entries, the error message shows up: This table dont have relevants fields.<BR />I try to create a transaction on SE93 too, to acess, but reppend the same as i mencioned.</P><P>What should i do?</P><P>&nbsp;</P> 2025-03-11T15:57:12.437000+01:00 https://community.sap.com/t5/enterprise-resource-planning-q-a/purchase-requisition-item-fiori-app-enhancement-without-using-sap-bas/qaq-p/14041497 Purchase Requisition Item Fiori App Enhancement without using SAP BAS 2025-03-12T03:21:26.643000+01:00 sherlynn_teh https://community.sap.com/t5/user/viewprofilepage/user-id/530461 <P>Hello experts,</P><P>I would like to seek advice and guidance on whether if this enhancement is workable without SAP BAS.</P><P>The requirement is&nbsp;to add a customize field under "Valuation" called "Discount Amount" or "Discount %", and the user will enter the amount or % in that customize field and the "Valuation Price" as highlighted in the screenshot below will auto deduct from the amount entered (which means there will be some calculation logic). For example, if user enters 20 at the new customized field "Discount Amount", the valuation price will change to 180 instead of 200.</P><P>Any inputs are highly appreciated! Thank you so much!</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sherlynn_teh_1-1741745111387.jpeg" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/236118i487A3B1AFC599BC6/image-size/medium?v=v2&amp;px=400" role="button" title="sherlynn_teh_1-1741745111387.jpeg" alt="sherlynn_teh_1-1741745111387.jpeg" /></span></P><P>Regards,<BR />Sher Lynn<SPAN>&nbsp;</SPAN></P> 2025-03-12T03:21:26.643000+01:00 https://community.sap.com/t5/technology-q-a/unconverted-value-from-table-prps-into-abap-cds/qaq-p/14041758 Unconverted value from Table PRPS into ABAP CDS 2025-03-12T09:28:52.124000+01:00 VinodB1 https://community.sap.com/t5/user/viewprofilepage/user-id/1852704 <P>Hi All,</P><P>I have a cds view on table PRPS which gives me unconverted value of WBS element like P000102001 where as I need converted value of WBS like P-0001-02-001 (just e.g.). Do any one come accross such issue, how to get the converted value in CDS.</P><P>Thank you.</P> 2025-03-12T09:28:52.124000+01:00 https://community.sap.com/t5/enterprise-resource-planning-q-a/express-document-quot-update-was-terminated-quot-received-from-author-error/qaq-p/14041926 Express Document "Update Was Terminated" Received from author error in me22N while updating freight 2025-03-12T11:45:55.709000+01:00 Kunj https://community.sap.com/t5/user/viewprofilepage/user-id/9201 <P>Hi Experts,</P><P>I am trying to edit PO (ME22N) but system is showing as error Express Document "Update Was Terminated" Received from author and if I press enter then all the data which updated has vanished/lost.</P><P>Update details:</P><P>we are trying to update the freight amount in the conditions tab but the same is giving this error.</P><P>1. error does not come if the PO is not released, or the freight value is less then 1000</P><P>2. we are getting runtime error CONVT_NO_NUMBER</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kunj_0-1741755250465.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/236162i937CC0D7A82F641E/image-size/medium?v=v2&amp;px=400" role="button" title="Kunj_0-1741755250465.png" alt="Kunj_0-1741755250465.png" /></span></P><DIV>Identifed the issue is due to mismatch of Data Types. Issue is occuring while tyring to convert "1,000.00" to a number."," Comma cannot be converted to a number.&nbsp;</DIV><DIV><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kunj_0-1741776534872.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/236303i8AFB72761053E4F0/image-size/medium?v=v2&amp;px=400" role="button" title="Kunj_0-1741776534872.png" alt="Kunj_0-1741776534872.png" /></span><P>&nbsp;</P></DIV><DIV>but the error is occuring in&nbsp;<SPAN>/1BCDWB/LSM00000012F01 there is no version for this code it is not custom neither are there any logs/version for this code/include.</SPAN></DIV><P>Request you all please help me to resolve it.</P><P>Thanks !</P><P>Best Regards,</P><P>Kunj</P> 2025-03-12T11:45:55.709000+01:00 https://community.sap.com/t5/technology-q-a/cds-hierarchy-definition/qaq-p/14042028 CDS Hierarchy - DEFINITION 2025-03-12T13:14:23.509000+01:00 David40 https://community.sap.com/t5/user/viewprofilepage/user-id/1587382 <P>In ABAP Platform 2022 I'm reading in the keyword documentation about a CDS Hierarchy. In the chapter about the statement DEFINE HIERARCHY the option DIRECTORY is explained with an example. This is the CDS Hierarchy&nbsp;<SPAN>DEMO_CDS_PARENT_CHILD_DIR. The source is the CDS View Entity&nbsp; DEMO_CDS_PARENT_CHILD_SRC_DIR. Here the following hierarchy association is defined:<BR /></SPAN><SPAN><EM>&nbsp;association [1..*] to DEMO_CDS_PARENT_CHILD_SRC_DIR as _pcr on</EM><BR /><EM>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$projection.parent = _pcr.id and</EM><BR /><EM>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$projection.dir_entry =&nbsp;&nbsp;_pcr.id</EM><BR /></SPAN></P><P><SPAN>My question is about the second part of the ON condition:&nbsp;$projection.dir_entry =&nbsp;&nbsp;_pcr.id.&nbsp;</SPAN></P><P><SPAN>What is it doing?<BR />It is not showing up in the hierarchy attribute NODE_ID.<BR />When I delete it, the result is the same. When I remove the DIRECTORY option in the definition I get another result where the condition seems to be taken into account.</SPAN></P><P>&nbsp;</P> 2025-03-12T13:14:23.509000+01:00 https://community.sap.com/t5/technology-q-a/segw-reflect-boolean-data-element-change-of-domain-e-g-xfield-to-xfeld/qaq-p/14042148 SEGW: reflect boolean Data Element change of domain (e.g. XFIELD to XFELD) 2025-03-12T14:57:04.488000+01:00 Sandra_Rossi https://community.sap.com/t5/user/viewprofilepage/user-id/145194 <P>Hello all,</P><P>I have an entity type with its properties imported from a DDIC structure, I have generated everything correctly.</P><P>I have an error in /IWFND/GW_CLIENT on a POST request with JSON body: CX_SXML_PARSE_ERROR/001560AA0E081DEB8CA398CC1690D406 "Error while parsing an XML stream" (French: "Erreur lors de l'analyse d'un flux XML")</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sandra_Rossi_0-1741785989538.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/236377i8B4B11461E33EDC3/image-size/medium?v=v2&amp;px=400" role="button" title="Sandra_Rossi_0-1741785989538.png" alt="Sandra_Rossi_0-1741785989538.png" /></span></P><P>The exception is raised by the method READ_SIMPLE_PROPERTY_VALUE of&nbsp;/IWCOR/CL_DS_EP_READER_JSON, if I understand well, it considers that the entity type property XXXX is of type Edm.String but the value in the request body is boolean ("XXXX":true).</P><P>I don't know why it considers the property XXXX as type Edm.String because it's defined as Edm.Boolean (it's what I want). There's no SEGW conversion warning about it.</P><P><STRONG>So, maybe the issue is about the domain XFIELD.</STRONG></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sandra_Rossi_1-1741786496832.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/236391iAF8B92313126DCAB/image-size/medium?v=v2&amp;px=400" role="button" title="Sandra_Rossi_1-1741786496832.png" alt="Sandra_Rossi_1-1741786496832.png" /></span></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sandra_Rossi_2-1741786592262.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/236392i82BE84E13A0D74A1/image-size/medium?v=v2&amp;px=400" role="button" title="Sandra_Rossi_2-1741786592262.png" alt="Sandra_Rossi_2-1741786592262.png" /></span></P><P>As I can see in the SAP OData documentation (<A href="https://help.sap.com/saphelp_gateway20sp12/helpdata/en/8d/89e454c2656574e10000000a44538d/content.htm?no_cache=true" target="_blank" rel="noopener noreferrer">ABAP Dictionary Type to EDM.Type Mapping</A>), a boolean should not be XFIELD.</P><P>So, I've changed it from XFIELD to XFELD and I regenerated the OData service.</P><P>I restarted /IWFND/GW_CLIENT, I cleared the backend buffer:</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sandra_Rossi_3-1741787517290.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/236405i1D8A7274A1722F61/image-size/medium?v=v2&amp;px=400" role="button" title="Sandra_Rossi_3-1741787517290.png" alt="Sandra_Rossi_3-1741787517290.png" /></span></P><P>I&nbsp;restarted /IWFND/GW_CLIENT, tested again, but still the same error happens.</P><P>&nbsp;</P><OL><LI>What do you think the problem is?</LI><LI>Is it the regeneration which doesn't detect the domain change? Should I force the regeneration of the property by changing anything for this property, e.g. change the type to Edm.String, regenerate the service, then change back to Edm.Boolean and regenerate again?</LI><LI>There's no "hub system", there's physically only one backend system. Are there two different buffers if there's only one backend system, and should I clear "on both systems"?</LI></OL><P>Thanks a lot!</P><P>System: 7.40 SP 23</P> 2025-03-12T14:57:04.488000+01:00 https://community.sap.com/t5/technology-q-a/bsp-change-value-in-the-grid-by-iterator/qaq-p/14042169 BSP change value in the grid by iterator 2025-03-12T15:22:18.351000+01:00 clayton_barbosa https://community.sap.com/t5/user/viewprofilepage/user-id/328221 <P>Hi!&nbsp;</P><P>&nbsp; I need to change the value, as shown below, but the new value is lost.&nbsp;</P><P>&nbsp; How can I get the new value? (BY BSP )</P><P>&nbsp; I am developing with MVC and CLASS ITERATOR.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="clayton_barbosa_0-1741789010018.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/236420i5AD1BAA747A839E1/image-size/medium?v=v2&amp;px=400" role="button" title="clayton_barbosa_0-1741789010018.png" alt="clayton_barbosa_0-1741789010018.png" /></span></P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="clayton_barbosa_1-1741789144696.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/236421i82E831BF509053D0/image-size/medium?v=v2&amp;px=400" role="button" title="clayton_barbosa_1-1741789144696.png" alt="clayton_barbosa_1-1741789144696.png" /></span></P><P>&nbsp;</P><P>Thank you!</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P> 2025-03-12T15:22:18.351000+01:00 https://community.sap.com/t5/technology-q-a/lock-wbs-element-programmatically-using-bapi-or-function-module/qaq-p/14042286 Lock WBS Element programmatically using BAPI or Function Module 2025-03-12T17:16:04.443000+01:00 mayuresh_kshirsagar https://community.sap.com/t5/user/viewprofilepage/user-id/378719 <P>Hello Experts,</P><P>My requirement is to lock WBS element programmatically using BAPi or Function Module. I have found one BAPI '<STRONG>BAPI_BUS2054_CHANGE_MULTI</STRONG>' to update the WBS element, but didn't found any field to lock the WBS element under project definition and project profile level.&nbsp;</P><P>If anyone has worked on this kind of a requirement / any suggestions would be helpful.</P><P>Thanks.</P><P>--</P><P>Regards,</P><P>Mayuresh&nbsp;</P> 2025-03-12T17:16:04.443000+01:00 https://community.sap.com/t5/technology-q-a/savely-secure-credentials-in-abap/qaq-p/14042877 Savely secure Credentials in ABAP 2025-03-13T10:13:23.735000+01:00 Rene9 https://community.sap.com/t5/user/viewprofilepage/user-id/1712413 <P>Hello SAP community,</P><P>I've been tasked to come up with a solution for savely storing credentials inside ABAP, but there doesn't seem to be an option that cannot simply be reversed by using se37, se38 or even a plain select statement.</P><P>I've tried a few thinks but in the end everything comes out to the same, so in the end I've settled on using the cl_hard_wired_encryptor and encrypting the password and key before storing them into a custom database Table. The Problem is that anyone with access to se37 and the Key which has to be hardcoded in the program which is using the credentials can access them in plain text.</P><P>Does anyone know of any possibility available to customers to secure credentials?</P><P>Thanks in advance</P> 2025-03-13T10:13:23.735000+01:00 https://community.sap.com/t5/technology-q-a/scrolling-table-control/qaq-p/14042886 Scrolling table control 2025-03-13T10:23:24.102000+01:00 taher123 https://community.sap.com/t5/user/viewprofilepage/user-id/1957073 <P>Hi,</P><P>I have a screen that contains a table, which should be populated by default when the screen is opened. So, I put my selection logic in the PBO event, and it retrieves and displays the data when the screen opens.</P><P>But the problem is that when I scroll up or down in the table, it navigates back to the previous screen.</P><P>Regards,<BR /><BR /></P> 2025-03-13T10:23:24.102000+01:00 https://community.sap.com/t5/technology-q-a/repricing-at-vf04/qaq-p/14043201 Repricing at VF04 2025-03-13T15:19:03.547000+01:00 RaviSee https://community.sap.com/t5/user/viewprofilepage/user-id/1439525 <P>Hello,</P><P>I have a requirement where I want to do repricing at VF04 (collective billing) after clicking on save.</P><P>1.How to do repricing in Billing doc creation. I know we can achieve repricing using below code for sales orders.<BR /><!-- StartFragment --><SPAN>&nbsp;<SPAN class="">PERFORM&nbsp;</SPAN>preisfindung_gesamt&nbsp;<SPAN class="">USING&nbsp;</SPAN>'G'<SPAN class="">.</SPAN></SPAN></P><P>2.Any enhancements available to achieve this at the time of saving. Please share your inputs.</P><P>Thanks,</P><P>Ravi</P><P>&nbsp;</P> 2025-03-13T15:19:03.547000+01:00 https://community.sap.com/t5/technology-q-a/modify-stmt-showing-sy-subrc-0-for-duplicate-record/qaq-p/14043332 'Modify' stmt showing sy-subrc = 0 for duplicate record 2025-03-13T17:14:13.682000+01:00 ricky_shaw https://community.sap.com/t5/user/viewprofilepage/user-id/202195 <P>Hi,<BR />In my prog, I am updating a Z*table using Modify from a workarea stmt within a loop..endloop.<BR />The work area is exactly like DBtable structure with 4 unique keys. I have 4 keys in a Z*Table.</P><P>I have a Modify Z*INVDBTAB from wa_invdoc stmt. Modify is showing sy-subrc = 0 even when it encounters a duplicate record with same set of unique keys but fortunately the Z*DB table is NOT updating that duplicate record(which is correct).</P><P>The Modify stsmt should show sy-subrc = 4 right?&nbsp;</P><P>Can someone Pls clarify.</P> 2025-03-13T17:14:13.682000+01:00 https://community.sap.com/t5/technology-q-a/method-transport-syntax-check-error-due-to-quot-old-alias-code-quot/qaq-p/14043653 Method transport syntax check error due to "old alias code" presence (ZCX exception class) 2025-03-13T21:39:22.569000+01:00 Sandra_Rossi https://community.sap.com/t5/user/viewprofilepage/user-id/145194 <P>Hello,</P><P>I had a weird error when transporting a custom exception class (ZCX inheriting from CX_NO_CHECK).</P><P>I explain what the issue was, how I solved, but my question is about how to avoid the issue in the future.</P><P>So, here was the issue:</P><P>I had a transport request which contains all sections and all methods of the class as LIMU entries (CLSD, CPUB, CPRO, CPRI, METH).</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sandra_Rossi_2-1741883934127.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/236852iA466DFE35474CDBD/image-size/medium?v=v2&amp;px=400" role="button" title="Sandra_Rossi_2-1741883934127.png" alt="Sandra_Rossi_2-1741883934127.png" /></span></P><P>After importing the transport request in a system,&nbsp;I had a syntax error although the code should be theoretically the same as the code in the development system.</P><P>To my big surprise, in the target system, in the table TMDIR (index of methods), I can see that the methods are "duplicated", I expect only the methods with the interface names:</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sandra_Rossi_0-1741883013102.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/236847i8F5C6B9897BBFCE4/image-size/medium?v=v2&amp;px=400" role="button" title="Sandra_Rossi_0-1741883013102.png" alt="Sandra_Rossi_0-1741883013102.png" /></span></P><P>Via SE24, I can see that the code of IF_MESSAGE~GET_LONGTEXT contains the old code (I suspect that it looks at the method at index 2), but the code of IF_MESSAGE~GET_TEXT contains the new code (I guess it's the method at index 5). The transport log doesn't show any error (except the syntax error), and if I compare "import phase" of the transport logs of two systems, one with error, one without error, the import phases show exactly the same information, which mention only the method at indexes 4 and 5, e.g. "method IF_MESSAGE~GET_LONGTEXT include ZCX======CM004 will be imported as ZCX======CM004")</P><P>Probably the history of the source code explains the situation (but it's not sufficient to explain why it didn't happen in the other systems):</P><P>&nbsp;</P><P><U>Version 1: the class creation was via Eclipse ADT with this code:</U></P><DIV><DIV><P><SPAN>METHODS </SPAN><SPAN>get_longtext</SPAN><SPAN> REDEFINITION.</SPAN></P><P><SPAN>METHODS </SPAN><SPAN>get_text</SPAN><SPAN> REDEFINITION.</SPAN></P></DIV></DIV><P>&nbsp;</P><P><U>Version 2: it was changed via Form-Based ABAP Editor (transport was OK)</U> - The only explanation I could find why the interface name was added to the method redefinitions is that the menu "Utilities &gt; Regenerate sections" was used, other modifications and functions don't seem to add the interface name:</P><DIV><DIV><P><SPAN>methods </SPAN><SPAN>IF_MESSAGE</SPAN><SPAN>~</SPAN><SPAN>GET_LONGTEXT&nbsp;</SPAN><SPAN>redefinition</SPAN> <SPAN>.</SPAN></P><P><SPAN>methods </SPAN><SPAN>IF_MESSAGE</SPAN><SPAN>~</SPAN><SPAN>GET_TEXT&nbsp;</SPAN><SPAN>redefinition</SPAN> <SPAN>.</SPAN></P><P>&nbsp;</P></DIV></DIV><P><U>Version 3: the source code was changed again via Eclipse ADT, and the transport failed:</U></P><DIV><DIV><P><SPAN>METHODS </SPAN><SPAN>get_longtext</SPAN><SPAN> REDEFINITION.</SPAN></P><P><SPAN>METHODS </SPAN><SPAN>get_text</SPAN><SPAN> REDEFINITION.</SPAN></P></DIV></DIV><P>&nbsp;</P><P>That's also weird because in some other systems,&nbsp;although the transports were done exactly in the same sequence, and they seem to be all the same versions and support packages, the two "alias methods" were removed between version 2 and version 3: in these systems, in TMDIR, after version 3 was imported, I see the two methods IF_MESSAGE~GET_LONGTEXT and IF_MESSAGE~GET_TEXT (which demonstrates that using METHODS get_text REDEFINITION without the interface name is not always an issue). Note that in these systems, these methods are assigned the indexes "4" and "5".</P><P>The issue was solved by transporting the whole class using R3TR CLAS ZCX... The two old methods "2" and "3" were removed, only the latest code is kept, as you can see:</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sandra_Rossi_1-1741883824037.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/236851i9AA93C3801293773/image-size/medium?v=v2&amp;px=400" role="button" title="Sandra_Rossi_1-1741883824037.png" alt="Sandra_Rossi_1-1741883824037.png" /></span></P><P>So, my two questions are:</P><OL><LI>Why is there an error, did I miss an SAP note?</LI><LI>How to avoid this error in the future, should we always opt for one variant of METHODS REDEFINITION?</LI></OL><P>I'd love it if you can find some links to SAP documentation about this issue.</P><P>Thanks for reading!<BR />Sandra</P><P>Systems: <STRONG>all are 7.40 SP 23, kernel 753 SP 1300</STRONG></P><P>NB: I guess that the error is not limited to exceptions classes (but I can't be sure of course), it's probably related to any classes where the methods are:</P><OL><LI>defined in interfaces,</LI><LI>"aliased" in the class implementing the interface (as it happens in CX_ROOT),</LI><LI>are redefined in a subclass (as it happens in my ZCX class)</LI></OL><P>(For my reference, the transport request is XXXK910882)</P> 2025-03-13T21:39:22.569000+01:00 https://community.sap.com/t5/technology-q-a/display-pe51-payslip-on-adobe-from/qaq-p/14043659 Display PE51 Payslip on Adobe From 2025-03-13T21:52:04.385000+01:00 Deon_van_Zyl https://community.sap.com/t5/user/viewprofilepage/user-id/56009 <P>Hi,</P><P>I am looking for a way to display a payslip rendered as a PE51 form on a interactive adobe form. I found 3 function modules that gives me the payslip according to the variant... BAPI_GET_PAYSLIP, BAPI_GET_PAYSLIP_PDF and BAPI_GET_PAYSLIP_HTML. I am looking for a way to either display HTML or the SAP Script table output or the PDF binary out on a custom adobe form? Any suggestions on how to do it? I was thinking of either sending the pdf binary to a image object on the adobe form or sending the SAP Script to a text object?</P><P>Just a few comments.. No I don't want to create a payslip in HRFORMS and no I don't want to convert the SAP Script straight to PDF.. I need to get that data to a custom adobe form:)</P><P>Kind Regards</P><P>Deon</P> 2025-03-13T21:52:04.385000+01:00 https://community.sap.com/t5/technology-q-a/cond-count-cannot-convert-123-into-num-loss-of-significant-digits-sap-nco/qaq-p/14044511 COND_COUNT - Cannot convert 123 into NUM: loss of significant digits. SAP NCo issue. 2025-03-14T09:25:38.711000+01:00 dmko https://community.sap.com/t5/user/viewprofilepage/user-id/892078 <P>Hello,</P><P>Recently we started getting <STRONG>"Cannot convert 123 into NUM: loss of significant digits."</STRONG> error from NCo library for the specific field - COND_COUNT from BAPICOND structure.&nbsp;</P><P>By default the length of this field is 2 digits, but the thing is we have some cases when amount of price conditions is more then 99 and that's why it fails now.</P><P>As I understood this field controls the order of price conditions and quite important to get a correctly price calculated.</P><P>We are using:&nbsp;BAPI_QUOTATION_CREATEFROMDATA2 function to create quote and one of the input parameter there is&nbsp;COND_COUNT.</P><P>Can someone please advice what is possible solution here if you faced this issue also?<BR />I'm wondering is it possible to increase COND_COUNT length to 3 or 4 digits and what is the impact of this change on SAP system?</P><P>Maybe there is another way how to make it work with the default field length, what is the general/suggested approach in this type of issue?</P><P>Sap NCo version is -<SPAN>&nbsp;</SPAN><U>3.1.0.42.</U></P><P>&nbsp;</P><P>Thanks in advance,</P><P>Best regards,</P><P>Dmitriy</P> 2025-03-14T09:25:38.711000+01:00 https://community.sap.com/t5/technology-q-a/how-to-add-a-filter-in-sap-cloud-restful-application-programming-without/qaq-p/14044629 How to Add a Filter in SAP Cloud RESTful Application Programming Without Affecting Data Retrieval? 2025-03-14T11:38:29.288000+01:00 bettulaksu https://community.sap.com/t5/user/viewprofilepage/user-id/1656228 <P>Hi everyone,</P><P>I am working on a Fiori Elements application and want to add a new filter parameter (e.g., <EM>CustomDateFilter</EM> as shown in the screenshot). However, I don’t want this parameter to impact the actual data retrieval when clicking the <STRONG>Go</STRONG> button. Instead, I need it for additional processing or logic within the application.</P><P>How can I implement this in SAP Fiori Elements or RAP without affecting the dataset returned from the backend? Are there any best practices for handling such scenarios? (By the way i am using Restful Application Programming).</P><P>Thanks in advance!</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CLOUD GORSEL.png" style="width: 999px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/237513i9350DBD5E9A37650/image-size/large/is-moderation-mode/true?v=v2&amp;px=999" role="button" title="CLOUD GORSEL.png" alt="CLOUD GORSEL.png" /></span></P><P>&nbsp;</P><P><BR /><BR /></P> 2025-03-14T11:38:29.288000+01:00 https://community.sap.com/t5/technology-q-a/how-to-keep-a-button-always-active-in-sap-fiori-elements-rap/qaq-p/14044647 How to Keep a Button Always Active in SAP Fiori Elements (RAP)? 2025-03-14T11:51:28.855000+01:00 bettulaksu https://community.sap.com/t5/user/viewprofilepage/user-id/1656228 <P>Hi everyone,</P><P>I am developing a Fiori Elements application using RESTful Application Programming (RAP). I have added a custom button (e.g., "KURBUTON"), but it appears inactive (disabled).&nbsp; However, I want this button to be <STRONG>always active</STRONG>, regardless of whether any selections are made.</P><P>Here is the code I used for the button:</P><DIV><DIV><P><SPAN>projection</SPAN><SPAN>;</SPAN></P><P><SPAN>//strict ( 2 );</SPAN></P><P>&nbsp;</P><P><SPAN>define</SPAN> <SPAN>behavior</SPAN> <SPAN>for</SPAN> <SPAN>ZC_ZBA_P_01</SPAN> <SPAN>//alias &lt;alias_name&gt;</SPAN></P><P><SPAN>{</SPAN></P><P><SPAN>// use create;</SPAN></P><P><SPAN>// use update;</SPAN></P><P><SPAN>// use delete;</SPAN></P><P><SPAN>use</SPAN> <SPAN>action</SPAN> <SPAN>KURBUTON</SPAN> <SPAN>;</SPAN></P><P>&nbsp;</P><P><SPAN>// use function kurbuton;</SPAN></P><P>&nbsp;</P><P><SPAN>}<BR /><BR />-----------------------------------------------------------------------------------------<BR /><BR /><BR /></SPAN></P><DIV><DIV><P><SPAN>managed</SPAN> <SPAN>implementation</SPAN> <SPAN>in</SPAN> <SPAN>class</SPAN> <SPAN>zbp_i_zba_m_001</SPAN> <SPAN>unique;</SPAN></P><P><SPAN>//strict ( 2 );</SPAN></P><P>&nbsp;</P><P><SPAN>define</SPAN> <SPAN>behavior</SPAN> <SPAN>for</SPAN> <SPAN>ZI_ZBA_M_001</SPAN> <SPAN>//alias &lt;alias_name&gt;</SPAN></P><P><SPAN>persistent</SPAN> <SPAN>table</SPAN> <SPAN>I_ExchangeRateRawData</SPAN></P><P><SPAN>lock</SPAN> <SPAN>master</SPAN></P><P><SPAN>authorization</SPAN> <SPAN>master</SPAN> <SPAN>(</SPAN> <SPAN>instance</SPAN> <SPAN>)</SPAN></P><P><SPAN>//etag master &lt;field_name&gt;</SPAN></P><P><SPAN>{</SPAN></P><P><SPAN>// create;</SPAN></P><P><SPAN>// update;</SPAN></P><P><SPAN>// delete;</SPAN></P><P><SPAN>// field ( readonly ) ExchangeRateType, SourceCurrency, TargetCurrency, ValidityStartDate;</SPAN></P><P>&nbsp;</P><P><SPAN>action</SPAN> <SPAN>(</SPAN> <SPAN>features:</SPAN> <SPAN>instance)</SPAN> <SPAN>KURBUTON</SPAN> <SPAN>result[1]$self;</SPAN></P><P>&nbsp;</P><P><SPAN>//function kurbuton result [0..*] $self;</SPAN></P><P><SPAN>}</SPAN></P></DIV></DIV><P><SPAN><BR /><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="görsel3.png" style="width: 513px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/237522i62209C9C4AF20856/image-size/large/is-moderation-mode/true?v=v2&amp;px=999" role="button" title="görsel3.png" alt="görsel3.png" /></span><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gorsel2.png" style="width: 708px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/237523i7B1C57E34DE1D879/image-size/large/is-moderation-mode/true?v=v2&amp;px=999" role="button" title="gorsel2.png" alt="gorsel2.png" /></span><BR /><BR /></SPAN></P></DIV></DIV> 2025-03-14T11:51:28.855000+01:00 https://community.sap.com/t5/technology-q-a/redefine-or-extend-fdp-ef-purchase-order/qaq-p/14044760 Redefine or Extend FDP_EF_PURCHASE_ORDER 2025-03-14T13:55:05.373000+01:00 Deon_van_Zyl https://community.sap.com/t5/user/viewprofilepage/user-id/56009 <P>I want to Redefine&nbsp;FDP_EF_PURCHASE_ORDER in order to extend the entity sets to add some fields, but when I try to edit&nbsp;FDP_EF_PURCHASE_ORDER I get a message that editing is prohibited because its SAP standard. But according to the SAP help&nbsp;<A href="https://help.sap.com/doc/05d53b2d3bbb43d2ab5efa23829b2777/1511%20000/en-US/frameset.htm?48dd22512c312314e10000000a44176d.html" target="_self" rel="noopener noreferrer">SAP Help</A>&nbsp;and blogs&nbsp;<A href="https://community.sap.com/t5/technology-blogs-by-members/adobe-form-output-using-gateway-services-odata-sap/ba-p/13365588" target="_self">Blogs</A>&nbsp;I should be able to do it? What am I missing?</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-03-14 at 14.25.12.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/237566i26844436E22F1996/image-size/medium/is-moderation-mode/true?v=v2&amp;px=400" role="button" title="Screenshot 2025-03-14 at 14.25.12.png" alt="Screenshot 2025-03-14 at 14.25.12.png" /></span></P><P> </P> 2025-03-14T13:55:05.373000+01:00 https://community.sap.com/t5/technology-q-a/how-to-identify-the-odata-name-and-odata-dpc-ext/qaq-p/14045142 How to identify the Odata Name and Odata DPC Ext 2025-03-14T20:22:27.833000+01:00 AJeB https://community.sap.com/t5/user/viewprofilepage/user-id/781848 <P>How to identify the Odata Name and Odata DPC Ext using the Odata Service ? what tcode and table I can use?</P> 2025-03-14T20:22:27.833000+01:00