Skip to Content
Former Member
Dec 24, 2012 at 01:01 PM

Sy-ucomm in enhancement infotype



I have an infotype enhancement with a table control. When I push "add row" button, it adds a new row correctly. But if after this, I push "enter" key, sy-ucomm remains having the code of "add row", and it adds other row.

When I push the button, PAI of infotype is raising, and sy-ucomm is "add row". Into PAI of infotype (MPXXXX00), PAI of enhancement (ZPXXXX00) is called. There, I clear sy-ucomm. But when PAI of enhancement ends, it returns to PAI of infotype, and sy-ucomm recover the "add row" fcode.

I tried assigning '(MPXXXX00)SY-UCOMM)' to a field symbol type sy-ucomm within PAI and PBO of enhancement, and then cleared it, but it didn't work.

How can I fix it?