Skip to Content
0
Mar 04, 2009 at 02:47 PM

ALV list & select option

159 Views

Hi experts,

i have two problems. If someone could help me...

1) I have a select option for mara-mfrpn and a select. If in this select option i have select more than 5000 entries SAP gives me an ABAP short dump.

Error in the module RSQL accessing the database interface.

What should i do? I want to run this program using more than 60.000 entries in select option.

SELECT-OPTIONS: mfrpn FOR mara-mfrpn OBLIGATORY
.
.
.
SELECT mara~matnr mara~mfrpn mara~mfrnr makt~maktx
  FROM mara INNER JOIN makt ON mara~matnr = makt~matnr
  INTO CORRESPONDING FIELDS OF it_npfmfrnr
  WHERE mara~mfrnr = mfrnr AND mara~mfrpn IN mfrpn AND makt~spras =
spras.

2)In same program i have a ALV list. I want to color some lines according to some conditions.

How can i do that? I mention that i have used two function:

REUSE_ALV_FIELDCATALOG_MERGE

REUSE_ALV_LIST_DISPLAY

Thank you.