2008 Feb 06 2:29 AM
Assume I have 5 columns and n lines to be output on the screen. The first 4 colums of first 5 lines have same values, so I want to show the values of these columns for only first row, the remaining 4 rows should not have the values for these first four columns. Hence the output should look like hanging indent format of MS Word for first 5 rows.
2008 Feb 06 5:22 AM
Hi
U can copy the work area or header line values into a Temp work area. Before printing U can check the current work area value swith Temp work area values,
If same do not print
If different print
U can compare only 1st 4 columns
At the same time, if u need this only for 1st 5 rows, u can put the above login in a IF block as
IF sy-tabix <= 5
endif
If u need this login for all the rows, abive IF block is not needed
Reward if useful
Narendra
Assume I have 5 columns and n lines to be output on the screen. The first 4 colums of first 5 lines have same values, so I want to show the values of these columns for only first row, the remaining 4 rows should not have the values for these first four columns. Hence the output should look like hanging indent format of MS Word for first 5 rows.
2008 Feb 06 5:22 AM
Hi
U can copy the work area or header line values into a Temp work area. Before printing U can check the current work area value swith Temp work area values,
If same do not print
If different print
U can compare only 1st 4 columns
At the same time, if u need this only for 1st 5 rows, u can put the above login in a IF block as
IF sy-tabix <= 5
endif
If u need this login for all the rows, abive IF block is not needed
Reward if useful
Narendra
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |