https://raw.githubusercontent.com/ajmaradiaga/feeds/main/scmt/topics/ABAP-Cloud-qa.xmlSAP Community - ABAP Cloud2025-05-18T14:00:01.198335+00:00python-feedgenABAP Cloud Q&A in SAP Communityhttps://community.sap.com/t5/technology-q-a/change-data-in-the-dropdown-list-or-searchhelp-with-draft-in-rap-in-odata/qaq-p/14087575Change data in the dropdown list or searchHelp with draft in RAP in Odata v4gets the old text again2025-04-27T20:23:04.959000+02:00amo_ryhttps://community.sap.com/t5/user/viewprofilepage/user-id/888074<P>In Edit mode of an instance with draft in RAP in Odata , I am trying to change the data on dropdown list or in the search help it gets back the old text ( this issue not happens in Odata v2 ) .</P><P>ex : its selected already as 'Forum' when i am trying to change it to 'Workshop' the text gets back to 'Forum' again but if i saved the data it makes it correct as 'Workshop' . </P><P> </P><P>Can any one help ? </P><P> </P>2025-04-27T20:23:04.959000+02:00https://community.sap.com/t5/technology-q-a/how-to-create-crud-using-sap-rap/qaq-p/14089343How to create CRUD using SAP RAP?2025-04-29T12:49:05.988000+02:00walkeristhttps://community.sap.com/t5/user/viewprofilepage/user-id/798835<P>Hello everyone, I have created an ODATA service(Service definition, Behavior Definition) to perform CRUD operations on a custom table. </P><P>Using SAP Gateway Client, I was able to create an entry into the custom table using the code below. I'm not sure how it works specifically on update and delete.</P><P>Here is my code for Behavior Definition:</P><pre class="lia-code-sample language-abap"><code>managed implementation in class zcl_test unique;
strict(2);
define behavior for zv_test
persistent table z_custable
lockmaster
authorization master( instance )
{
create;
update;
delete;
action createUser result[1] $self;
}</code></pre><P>Here for the class:</P><pre class="lia-code-sample language-abap"><code>CLASS lhc_ZV_TEST DEFINITION INHERITING FROM cl_abap_behavior_handler.
PRIVATE SECTION.
METHODS get_instance_authorizations FOR INSTANCE AUTHORIZATION
IMPORTING keys REQUEST requested_authorizations for ZV_TEST RESULT result.
METHODS createUser FOR MODIFY
IMPORTING keys FOR ACTION zv_test-createUser RESULT result.
CLASS lhc_zv_test IMPLEMENTATION
METHOD createUser.
ENDMETHOD.
ENDCLASS.</code></pre><P> My question is, how do i implement the update and delete? is it implemented in the behavior definition? I'm not really exposed to this RAP. </P>2025-04-29T12:49:05.988000+02:00https://community.sap.com/t5/technology-q-a/regarding-cross-tier-cross-abap-language-quot-cloud-development/qaq-p/14089463Regarding cross Tier , Cross 'ABAP Language" Cloud development2025-04-29T14:28:45.051000+02:00satya_devarajuhttps://community.sap.com/t5/user/viewprofilepage/user-id/194645<P>While implementing a classic unreleased BADI we plan to write the core logic in a Tier-1 Class ( use Tier-2 wrapper class to wrap any unreleased objects). Once we have this logic in a Tier-1 class , we plan to call this method in the classical Tier-3 BADI. This is to avoid/decrease technical debt once this classical BADI cloud released. Do you see any issues with this approach (cross Tier, cross "ABAP language) on the upgrade stability?</P><P>This is on S4HANA 2023 , Basis version 758 SP 02</P><P>Do you have any documentation ( Note, KBA or blog) to support this approach?</P>2025-04-29T14:28:45.051000+02:00https://community.sap.com/t5/technology-q-a/how-to-use-http-post-method-in-sap-gateway-client-using-json-format/qaq-p/14089476How to use HTTP Post method in SAP Gateway Client using JSON format?2025-04-29T14:38:06.724000+02:00bigflatfoothttps://community.sap.com/t5/user/viewprofilepage/user-id/887707<P>I was trying to update a custom table using the HTTP METHOD POST in SAP Gateway Client. Here's the JSON format that I've used. The fields ZBANDNAME, ZESTDATE, ZMEMBERS are key fields while the ZSTATUS is not and I'm trying to update it.</P><pre class="lia-code-sample language-json"><code>{
"ZBANDNAME" : "ONE DIRECTION",
"ZESTDATE" : "2010",
"ZMEMBERS" : "FOUR",
"ZSTATUS" : "DISBANDED"
}</code></pre><P>Upon trying to update the value of a field ZSTATUS in SAP GW Client, I encountered an error message: "The key value is already in use. Please enter a different one." </P><P>How can I avoid this issue and proceed with the update?</P>2025-04-29T14:38:06.724000+02:00https://community.sap.com/t5/technology-q-a/do-i-need-to-create-an-index-cdhdr/qaq-p/14089534Do i need to create an index CDHDR?2025-04-29T15:42:03.577000+02:00ricky_shawhttps://community.sap.com/t5/user/viewprofilepage/user-id/202195<P>Hi,<BR />I am querying CDHDR table with below fields.<BR /><BR />OBJECTCLAS<BR />OBJECTID<BR />UDATE</P><P>I see some 4 indexes already created with one Z1(say) Index created with below 2 fields<BR /><BR />OBJECTCLAS<BR />UDATE</P><P>which means i am using extra field in my above query:</P><P>Is it a good idea to create another Index with extra field(like below) for my requirement?</P><P>OBJECTCLAS<BR />OBJECTID<BR />UDATE<BR />Pls suggest.</P>2025-04-29T15:42:03.577000+02:00https://community.sap.com/t5/technology-q-a/create-a-pdf-with-password-without-command-execute/qaq-p/14090173Create a PDF with password without command execute2025-04-30T08:31:51.001000+02:00Rangga_Darmawanhttps://community.sap.com/t5/user/viewprofilepage/user-id/1514946<P>Hi Folks, I have a requirement to create a PDF with password protection. I have search it in the forums, but the solution require us to put a program in the server and using command line. We are not allowed to do that. Even if it allowed the use of code open dataset and using command line is showed P1 in ATC since we are using this for ABAP RAP( ABAP Cloud Ready). Is there any other solution?</P>2025-04-30T08:31:51.001000+02:00https://community.sap.com/t5/technology-q-a/show-adobe-forms-smartforms-in-abap-rap-ui-without-segw-or-extend-the-fiori/qaq-p/14090237Show Adobe Forms/SmartForms in ABAP RAP UI without SEGW or extend the FIORI UI2025-04-30T09:04:58.377000+02:00Rangga_Darmawanhttps://community.sap.com/t5/user/viewprofilepage/user-id/1514946<P>Hi Folks, I need to put PDF generated from Adobe Forms/SmartForms in ABAP RAP Report. I have try using virtual element in the projection view. I have put the semantic object for large object in the element.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Virtual element code" style="width: 488px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/256451iC339DDEF29FC87EC/image-size/large?v=v2&px=999" role="button" title="Screenshot 2025-04-30 134637.png" alt="Virtual element code" /><span class="lia-inline-image-caption" onclick="event.preventDefault();">Virtual element code</span></span></P><P>The object are populated. The data showed in BASE64 string if I removed the semantic large object. However when I put the semantic large object, it showed the data as a url/link but nothing happened when I click the link. no error. If I put the generated XSTRING in the table and select it using normal CDS without virtual element the link works normally. <BR />I have also try to use it in a custom entity, but the result is same. Nothing happened when I click the link.</P><P>I there any other ways to fulfill this requirement without using SEGW and extend the UI?</P>2025-04-30T09:04:58.377000+02:00https://community.sap.com/t5/technology-q-a/s4-conversion-abap-tools-to-be-used-adt-eclipse-or-btp-abap/qaq-p/14090676S4 Conversion - ABAP tools to be used ADT( Eclipse ) or BTP ABAP ?2025-04-30T16:09:06.699000+02:00KumarAakashhttps://community.sap.com/t5/user/viewprofilepage/user-id/481<P>Hello - </P><P> </P><P>This question could be asked in multiple forum but is there any consolidation view which IDE is best fit for which kind of ABAP development . As business are transforming SAP ERP To S4 ( Green field , Brown field ) - carrying old legacy exits , implicit enhancement.. which ABAP development tool should be used - </P><P> </P><P>SAP GUI - still continues to ABAPer to go tool ?</P><P>ADT - Eclipse is to go tool now in S4 ( Private cloud , self managed S4 system ) </P><P>BAS - ABAP cloud ... </P><P> </P><P>thanks</P><P>aakash </P>2025-04-30T16:09:06.699000+02:00https://community.sap.com/t5/technology-q-a/creating-custom-post-processing-of-the-output-payment-file-sap-s4-hana/qaq-p/14091656Creating Custom Post-processing of the Output Payment File- SAP S4 HANA PUBLIC CLOUD(ABAP CLOUD)2025-05-02T08:11:22.766000+02:00RameshYekambramhttps://community.sap.com/t5/user/viewprofilepage/user-id/1787261<P>Hi All,</P><P>We are currently implementing custom post-processing logic for the output payment file generation.<BR />However, we're facing an issue when a single payment includes multiple invoices.</P><P>The behavior we're experiencing is:</P><P>Three separate output files are being generated.</P><P>File 1 includes details of only the first invoice.</P><P>File 2 includes the first and second invoices.</P><P>File 3 includes all three invoices.</P><P>Our objective is to generate a single output file that contains all invoices related to the payment.</P><P>We have attempted debugging the process, but the BAdI (Business Add-In) we’re using is not getting triggered during this execution, even though the output files are being generated.</P><P>Has anyone encountered this issue before or have any insight on:</P><P>Why the BAdI might not be triggered?</P><P>How we can ensure that all invoice details are captured once in a single output file?</P><P>We referred the below link to Creating Custom Post-processing of the Output Payment File:</P><P><A href="https://learning.sap.com/learning-journeys/exploring-localization-as-a-self-service-with-sap-s-4hana-cloud-public-edition/creating-custom-post-processing-of-the-output-payment-file_fa31d25b-c161-4f02-a0b2-b8338533bd94" target="_blank" rel="noopener noreferrer">https://learning.sap.com/learning-journeys/exploring-localization-as-a-self-service-with-sap-s-4hana-cloud-public-edition/creating-custom-post-processing-of-the-output-payment-file_fa31d25b-c161-4f02-a0b2-b8338533bd94</A></P><P>Any guidance or suggestions would be greatly appreciated.</P><P>Thanks in advance!</P>2025-05-02T08:11:22.766000+02:00https://community.sap.com/t5/technology-q-a/how-to-consume-a-logo-uploaded-in-manage-logo-app-in-standalone-adobe-form/qaq-p/14092302How to consume a logo(uploaded in MANAGE LOGO app) in STANDALONE Adobe form (w/o Master template)?2025-05-02T22:01:40.955000+02:00robinthakralhttps://community.sap.com/t5/user/viewprofilepage/user-id/801057<P><SPAN>Help me with one thing, which I'm recently trying for my knowledge purpose.</SPAN><BR /><BR /><SPAN>Client Logo is so far uploaded in MANAGE LOGO Fiori app, and then the name of the same would be handled in SPRO configuration against MASTER FORM with header, footer- by creating a RULE</SPAN><BR /><BR /><SPAN>But</SPAN><SPAN> <STRONG>if we want to use that same logo in STANDALONE form, what set of code can we write?</STRONG></SPAN><BR /><BR /><SPAN>I don't want to use SE78 BMP image, string, etc. I am aware of that part.</SPAN><BR /><SPAN>So, can you help me here?</SPAN></P>2025-05-02T22:01:40.955000+02:00https://community.sap.com/t5/technology-q-a/custom-consumption-complex-cds-view-to-enable-the-cdc/qaq-p/14094309Custom Consumption Complex CDS view to Enable the CDC2025-05-06T12:10:45.721000+02:00VENUCH6https://community.sap.com/t5/user/viewprofilepage/user-id/2041215<P>Hi Team,</P><P>I am having a custom CDS Consumption view which was built on KONDN Joining with union of tables(KOTN901 TO KOTN922) and CDHDR and CDPOS table. This View I want to enable the CDC to replicate into SAP Datasphere. Please guide how to proceed on this.</P><P> </P><P>Regards,</P><P>Venu</P>2025-05-06T12:10:45.721000+02:00https://community.sap.com/t5/technology-q-a/distribution-of-customer-to-lower-environments-production-to-quality/qaq-p/14094333Distribution of customer to lower environments. Production to Quality2025-05-06T12:22:29.616000+02:00Akhil6623https://community.sap.com/t5/user/viewprofilepage/user-id/1933344<P>We have a requirement where we have to Distribute production data (customers) to quality system.</P><P>The approach we followed is by DRF. The IDOCs are now successfully reaching the quality system but now we have to create a process code in order to handle the IDOC. </P><P>We were planning to create a FM in which we will map each field in IDOC segment to standard tables like KNA1, KNVV, KNVK etc. This will take time and will not be efficient for large number of IDOCs. </P><P>Please let me know the correct approach for this situation?</P>2025-05-06T12:22:29.616000+02:00https://community.sap.com/t5/technology-q-a/include-type-not-available-on-s-4-hana/qaq-p/14095487INCLUDE TYPE not available on S/4 HANA?2025-05-07T16:05:07.970000+02:00AustinKloskehttps://community.sap.com/t5/user/viewprofilepage/user-id/1702051<P>I am trying to extend SAPs service consumption models to include navigations in my partner namespace structures. It seems 'INCLUDE TYPE is no longer recognized syntax in S/4 HANA 2023.</P><P>After using 'INCLUDE TYPE', a structure literally called 'include' that needs to be referenced as "ls_struct-include-field_name" is created. </P><P>I have imported various API Hub edmx files as service consumption models to create my initial classes. Is there a work around to not having access to the old 'INCLUDE TYPE / INCLUDE STRUCTURE' in recent versions of ABAP cloud?</P><P> </P><pre class="lia-code-sample language-abap"><code>TYPES:
BEGIN OF tys_product_type,
product TYPE c LENGTH 40,
etag TYPE string,
END OF tys_product_type.
TYPES:
BEGIN OF tys_extended_product_type,
product_description TYPE tyt_product_description_type,
product_ewmwarehouse TYPE tyt_product_ewmwarehouse_type,
INCLUDE TYPE tys_product_type,
END OF tys_extended_product_type.
----
"Usage
ls_entity_key TYPE tys_extended_product_type
ls_entity_key = VALUE #( include-product = zif_api_hub~mv_doc_num ).
</code></pre><P> </P>2025-05-07T16:05:07.970000+02:00https://community.sap.com/t5/technology-q-a/update-permitted-usages-3-tier-extensibility-model/qaq-p/14095507Update permitted usages - 3 Tier extensibility model2025-05-07T16:27:02.173000+02:00AustinKloskehttps://community.sap.com/t5/user/viewprofilepage/user-id/1702051<P>In our S/4 HANA 2023 FPS02 system, <STRONG>INHERITING FROM /iwbep/cl_v4_abs_pm_model_prov </STRONG>is not permitted in tier 1 (ABAP version ABAP CLOUD).</P><P>Following <A href="https://community.sap.com/t5/technology-blog-posts-by-sap/how-to-use-the-odata-client-proxy-in-sap-s-4-hana-or-how-to-use-the-odata/ba-p/13425200" target="_self">SAPs guide on using client proxys</A> in on-premise systems, All of our consumption models for client proxy inherit from this interface. Therefore, all our client proxy classes need to be put into a Tier 2 software component. </P><P>I can see that in BTP ABAP systems, usage of <STRONG>/iwbep/cl_v4_abs_pm_model_prov </STRONG>is allowed. </P><P>So, how do we update our on-premise system to get new permissions on what objects are allowed for use without moving usage into Tier 2 wrappers?</P><P><SPAN>__PRESENT</SPAN></P><P><SPAN>__PRESENT</SPAN></P><P><SPAN>__PRESENT</SPAN></P><P><SPAN>__PRESENT</SPAN></P><P><SPAN>__PRESENT</SPAN></P>2025-05-07T16:27:02.173000+02:00https://community.sap.com/t5/enterprise-resource-planning-q-a/is-there-any-way-to-use-se38-report-in-sap-public-cloud/qaq-p/14096323Is there any way to use se38 report in SAP public cloud?2025-05-08T13:08:43.412000+02:00nirojan_velhttps://community.sap.com/t5/user/viewprofilepage/user-id/804171<P>Hi Team,</P><P>Scenario: I'm using <SPAN>sflight table but its delivered empty record. So, sap help portal suggesting use <A href="https://help.sap.com/docs/ABAP_PLATFORM_NEW/7989a582039547ae91d8f483e487058d/a778b0a956eb400fbd0ceda5ad20479f.html?version=202009.001" target="_self" rel="noopener noreferrer">SAPBC_DATA_GENERATOR </A>report. problem is<STRONG> SAP public cloud </STRONG>is not allowing to execute reports (SE38). is there any way to use SAPBC_DATA_GENERATOR?</SPAN></P><P class="lia-align-justify" style="text-align : justify;">Regards,</P><P class="lia-align-justify" style="text-align : justify;">Nirojan.</P>2025-05-08T13:08:43.412000+02:00https://community.sap.com/t5/enterprise-resource-planning-q-a/dmo-flight-maintain-data-public-cloud-system/qaq-p/14096500/DMO/FLIGHT maintain data public cloud system2025-05-08T15:55:57.247000+02:00nirojan_velhttps://community.sap.com/t5/user/viewprofilepage/user-id/804171<P>Hi Team,</P><P>How to generate data in <SPAN>/DMO/FLIGHT. there is a report SAPBC_DATA_GENERATOR (SE38). but I'm using public cloud system. public cloud we don't have GUI access. is there any way to add the data into sflight table?</SPAN></P><P>Thanks,</P><P>Nirojan.</P>2025-05-08T15:55:57.247000+02:00https://community.sap.com/t5/technology-q-a/user-license-type-applicable-for-apps-developed-with-developer-extension/qaq-p/14097439User license type applicable for apps developed with Developer extension2025-05-09T16:06:16.765000+02:00KuroKenhttps://community.sap.com/t5/user/viewprofilepage/user-id/1790119<P>Hi,</P><P>I am planning a Developer extension to S/4HANA Cloud with RAP.<BR />The RAP will use Business Object Interfaces ( I_JOURNALENTRYTP).<BR />Which user license type will be applied to the users of that extension app: self-service use / core use / advanced use?<BR />Or does only Digital Access count?</P><P>Best regards.</P>2025-05-09T16:06:16.765000+02:00https://community.sap.com/t5/technology-q-a/automatic-integration-of-change-documents-in-managed-rap-bo-not-supported/qaq-p/14097945Automatic integration of Change Documents in managed RAP BO not supported on Public Cloud2025-05-10T13:38:29.614000+02:00DanielSchneiderhttps://community.sap.com/t5/user/viewprofilepage/user-id/6135<P>Hi community,</P><P>I've used change documents in RAP before, but I needed to handle it within an additional save method. I just realized (must be quite new) that there is now a more automatic integration possible explained here:<BR /><A href="https://help.sap.com/docs/abap-cloud/abap-rap/integrating-change-documents?locale=en-US" target="_blank" rel="noopener noreferrer">https://help.sap.com/docs/abap-cloud/abap-rap/integrating-change-documents?locale=en-US</A></P><P>I tried using this in my RAP behaviour definition, but I am getting a syntax error for the following statement:</P><PRE><SPAN>changedocuments master ( <id_of_the_chdoc_obj> )</SPAN></PRE><P><SPAN>It states that "changedocuments" is not supported with the current ABAP release. I am working on a Public Cloud system. I'm wondering on which release this is working (maybe ABAP Platform on BTP?). This would be one of the first things I encounter, which is supported over there but not on public cloud.</SPAN></P><P><SPAN>Can someone confirm this? It would also be great to know if this will also be available for Public Cloud.</SPAN></P><P><SPAN>Thanks in advance!<BR />Daniel</SPAN></P>2025-05-10T13:38:29.614000+02:00https://community.sap.com/t5/enterprise-resource-planning-q-a/public-cloud-hr-master-data-of-userid-and-pernr-person-number-pa0105/qaq-p/14103025Public cloud HR master data of userid and pernr (person number (PA0105))2025-05-16T07:27:12.242000+02:00nirojan_velhttps://community.sap.com/t5/user/viewprofilepage/user-id/804171<P>Hi Team,</P><P>I need to fetch the data from PA0105(HR master data) table in public cloud tenant. I need pernr and userid fields. I tried with custom cds view it's not working, is there any way to call the PA0105 / any standard APIs/ services? </P><P>I checked <A href="https://api.sap.com/products/SAPS4HANACloud/overview" target="_blank" rel="noopener noreferrer">Overview | SAP S/4HANA Cloud Public Edition | SAP Business Accelerator Hub</A> I couldn't be able to find anything related to HR Master.</P><P><span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nirojan_vel_0-1747372420334.png" style="width: 400px;"><img src="https://community.sap.com/t5/image/serverpage/image-id/261864iF7CB8AA8DEBC1AAE/image-size/medium/is-moderation-mode/true?v=v2&px=400" role="button" title="nirojan_vel_0-1747372420334.png" alt="nirojan_vel_0-1747372420334.png" /></span></P><P>Thanks,</P><P>Nirojan.</P><P> </P>2025-05-16T07:27:12.242000+02:00https://community.sap.com/t5/technology-q-a/i-want-to-migrate-the-configuration-from-nast-to-brf-between-s-4hana-and/qaq-p/14103886I want to migrate the configuration from NAST to BRF+ between S/4HANA and Commerce Automation.2025-05-16T16:54:36.832000+02:00LisandroGorgonehttps://community.sap.com/t5/user/viewprofilepage/user-id/1927722<P>I want to migrate the configuration from NAST to BRF+ between S/4HANA and Commerce Automation. Does anyone know where I can find documentation or the steps to follow for that?</P>2025-05-16T16:54:36.832000+02:00