on 10-24-2016 12:52 PM
Dear All,
I have a requirement that I want to print the classical report output in the below format .
(Display output same ebeln vertically and different ebeln horizontally in a classical output report .)
My internal table is having all the data but unable to organize the data in below format.Please guide how to print the data in the attached format .
Internal table is having the following data .
S.NO EBELN EBELP LIFNR ZTERM TXZ01 MATNR EMATN NETPR BRWTR MWSKZ KTMNG MEINS NAME1 DISCOUNT DISC_VAL TEMP_DIS TEMP_DIS_1 FREIGHT RANK1 RANK2 GV 1 6000000000 1 200000 dska SUGARCANE SUGARCANE 0 0 1 KG Geneva Local Vendor 2 6000000001 1 200000 TEST TEXT 121 121 0 0 1000 NO Geneva Local Vendor 3 6000000002 1 100010 Z001 TEST TEXT 121 121 588 600000 N0 1000 NO Domestic Test Vendor 4 6000000002 2 100010 Z001 dska SUGARCANE SUGARCANE 8820 45000000 N3 5000 KG Domestic Test Vendor
My code logic below :-
i = 50.
SY-LINNO = 6 .
LOOP AT IT_FINAL INTO WA_FINAL.
TABIX = SY-TABIX.
WRITE : /i(50) WA_FINAL-EBELN,SY-VLINE,
/i(50) WA_FINAL-LIFNR,SY-VLINE,
/i(50) WA_FINAL-NAME1,SY-VLINE.
WRITE : /i(50) WA_FINAL-BRTWR,SY-VLINE,
/i(50) WA_FINAL-NETPR,SY-VLINE,
/i(50) WA_FINAL-TEMP_DIS,SY-VLINE,
/i(50) WA_FINAL-FREIGHT,SY-VLINE,
/i(50) WA_FINAL-RANK2,SY-VLINE,
/i(50) WA_FINAL-ZTERM,SY-VLINE.
i = i + 70 .
* SY-LINNO = SY-LINNO + 10.
ENDLOOP.
Please suggest some ideas to print in the desired format .
Regards
Deep
I think this is not good idea of report output. List is not constructed for this type of outputs and also it is kind of obsolete.
Can you consider ALV Grid output with simple structure like following example?
Quotation Bidder Value
60001 101 1
60001 200 53
60002 101 1
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.