OLD:
READ TALBE itab INDEX idx INTO wa.
NEW:
wa = itab[idx].
OLD:
READ TABLE itab WITH KEY col1 = ... col2 = ... INTO wa.
NEW:
wa = itab[ col1 = ... col2 = ...].
OLD:
READ TABLE itab WITH KEY col1 = ... col2 = ... INTO wa.
IF SY-SUBRC = 0
...
ENDIF.
NEW:
IF LINE_EXISTS( ITAB[ col1 = ... col2 = ... ] ).
...
ENDIF.
网友评论