on 06-27-2007 9:02 AM
my samle data in IT_DATA1 which i declared in form interface.
batch no material characteristics result
2001 1000 ph 5
2001 1000 appearence red
2001 1000 solid content 40
2002 1000 ph 6
2002 1000 appearence green
2002 1000 solid content 40
in TABLE node i gave in DATA tab,loop at it_data1 into it_data1&im able to display data like this manner
characteristics result
ph 5
appearence red
solid content 40
ph 6
appearence green
solid content 40
but i want to separate this data based on batch no in the following manner
batch no: 2001
characteristics result
ph 5
appearence red
solid content 40
batch no: 2002
ph 6
appearence green
solid content 40
i tried by giving field 'charg'(batch number) in Table-->Data----->sort criteria&checked the checkbox for Event on sort begin. whenever i do like this im getting runtime error as ' the following syntax error occured in program'xxxxxxx' in include 'xxxxxxxx' in line 77:field IT_DATA1 is unknown it is neither specified in Tables nor defined by DATA statement.please help.my data declarations are correct.
Hi,
U need to do the following
sort itab by batchno.
loop at itab.
at new batchno.
write: /'batch no:', batchno.
endat.
write / : char , result.
endloop.
Regards,
Aparna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Tyr sorting the itab bfore the MAIN window in Table
Use a Program Line and then use sort before the MAIN Window
Regards
Shiva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.