Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Sy-ucomm in enhancement infotype

Former Member
0 Kudos

Hi.

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?

Thanks.

1 REPLY 1

Former Member
0 Kudos

Any idea?