10-29-2007 3:25 PM
Hello all,
I was trying to sort a field by equipment number in the ALV display. The functional guy wants me to show only the top 25 equipment details in the ALV report.
There is a trasaction MCI8 where he showed me a push button (Top N), which would give me a pop up asking for how many records I want to see (25 in my case), and then it would display those 25.
Anyone with ideas, solution please help me.
Thanks,
~V
10-29-2007 3:34 PM
Hi,
Goto program RMCS0UCO Line 296 which contains coding for TOP user code which gets triggered in MCI8.
PERFORM HITLISTE_ANZEIGEN USING TRUE.
SAP uses function module 'POPUP_GET_VALUES_USER_CHECKED'.
You can use this logic in your program.
Hope this helps.
ashish