cancel
Showing results for 
Search instead for 
Did you mean: 

at new triggering

Former Member
0 Kudos

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

how can i do this?please suggest steps.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

the internal table that you want to chek create one more field of type char .

sort the table by the field you want to chek .

use at new < field name> to set the newly created field of char type to 'X' .

after comming out of loop .

clear newly created char type field for sy-tabix = 1 .

now pass the internal table to smartform where you can track the change in that field by cheking value for 'x' .

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

No need to use the Table in Main Window will handle the requirement

Create a table type with the no of rows to display then pass the fields to displayas requireed and create a sngle column for the same

Regards

shiva

Former Member
0 Kudos

Hi Srinivas,

Try with ON CHANGE OF....

it will solve your problem...

Hope this helps you. Reply for queries, shall post the updates.

Regards.

Kumar