WebNov 18, 2024 · To optimize the performance of the delete statement, im trying to delete the record with the key COMM_GUID and commit every 5000 record. My attempt: LOOP AT ldt_log_data into w_ldt_log_data. delete table zwfm_t_logs from ldt_log_data with table key COMM_GUID = i_COMM_GUID. COMMIT WORK. WebJan 22, 2009 · Instead of deleting the remaining records, try like the below piece of code. DATA:it_tab1 TYPE TABLE OF vbak, it_tab2 TYPE TABLE OF vbap. DATA:wa_tab1 LIKE LINE OF it_tab1, wa_tab2 LIKE LINE OF it_tab2. DATA:wrk_counter TYPE i VALUE '0'. SELECT * UP TO 3 ROWS INTO TABLE it_tab1 FROM vbak. SELECT * UP TO 3 …
DELETE itab - itab_lines - ABAP Keyword Documentation
WebThe problem in the delete from itab (give all table at a time ) that u don't know which record is not deleted u just have sy-dbcnt but i don't see any other indication so when u doing loop i know which record is exactly not deleted and send some message . p.s. i guess that the delete from itab doing loop inside too . Regards Nina Find us on Privacy WebGet Example source ABAP code based on a different SAP table Get ABAP code. Below is a number of ABAP code snippets to demonstrate how to select data from SAP PTRV_TRAVEL_ITM_S table and store it within an internal table, including using the newer @DATA inline declaration methods.It also shows you various ways to process this … kitten light font free download
DELETE Statement (Data Manipulation) SAP Help Portal
WebTABLE itab FROM wa [USING KEY keyname] Effect For wa, a work area compatible to the row type of the internal table must be specified. This concerns functional operand positions. The first row of the internal table found, whose values in the columns of the table key used match those of the corresponding components of wa, is processed WebJan 23, 2008 · i want to delete the records which or "not equal to" from the internal table. ex: i have an intaernal table i_materials, this internal table have 50 records, now i want to delete the matetials which or not equal to " pick' and 'copick' . pls ehelp me write the logic for this with regards aaryaa WebOct 9, 2007 · I have a query on how to remove the duplicates from an internal table My internal table data is as follows : Cno Catg1 Catg2 01 0 1000 01 2000 0 I want to get only one record as 01 2000 1000 How to get the result. I tried sorted by cno and used delete duplicates but it was not helpful. Is there any other alternative to get this done Please … kitten learning to walk