Ansicht
Dokumentation

ABENDELETE_LINE_IDX_ABEXA - DELETE LINE IDX ABEXA

ABENDELETE_LINE_IDX_ABEXA - DELETE LINE IDX ABEXA

rdisp/max_wprun_time - Maximum work process run time   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

- Deleting Lines Using the Index

This example demonstrates how lines can be deleted from internal tables using the index.

Source Code

Execute

Description

A sorted table itab is filled with five lines. Then an attempt is made to delete the lines with the indexes 2, 3, and 4 using a chained statement. However, after the deletion of each individual line, the index of each subsequent line is lowered by 1. As a result, the second delete operation deletes the line that had the index 4 first. The third deletion fails because the table now has only 4 lines.

To actually delete the lines 2 to 4, the addition FROM TO of the statement DELETE is used.






SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

Length: 908 Date: 20240426 Time: 133354     sap01-206 ( 24 ms )