2009 Jan 08 6:50 AM
Hi,
I'm developing a classical report and have following requirement,
My header contains following line
Order Type A B C D
Now in line details depending on order type i have to position the order quantity under any of the above 4 columns (i.e. under A or B or C or D)
i tried passing value 'D' to variable var1 and writing following statement,
write:/ qty under var1.
i was expecting that the abap would 'understand' that since var1 contains 'D' the quantity has to be printed under 'D' buit it didnt do so.
Can anyone suggest any alternate method (i dont want to specify the offset...is there any programmatic approach other than hard-coding)
Bye
Hi,
I'm developing a classical report and have following requirement,
My header contains following line
Order Type A B C D
Now in line details depending on order type i have to position the order quantity under any of the above 4 columns (i.e. under A or B or C or D)
i tried passing value 'D' to variable var1 and writing following statement,
write:/ qty under var1.
i was expecting that the abap would 'understand' that since var1 contains 'D' the quantity has to be printed under 'D' buit it didnt do so.
Can anyone suggest any alternate method (i dont want to specify the offset...is there any programmatic approach other than hard-coding)
Bye
2009 Jan 08 7:55 AM
Please append all the data into an internal table and use write statement to write the fields of the table.
Please try using ABAP List Viewer (ALV) instead of the classical report. It will take care of the format.
2009 Jan 08 8:00 AM
2009 Jan 08 8:05 AM
hi,
use formatting techniques in classical report.
check this link
http://help.sap.com/saphelp_47x200/helpdata/en/d3/2e974d35c511d1829f0000e829fbfe/frameset.htm
thanks
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |