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: 

Scope of List in custom program

Former Member
0 Kudos

Hi Experts,

I have a requirement to include scope of list parameter in my selection screen just like ME3L Transaction. How can I achieve this functionality as it behaves in that standard transaction.

Thanks & Regards,

Arun.

5 REPLIES 5

Former Member

Pawan_Kesari
Active Contributor
0 Kudos
PARAMETERS:     listu LIKE t160o-listu.

AT SELECTION-SCREEN ON listu.
  PERFORM listumfang(sapfm06l) USING listu.

0 Kudos

Hi Pawan,

The code which you have provided will validate the selected scope of list.

But my question is how to use the scope of list parameter in our program to get the proper output layout with respect to the scope of list parameter.

Thanks & Regards,

Arun.

0 Kudos

Sorry I misunderstood you question...

I strongly feel that this functionality is developed specifically for purchasing module keeping few report into consideration and its not in the form where in other developer can use it.

put a break-point in method is_supported defined in program LMEREPI06 and execute the program for scope ALV.

0 Kudos

Pawan,

So you mean to say that this functionality can't be reused in a custom program.

If there is any possibility to use the same logic to incorporate the scope of list in a custom program, please let me know.

Thanks & Regards,

Arun.