https://raw.githubusercontent.com/ajmaradiaga/feeds/main/scmt/topics/NW-ABAP-Customizing-Tools-qa.xml SAP Community - NW ABAP Customizing Tools 2024-05-20T11:11:07.392754+00:00 python-feedgen NW ABAP Customizing Tools Q&A in SAP Community https://community.sap.com/t5/technology-q-a/to-get-archived-data-into-internal-table/qaq-p/12690614 To get archived data into internal table 2023-01-17T12:22:24+01:00 suryakumar1223 https://community.sap.com/t5/user/viewprofilepage/user-id/1324294 <P>Hello, </P> <P>In particular date range ..I'm fetching the data(vbeln) from vbrk into internal table... and also I need the i need the documents which are archived to my internal table </P> <P>I need to get archived data from document,</P> <P>Through SARA transaction i found the structure having the data I want to archive and the structure is Z_VBRK ..so I need to fetch all the documents from that structure to internal table in program....what is the process?</P> 2023-01-17T12:22:24+01:00 https://community.sap.com/t5/technology-q-a/is-it-possible-to-check-sales-org-and-dealer-and-country-in-tvarvc/qaq-p/12651544 Is it possible to check sales org and dealer and country in TVARVC? 2023-01-20T11:50:29+01:00 suryakumar1223 https://community.sap.com/t5/user/viewprofilepage/user-id/1324294 <P>Hello,</P> <P>Currently I'm checking </P> <P>Range: r_org FOR vbrk-vkorg,</P> <P> r_dealer FOR vbrk-kunrg.</P> <P>Constants: kst_salesorg VALUE 'ZV_INVOICE'.</P> <P>we are maintaing zv_ invoice in TVARVC </P> <P>WE have Sp01 sp02 sp03.....( We are maintaing these values in TVARVC-LOW</P> <P>First we have this condition </P> <P>SELECT * FROM tvarvc INTO TABLE tbl_org WHERE name = kst_salesorg . </P> <P>IF sy-subrc = 0. </P> <P>LOOP AT tbl_org. </P> <P>r_org-low = tbl_org-low . </P> <P>r_org-sign = 'I'. </P> <P>r_org-option = 'EQ'.</P> <P> IF tbl_org-low = 'SP01'. </P> <P>r_dealer-low = tbl_org-high. </P> <P>r_dealer-sign = 'I'. </P> <P>r_dealer-option = 'EQ'. </P> <P>APPEND r_dealer. </P> <P>ENDIF. </P> <P> APPEND r_org.</P> <P> ENDLOOP. </P> <P>*Check for the relevant sales org</P> <P> IF vbdkr-vkorg IN r_org[].</P> <P>Then i had requirement to check for dealer too </P> <P>so I added dealer code in TVARVC-HIGH(only one dealer code for SP01 I had given)</P> <P>Then,</P> <P>IF vbdkr-vkorg eq 'SP01' and vbdkr-kunrg EQ r_dealer-low .</P> <P>SO WHAT CAN I DO TO CHECK FOR COUNTRY?</P> <P>How to add country in TVARVC?</P> <P> I need to check</P> <P>This is previous requirement.</P> 2023-01-20T11:50:29+01:00 https://community.sap.com/t5/technology-q-a/atc-quot-suspect-conversion-from-literal-to-abap-type-quot-for-a-select/qaq-p/12681175 ATC "Suspect Conversion from Literal to ABAP Type" For a select Statement 2023-01-27T03:48:24+01:00 jitu_yadav36 https://community.sap.com/t5/user/viewprofilepage/user-id/838974 <P>I am getting the SAP ABAP ATC Issue on the below select statement. Please let me know how can I remove this ATC issue.</P> <P>SELECT * FROM ZTABLE INTO TABLE ITAB </P> <P>WHERE Field1 = Parameter1 </P> <P>AND Field2 IN Range_table </P> <P>AND. Field3 IN s_Select_option </P> <P>AND. Field4 = p_parameter.</P> 2023-01-27T03:48:24+01:00 https://community.sap.com/t5/technology-q-a/%E7%A7%BB%E5%8A%A8%E7%B1%BB%E5%9E%8B%E8%83%BD%E5%90%A6%E6%8E%A7%E5%88%B6%E6%89%B9%E6%AC%A1%E7%89%B9%E6%80%A7/qaq-p/12691333 移动类型能否控制批次特性 2023-01-31T05:51:42+01:00 emily8819 https://community.sap.com/t5/user/viewprofilepage/user-id/1022643 <P>后臺设置的addon移动类型能否控制批次特性的输入可否(MIGO)</P> <P>目前用户设置都可以手动输入批次特性, 想设定某移动类型类型情况下不可以输入</P> 2023-01-31T05:51:42+01:00 https://community.sap.com/t5/technology-q-a/clock-in-clock-out-error/qaq-p/12716399 Clock in Clock out error 2023-02-06T15:53:43+01:00 former_member1135993 https://community.sap.com/t5/user/viewprofilepage/user-id/1135993 <P>Hi Experts,</P> <P>Kindly assist with the below error message when the user logged in to ess.</P> <P>Runtime Error: 'RAISE_EXCEPTION'. The OData requested processing has been abnormally terminated. If you use SAP S/4HANA Cloud, please create an incident. Otherwise, if 'Runtime Error' is not initial, launch ADT feed 'runtime Errors' or transaction ST22/SM21 (system log analysis) for details analysis. </P> <P>Upon checking ST22 - Its mentioned Exception condition "MISSING_CUSTOMIZING" triggered.</P> <P>Kindly help in this. Thank you.</P> 2023-02-06T15:53:43+01:00 https://community.sap.com/t5/technology-q-a/subroutines-calling/qaq-p/12701352 Subroutines calling 2023-02-07T12:30:09+01:00 Berinath https://community.sap.com/t5/user/viewprofilepage/user-id/15788 <P>Hi Experts,</P> <P>I have doubt in subroutine. Can we write form without using perform statement in a report. If it is possible. Then how can we trigger in reports. For more information, please find the attachment below.</P> <P>Thanks in advance,</P> <P>Berinath Ulisi.<A href="https://answers.sap.com/storage/temp/2134643-subroutine.png" data-attachment="2134643" rel="noopener noreferrer">subroutine.png</A></P> 2023-02-07T12:30:09+01:00 https://community.sap.com/t5/technology-q-a/development-not-in-synch-with-production-transport-import-options/qaq-p/12677385 Development not in synch with production - Transport Import Options 2023-03-18T14:57:23+01:00 former_member245311 https://community.sap.com/t5/user/viewprofilepage/user-id/245311 <P>Dear Friends, </P> <P>If transport has to be <STRONG>imported urgently </STRONG>across a landscape [including production] and if development system is <STRONG>not in synch</STRONG> with production system, can change be first done in Sand Box, Can sand box captured transport be imported across landscape including production. </P> <P>If yes, please let me know the steps, </P> <P>and \ or </P> <P>if there are any other feasible options which can be considered.</P> <P>Thanks </P> <P>Raj</P> 2023-03-18T14:57:23+01:00 https://community.sap.com/t5/technology-q-a/runtime-error-in-posting-interface-clearing/qaq-p/12711807 Runtime Error in POSTING_INTERFACE_CLEARING 2023-03-27T19:25:45+02:00 sid_07_ https://community.sap.com/t5/user/viewprofilepage/user-id/844552 <P>Hello Experts,</P> <P>I am using POSTING_INTERFACE_CLEARING FM for doing mass clearing of account receivables and account payable. I have used this FM inside an Inbound Idoc FM. The Idoc will be triggered immediately. </P> <P>The POSTING_INTERFACE_CLEARING is called inside a loop on Idoc data records. The clearing FM will be called twice for each iteration. </P> <P>When I tried to post 5 thousand records( clearing FM will be called 10K times), It took around 2 hours for this processing and last 200 records were not processed due to below runtime errors. </P> <OL> <LI>Runtime error SYSTEM_NO_ROLL has occurred</LI> <LI>Runtime error TSV_TNEW_OCCURS_NO_ROLL_MEMORY has occurred</LI> <LI>Runtime error LOAD_NO_SPACE_FOR_TABLE has occurred</LI> <LI>Runtime error SYSTEM_NO_MEMORY has occurred</LI> </OL> <P>These errors occurred in POSTING_INTERFACE_CLEARING and not in the Inbound IDOC FM.</P> <P>I checked with the Basis, they are asking to split the records across multiple Idocs and the solution should work. </P> <P>But my question is 10K records is not a big number and it is not a time out issue as well. Also I am clearing all the variables in my inbound FM at appropriate place. Is there anything else which I am missing. </P> 2023-03-27T19:25:45+02:00 https://community.sap.com/t5/supply-chain-management-q-a/how-to-set-an-output-message-for-a-specific-movement-type-in-the-header-of/qaq-p/12727486 How to set an output message for a specific movement type in the header of Mat.Doc 2023-04-19T12:27:17+02:00 mrossi_95 https://community.sap.com/t5/user/viewprofilepage/user-id/851507 <P>Hi,</P> <P>I'm havin issues during the configuration of an output message for a specific movement type in the header of Mat.Doc.</P> <P>Do you have any solution about it?</P> <P>Thank you in advance</P> 2023-04-19T12:27:17+02:00 https://community.sap.com/t5/crm-and-cx-questions/setting-default-value-in-s-4-hana-for-customer-management/qaq-p/12735916 setting default value in S/4 Hana for Customer Management 2023-07-05T14:13:24+02:00 sebastian_sap93 https://community.sap.com/t5/user/viewprofilepage/user-id/178259 <P>Dear all,</P> <P>I am very new in working with the S/4 Hana for Customer Management (and in working with SAP as well) and I have this problem that I hope some of you can help me with.</P> <P>I want the attribute STRUCT.SEPA_CREDITOR_ID preassigned with a certain value, in a specific client, which is already possible to choose from a dropdown menu:</P> <P><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2179252-image.png" /></P> <P>Here you can see the UI:</P> <P><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2179251-image.png" /></P> <P>And here you can see the technical data:</P> <P><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2179248-image.png" /></P> <P>I already read that you have to change a Get-Method to do this.</P> <P>When I'm in the transaction BSP_WD_CMPWB i can see several Get-Methods:</P> <P><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2179250-image.png" /></P> <P>I already read in <A href="https://answers.sap.com/questions/4959302/setting-default-value-in-web-ui.html" target="test_blank" rel="noopener noreferrer">https://answers.sap.com/questions/4959302/setting-default-value-in-web-ui.html</A> that I have to change the DO_INIT_CONTEXT Method. But I get some Syntax errors I dont know how to handle.</P> <P><A href="https://answers.sap.com/questions/4968564/badicrmbpuiudefaults-with-method-getdefaultvalues.html" target="test_blank" rel="noopener noreferrer">https://answers.sap.com/questions/4968564/badicrmbpuiudefaults-with-method-getdefaultvalues.html</A> describes some changes in a BADI, but I cannot find a corresponding BADI to this View or Controller</P> <P>My question now: how can I prefill this input field with a default value?</P> <P>Thanks for your help and best regards!</P> <P>Torbjörn</P> 2023-07-05T14:13:24+02:00 https://community.sap.com/t5/technology-q-a/filtering-archived-data/qaq-p/12813726 Filtering archived data 2023-07-06T07:36:42+02:00 suryakumar1223 https://community.sap.com/t5/user/viewprofilepage/user-id/1324294 <P>Hello,</P> <P>I need the archived data of object SD_VBRK and I need to reprint those invoices.</P> <P>From table ZARIXSD003 table I'm fetching the archived data (invoices)based on sales org and date range into my internal table... So I'm getting some invoices to my internal table and I need to filer those invoices based on dealer.</P> <P> For example I need only invoices send to particular dealer AND through vf31 transaction I'm reprinting the archived invoices...so how can I filer the invoices based on dealer. Please help me on this.</P> 2023-07-06T07:36:42+02:00 https://community.sap.com/t5/crm-and-cx-questions/the-long-text-for-error-message-message-no-xyz-zab-messages001-needs-to-be/qaq-p/12792662 ​The long text for error message (message no. /XYZ/ZAB_MESSAGES001) needs to be extended. 2023-08-09T11:37:12+02:00 mks2k https://community.sap.com/t5/user/viewprofilepage/user-id/872638 <P>The long text for error message "Percentage distribution of bill receipt not add up to 100%" (message no. /XYZ/ZAB_MESSAGES001) needs to be extended.</P> <P>Background scenario :- "Error message /XYZ/ZAB_MESSAGES 001 appears, but relevant fields according to the long text of the error message are not ready for input or visible".</P> <P>So what is meant by "needs to be extended"??. Does they are expecting some field output along with error message??What actually will be the fix for this issue??</P> 2023-08-09T11:37:12+02:00 https://community.sap.com/t5/crm-and-cx-questions/atc-error-quot-cds-view-returns-with-empty-result-set-in-perf-test-system/qaq-p/12813214 ATC error "CDS view returns with empty result set in perf. test system 2023-08-10T20:30:07+02:00 mks2k https://community.sap.com/t5/user/viewprofilepage/user-id/872638 <P>Hi,</P> <P>when we are doing ATC check in performance test system, we are getting " return with empty result set" Quality Index 4 error. What is cause for this error, how we can resolve this error??</P> <P><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2198482-image.png" /></P> 2023-08-10T20:30:07+02:00 https://community.sap.com/t5/technology-q-a/enhancement-issue/qaq-p/12731249 Enhancement issue 2023-08-13T18:11:22+02:00 former_member843455 https://community.sap.com/t5/user/viewprofilepage/user-id/843455 <P>Hello experts,</P> <P>I want to add one error msg if I putting wrong data in list name in iw22 tcode in list name field.</P> <P> How to add this please let me know.</P> <P>Thanks in advance </P> 2023-08-13T18:11:22+02:00 https://community.sap.com/t5/enterprise-resource-planning-q-a/reation-of-a-user-field-that-calculates-the-sum-of-the-taxed-base-of-the/qaq-p/12796989 reation of a user field that calculates the sum of the taxed base of the document. 2023-08-30T19:00:24+02:00 former_member876214 https://community.sap.com/t5/user/viewprofilepage/user-id/876214 <P>Hello community! How are you all? I hope you're doing well!</P> <P>I'm dealing with a customization case where the client has requested the creation of a field that calculates the sum of the taxed bases. As we all know, here in Brazil, we have several taxes with various application scenarios, and I need this query to work according to these scenarios. Let me try to explain myself better... The client generates the incoming and outgoing invoices as a draft, and the purpose of this field is to assist in validating the total taxed base. Essentially, this field needs to sum the taxed base for each tax under the tax code of each line in the document.<BR /></P> <P>I'm still getting the hang of query and procedure development, but I believe that with a transaction, we can solve this. I've created the following formatted query:<BR /></P> <P>Select SUM(T0.BaseSum) from (SELECT distinct T1.[BaseSum] FROM ODRF T0 INNER JOIN DRF4 T1 ON T0.[DocEntry] = T1.[DocEntry] WHERE T0.[DocNum] = $[$8.0.1]) as T0</P> <P><IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2208552-image.png" /></P> <P>In the image above, you can see that the value returned in the "total ICMS" field is 920, but if we add up the values from the "taxed base" and "other base," the value is 530.</P> <P>I don't know what to do from here on out, can you help me? How can we create a query that calculates what we need?<BR /></P> <P>Att,</P> <P>Ryan Santos</P> 2023-08-30T19:00:24+02:00 https://community.sap.com/t5/technology-q-a/ob08-view-v-tcurr/qaq-p/12803246 OB08 - View V_TCURR. 2023-11-04T12:34:07+01:00 dsanpor https://community.sap.com/t5/user/viewprofilepage/user-id/6582 <P>I need to set filter for users that can update V_TCURR. Everybody can view but only can modify some rows. I think in Exchange Rate Type.</P> <P>Field Kurst is Exchange Rate Type.</P> <P>Is possible to give authorization to some users to update rows of this table using field <A href="https://www.se80.co.uk/sap-table-fields/?tabname=v_tcurr&amp;fieldname=kurst" rel="nofollow noopener noreferrer">KURST</A>? </P> <P>Probably will can create z authority check with this field and activity to filter user that can update this table.</P> <P>But, If there are another way more standard then it will be better solution. Is it possible by customizing?</P> <P>Thanks and regards. David Sánchez.</P> 2023-11-04T12:34:07+01:00 https://community.sap.com/t5/technology-q-a/bdc-stops-at-information-message-in-background-mode/qaq-p/12754748 BDC Stops at information message in Background mode. 2023-11-08T11:31:57+01:00 Former Member <P>Dear Experts,</P> <P>We have recorded BDC for T-Code - CO02 for Quantity change and Batch Determination. But when Batch determination for negative Quantity with no Batch, We get an Information message as </P> <H3 id="toc-hId-260949189">No batch determination for order items with a negative quantity</H3> <P>Message No. 40501</P> <P>and BDC gets stopped. Kindly help with the solution.</P> <P>Regards,</P> <P>Tejas .P</P> 2023-11-08T11:31:57+01:00 https://community.sap.com/t5/technology-q-a/need-guidance-to-develop-app-at-s-4-hana-public-cloud/qaq-p/13659811 Need Guidance to develop app at S/4 HANA Public Cloud 2024-04-05T04:37:11.130000+02:00 saurabh_shukla4 https://community.sap.com/t5/user/viewprofilepage/user-id/416099 <P>Hello All,</P><P>&nbsp; &nbsp;We have S4Hana public cloud license. We have an existing system at ECC where there are many customized ABAP based development which uses selection screens, Ztable and BAPIs, BDC etc.&nbsp;</P><P>We would like to develop similar app at S4Hana Public cloud from scratch. We are beginner to such development. Although there are many references in the community and SAP help but it is adding more confusion. We would like to be focus by understanding step by step guidance which gives us idea of development.&nbsp;</P><P>We would like to know best approach to achieve our goal. We have below questions:-</P><UL><LI>Which programming model to be preferred? - CAP or RAP</LI><LI>As it is totally cloud environment, How to create ZTables or custom objects?</LI><LI>How to store data, retrieve data from Z or Standard tables?&nbsp;</LI><LI>Which development IDE and environment to be preferred?</LI><LI>How to retrieve and display data on Fiori based frontend. The records will be also added/ modified through same frontend.</LI><LI>How to use APIs?</LI></UL><P>Please excuse for lame questions if any. Appreciate your expert guidance.</P><P>Regards,</P><P>OD</P> 2024-04-05T04:37:11.130000+02:00 https://community.sap.com/t5/supply-chain-management-q-a/l-i-s-ensure-that-events-documents-deliveries-are-all-captured/qaq-p/13668040 L.I.S ensure that events ( documents deliveries ) are all captured 2024-04-12T11:30:12.805000+02:00 chaabene https://community.sap.com/t5/user/viewprofilepage/user-id/695788 <P>hello Community&nbsp;<BR /><BR />we are in a situation where we capture deliveries documents in a LIS , then a scheduled report will pick data from this LIS to send to vendors , sometimes when the report ran it generate no data at all or missing data , we are suspecting that the huge amount of deliveries needs time to update the Info structure table .&nbsp; could you please assist how we can make sure that the update is complete ( we are in asynchronous mode ) , is there a way to monitor the update of these LIS table ?&nbsp;<BR /><BR />Best regards . thanks in advance&nbsp;</P> 2024-04-12T11:30:12.805000+02:00 https://community.sap.com/t5/technology-q-a/va01-userexit-before-entering-material-details/qaq-p/13692602 VA01 Userexit before Entering Material details 2024-05-06T13:51:57.960000+02:00 blkanth7 https://community.sap.com/t5/user/viewprofilepage/user-id/824856 <P>Hi,</P><P>Need help for userexit in VA01 T-code</P><P>Steps</P><P>1. I need to trigger a Message for a field plant to be entered before going to enter the Material details</P><P>2. User need not to press 'enter' button.</P><P>Kindly help me.</P> 2024-05-06T13:51:57.960000+02:00