DEFINE nodata.
do.
assign component sy-index of structure &1 to fs
if sy-subrc <> 0. exit. endif.
enddo.
END-OF-DEFINITION.
nodata: bbkpf, bbseg, bbtax, bwith, bselk, bselp.
**Another use for this type of loop:
FIELD-SYMBOLS:
DO.
ASSIGN COMPONENT sy-index OF STRUCTURE o_return TO
IF sy-subrc <> 0. EXIT. ENDIF.
IF NOT
WRITE: /
ENDIF.
ENDDO.
1 comment:
Post a Comment