‎2007 Mar 17 9:42 AM
Dear all,
I Know that we can Genarate only 20 Secondary lists,But not more than that why?
Even the Field is of Int4 and length 10 outputlenth 4.
why we can genarate only 20 secondary lists.
Anil
‎2007 Mar 17 9:46 AM
i think that is because of some limitation in internal session ..when you are trying to call a prog or trying to make a list in different lsind an internal session is created and there is some limitation of opening internal session of 21 or something ...
regards
shiba dutta
‎2007 Mar 17 9:52 AM
Yes,
i do understand that,But even if we go for the Screen no also i.e SY-DYNNR
it is also of length four so why it is going for dump
‎2007 Mar 17 10:06 AM
sy-dynnr is also 4 digit long but there is some significance of that like default report selection screen is 1000 and which is specified by SAP so we cant change the no..and generally we are using 1 to 999 screen no for our use and SAp is using from 1000 to 9999 for its internal use (but in some cases we are using 4 digit screen no also without any error in prog but as per sap we should use the screen no 1 to 999)...and when ever you are calling a screen then also an internal session may open so i think we are not able to call more than 21 screens(not sure)..
regards
shiba dutta
‎2007 Mar 20 5:13 AM
Hi,
This is the stack limit. The program has to have a track of the sequence of secondary list, which it maintains in a stack. So whenever the value goes over 20 it gives you a dump.
You can assign value to sy-lsind during run time thus having control over the number of secondary list.
For example if you have 20 columns in your report and each column can have its own secondary list, you can assign sy-lsind = 1 in event 'AT LINE-SELECTION' so that whenever the user selects 'back' , he is returned to the primary list.
Thanks and regards,
S. Chandra Mouli.
‎2007 Mar 20 6:35 AM
Hi Anilkumar,
When a list is displayed, the list processor has control of the program. Interactive user actions on a list trigger events in the ABAP program. Output staements in these event blocks create detail lists, which are then automatically displayed at the end of the event block. You can create up to 19 detail lists for a single basic list. Detail lists temporarily replace the previous list on the container screen. A basic list and its detail lists form a list system of up to 20 levels.
So now you have cleared your doubt, right?
Thanks and regards
Vipin Das
‎2007 Mar 20 1:23 PM
Dear,
I feel it is the thing going behand it,But Can we see what is making it to happen like any system field or any thing like that.