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: 

STORAGE_PARAMETERS_WRONG_SET

Former Member
0 Kudos

Hi. I am running a program that very often brings up the following error. Even if I try limiting the table search to a few items I sometimes get the error.

The current program had to be terminated because of an error when installing the R/3 system. The program had already requested XXXXXXXXXXX bytes from the operating system with 'malloc' when the operating system reported after a further memory request that there was no more memory space available.

Is there any help out there?

Rapula

6 REPLIES 6

Former Member
0 Kudos

Hi,

Are you using 'FOR ALL ENTRIES' with your program?.

It might makes the program require more memory allocation.

You can avoid using that key word if you are using it.

It might resolve your problem.

Thank you.

Regards,

Karun M

0 Kudos

Thanks Karum. I do have the 'FOR ALL ENTRIES' in my program like this:

...

SELECT * FROM DBERCHZ INTO TABLE T_DBERCHZ

FOR ALL ENTRIES IN ITAB

WHERE BELNR = ITAB-BELNR.

LOOP AT ITAB WHERE BELEGDAT > '20011204'.

...

I disabled the 'FOR ALL ENTRIES' line because with the LOOP statement it actually looks like a repetition. Is it a repetition?

I just tested with the disabled line and it seems to work. I will do some further tests and see.

Thanks again

Rapula

0 Kudos

Oops. I tried taking off the line with the 'FOR ALL ENTRIES' but - new problem, the program then does not pick up anything from the table, even the information that I know exists, it behaves as if the table is empty.

HELP TO SOLVE BOTH PROBLEMS PLEASE

0 Kudos

Someone gave me a solution to this. See the cone below and I hope if anyone has this problem theis can help...

Include the DESCRIBE TABLE and the IF...ENDIF statements as below.

DESCRIBE TABLE ITAB LINES sy-index.

IF sy-index GT 0.

SELECT * FROM DBERCHZ INTO TABLE T_DBERCHZ

FOR ALL ENTRIES IN ITAB

WHERE BELNR = ITAB-BELNR.

ENDIF.

0 Kudos

Better :


IF NOT ITAB[] IS INITIAL. 
SELECT * FROM DBERCHZ INTO TABLE T_DBERCHZ
FOR ALL ENTRIES IN ITAB
WHERE BELNR = ITAB-BELNR.
ENDIF.

It's better than overwritting SAP system field

Regards,

Erwan.

Message was edited by: Erwan LE BRUN --> ITAB ( not T_DBERCHZ before the 'Initial' )

0 Kudos

Thanks Erwan, better indeed.