Answer by Sourav Das
1st Method:LOOP AT lt_input INTO ls_input. AT NEW FIELD1. if ls_output-field2 IS NOT INITIAL. APPEND ls_output to lt_output. endif. LS_OUTPUT-FIELD1 = LS_INPUT-FIELD1. CLEAR: LS_OUTPUT-FIELD2. ENDAT....
View ArticleAnswer by Quynh Doan Manh
Why would you want it hard way? GROUP BY or control break statement is the first thing should used in this case. anw, without it you can do as follow:TYPES: BEGIN OF ty, f1 TYPE c, f2 TYPE c LENGTH 10,...
View Article
More Pages to Explore .....