Icon in table cell: I've got a tricky problem. I'm trying to extract data from a table in TXN IW32 Screen SAPLC0IH. One of the fields is an icon which you can use to add long text. When the text has been added, the icon changes slightly. Is there any way my InputScript can detect which icon is showing. This would avoid me having to go into the long text screen only to find that it is empty.

Use the "GetFieldAttribute" command:

GetFieldAttribute cell[Table,LT,&V[i]]  buttonicon=icon

if V[icon=0Q]

  // long text in this row