Application Development and Automation 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: 
Read only

memory probleam

Former Member
0 Likes
814

Moderator message: Duplicate in GENERAL deleted. Please do not post the same question in more than one forum

hi,

my alv report is working fine ..

but in production ,it is giving dump.

it may be memory probleam in my internal table..

can u tell me what is the approach to solve this probleam

thanks

subhasis

Edited by: Matt on Feb 3, 2009 9:50 AM

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
785

TYPES : BEGIN OF str_record,

z_in_sel TYPE c, " Flag de sélection

lifnr LIKE ekko-lifnr, "Fournisseur

kunnr LIKE vbpa-kunnr, "Client livré

ebeln LIKE ekko-ebeln, "Cde d'achat

ebelp LIKE ekpo-ebelp, "Poste cde d'achat

vbeln LIKE ekkn-vbeln, "Cde client

vbelp LIKE ekkn-vbelp, "Poste cde client

werks LIKE vbap-werks, "Division

matnr LIKE ekpo-matnr, "Article

menge LIKE ekpo-menge, "Qté commandée

recom LIKE vbap-zz_cd_recom, "Recommandation exped

vstel LIKE vbap-vstel, "Pt expédition

vstels LIKE vbap-vstel, "Pt expédition souhaité

vbelns LIKE likp-vbeln, "Livraison sortante

id LIKE icon-id , "Feu vert orange ou rouge

ekorg like ekko-ekorg,

bstae LIKE ekpo-bstae. "+DE3K942705

TYPES : END OF str_record.

DATA : itb_liste TYPE TABLE OF str_record WITH HEADER LINE,

w_nb_rec TYPE i,

4 REPLIES 4
Read only

Former Member
0 Likes
785

Hi ,

What you said is right.The problem may be due to memory overflow.

If you can show the way you have declared your Internal table and the point at which it is giving dump,the issue would be more clear .

Read only

Former Member
0 Likes
786

TYPES : BEGIN OF str_record,

z_in_sel TYPE c, " Flag de sélection

lifnr LIKE ekko-lifnr, "Fournisseur

kunnr LIKE vbpa-kunnr, "Client livré

ebeln LIKE ekko-ebeln, "Cde d'achat

ebelp LIKE ekpo-ebelp, "Poste cde d'achat

vbeln LIKE ekkn-vbeln, "Cde client

vbelp LIKE ekkn-vbelp, "Poste cde client

werks LIKE vbap-werks, "Division

matnr LIKE ekpo-matnr, "Article

menge LIKE ekpo-menge, "Qté commandée

recom LIKE vbap-zz_cd_recom, "Recommandation exped

vstel LIKE vbap-vstel, "Pt expédition

vstels LIKE vbap-vstel, "Pt expédition souhaité

vbelns LIKE likp-vbeln, "Livraison sortante

id LIKE icon-id , "Feu vert orange ou rouge

ekorg like ekko-ekorg,

bstae LIKE ekpo-bstae. "+DE3K942705

TYPES : END OF str_record.

DATA : itb_liste TYPE TABLE OF str_record WITH HEADER LINE,

w_nb_rec TYPE i,

Read only

0 Likes
785

I guess the program is dumping when you run it in production. Please check the dump analysis or paste it here .

regards,

Advait

Read only

Former Member
0 Likes
785

Hi ,

If it is giving dump due to memory problem , you can use the " Package size n " after select .

...........INTO [CORRESPONDING FIELDS OF] TABLE itab PACKAGE SIZE n .

Here n should be positive integer .

Regards

Pinaki Mukherjee