cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Subscreen in Material Master - Last Screen Reached popup

robert_korber
Explorer
0 Kudos

Hi

i have to requirement to implement a custom subscreen into tab "purchase order text" in the material master transactions (MM01 - MM03) which is diplaying the content of a Z Table in a table control depending of the called material (so just display).

Implementation was pretty straight forward as there are good tutorials (i did it like its described here: https://www.abapforum.co...pic.php?f=21&t=18341)

But i have the problem that every time i klick on the scroll bar of the table controll the popup "Last data screen reached" came up. After some analyzis i can see thats because when i click on the scroll bar sy-ucomm is set on ENTR.

I tried different thinks to change this OK code or to use statements like "LEAVE TO SCREEN..." to prevent this but its not working.

Does someone have an idea how to solve this issue? Would really appreciate it...

Sandra_Rossi
Active Contributor
0 Kudos

You are describing the standard way "scroll down" works with table controls: the "top line index" is set to the index of the top line of the next page (but cannot be more than the index of the last line) and ENTER is simulated. What you say is that the issue came with your custom code, so you have to check why your logic leads to the popup.

NB: you should not use SY-UCOMM but you should use the OK Field variable (which is almost always the same value). But that's another question I think (answers already in the forum).

0 Kudos

Hi robert.korber , I am having the same kind of requirement to enhance MM43 and facing the same issue when clicked on any action within the custom subscreen. Were you able to resort the issue?

Accepted Solutions (0)

Answers (0)