Deleting multiple entries from a table via SE16 ??
Vaibhav Goyal
Your guide to become proficient in SAP EWM | Providing path on mastering EWM with ease | SAP EWM & YL Consultant
As the title says, the content of this article covers how to delete multiple entries from a table using SE16.
Disclaimer (very important):
I hope you understand the risk.
For this demo, I'll use a custom table I created which currently have five entries as shown below.
Now, let's jump into the actual process of deleting entries in bulk from SE16.
Create the breakpoint for Source Code in program SAPLSLVC_FULLSCREEN for include LSLVC_FULLSCREENF01 at line 1076 and press Continue (or green check).
Make sure to put the screen no. to empty
Once the breakpoint is created, a message will be received in the bottom of the screen saying Breakpoint Set
领英推荐
To do so, in line 1076, double click on variable OK_CODE. Click on the pencil icon to edit the value of variable OK_CODE and change the value to DEL5 Press Continue or F8
These steps will initiate the delete all action.
This will generate a pop-up window confirming to delete all values from the database.
Now after this rechecking the table for no of remaining entries. One could see only 2 entries are remaining and the previously deleted entries does not exist anymore.
And this is how multiple entries are deleted from SE16.
Unfortunately, in my research, I couldn't find a way to create and update multiple entries at once using SE16. If you happened to know a way, please share the same.
Once again, the idea behind sharing this article was purely for learning purposes. If you ever need to use this technique, please try it in a lower environment first and please understand the risk associated with this.
I hope you enjoyed the article.
That would be all for today.
Have a great day, keep learning and keep sharing ??.
SAP MM ECC & S/4 HANA | 9+ experience in Public Procurement & Material Management | GeM | Warehouse Management | Inventory Management & Control | ISO IMS & AQMS | AIR 3 in Samanvay Portal of GOI
6 个月Only Technical Consultants can actually try this in production environment as most Functional Consultants or Core Users are barred from using SE16/SE16N/SE16H in Production Server! However user who are not confident it’s always better to try & analyse the data in Development, Quality, Sand Box or Pre-Preduction Server before actually making such risky excersize in Production.