10-24-2011 8:21 AM
When executing a selection criteria screen without any input value into the parameters, the SAP system will prompt a dialog screen "Restriction of Database Accesses" stating the No. of dataset to be read value with the Maximum value of 100. Before listing the records in the ALV.
How to get the value 100 using ABAP code? Is there any system variable to get it?
10-24-2011 8:54 AM
The program is an SAP Query extended program. In normal Query report, there is a variable %dbacc that contain the value.
How do i get the value into the extended program ?
05-13-2015 3:35 PM
The only work around I have found is to specify a standard variant in SQ01 that has a default value of '*' in a field that will bring back all the records.
For example, in a query with an infoset using table TGSBT, even thought the table only has 228 values, the box asking for number of datasets to be read with a default maximum of 100 appears.
When '*' is used in the selection field using TGSBT-GSBER, the box doesn't appear.