Skip to Content
0
Former Member
Dec 13, 2008 at 08:45 PM

Function code for sy-uomm = space

62 Views

Hi Experts,

I have a field MATNR at Header level(say) and a table control below say with > 1 rows for line items

and few columns in which MATNR is one of them.

I had written code for pressing ENTER at header level which has sy-ucomm as space.

Now for item level (in tab control) also sy-ucomm = space.

I want to assign different func codes to the MATNR field at Header level and in item level (in table control).

This is because when i press enter key the same code triggers at header level or even at table control level

in PAI. The same logic triggers in both cases and gives me wrong result.

How do i handle this if not?

Pls suggest.