Hi,
first create an internal sorted table MYTABLE from T6B2F, where you have the two fields KOBOG and a field for the table name, for example TABNAME, which you can contactenate from 'KOTE' and T6B2F-KOTABNR. UNIQUE KEY should be KOBOK and TABNAME.
From KONA you have also field KOBOG.
You have to code something like
LOOP AT mytable WHERE kobog = kona-kobog.
SELECT COUNT( * ) FROM (mytable-tabname)
WHERE knuma EQ kona-knuma.
IF sy-dbcnt GT 1.
SELECT ddtext FROM DD02T
WHERE tabname EQ mytable-tabname.
* Now you have your text, do something here
ENDIF.
ENDLOOP.
Regards,
Klaus