2007 Feb 20 1:57 AM
Hi Experts,
I am experiencing short dump if i give more no of entries in select option (in range)
can any one please suggest a solution to this?
Points will be awarded.
Thanks
Dany
Hi Experts,
I am experiencing short dump if i give more no of entries in select option (in range)
can any one please suggest a solution to this?
Points will be awarded.
Thanks
Dany
2007 Feb 20 2:10 AM
Hi,
May be because of number entries in the select-options ,As far as I know the limit is determined by the length of the whole sql statement and is about 8k(aprox)
Please see the note : 635318
Thanks
aRs
2007 Feb 20 2:12 AM
Hi Dan,
Please try to use ranges instead of select option.
DATA: R_MATNR FOR MARA-MATNR.
R_MATNR-SIGN = 'I'.
R_MATNR-OPTION = 'BT'.
R_MATNR-LOW = ...
R_MATNR-HIGH = ...
APPEND R_MATNR.
...
Regards,
Ferry Lianto
2007 Feb 20 2:17 AM
Hi Ferry,
Thanks but i need to use select options or some way to show my selection for that field on the the screen or any GUI.
Could you help me in some way?
Hi Ars : I dont know how to see the OSS notes basically and what does note 635318 says?
Thanks
Dany
2007 Feb 20 2:20 AM
Hi,
Can you please paste first few lines of your short dump here?
Thanks
aRs
2007 Feb 20 3:00 AM
Maximum number of entries in select options is only around 1630, you cannot give more than that
i guess it is around 1600 - 1700
chk this program , if u increase the do loop to 1800 it will give dump
REPORT ychatest LINE-SIZE 350.
TABLES : mara.
SELECT-OPTIONS : s_matnr FOR mara-matnr.
DATA : BEGIN OF itab OCCURS 0.
INCLUDE STRUCTURE mara.
DATA: END OF itab.
DO 1600 TIMES.
s_matnr-sign = 'I'.
s_matnr-option = 'BT'.
s_matnr-low = ''.
s_matnr-high = ''.
APPEND s_matnr.
CLEAR s_matnr.
ENDDO.
SELECT * FROM mara INTO TABLE itab WHERE matnr IN s_matnr.
WRITE : 'hi'.
Message was edited by:
Chandrasekhar Jagarlamudi