Ansicht
Dokumentation

ABAPREPLACE_TABLE_RANGE - REPLACE TABLE RANGE

ABAPREPLACE_TABLE_RANGE - REPLACE TABLE RANGE

ABAP Short Reference   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book

REPLACE IN TABLE, table_range

Short Reference



... $[FROM lin1 $[OFFSET off1$]$]
    $[TO   lin2 $[OFFSET off2$]$] ...


Effect

This addition restricts the search performed by the statement REPLACE IN TABLE on the table section specified in the numeric expression positions lin1, off1, lin2, and off2. The syntax and semantics are the same as for the statement FIND.

Example

The following replacement creates the result shown below. It should be noted that the OFFSET addition of TO defines the end of the replacement range.

Result:

col1 col2
abcde abcde
abcde abXXe
abXXe abXXe
abXXe abcde
abcde abcde






BAL_S_LOG - Application Log: Log header data   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

Length: 2514 Date: 20240425 Time: 013155     sap01-206 ( 25 ms )