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: 

how to avoid a short dump

Former Member
0 Kudos
329

hi everybody

im retrieving data from 2 tables febre and febep

data: begin of itab occurs 0,

kukey like febep-kukey,

esnum like febep-esnum,

epfov like febep-epvoz,

kfmod like febep-kfmod,

kwbtr like febep-kwbtr,

pakto like febep-pakto,

partn like febep-partn,

valut like febep-valut,

vgext like febep-vgext,

vgint like febep-vgint,

vozei like febep-vozei,

vwezw like febre-vwezw,

absnd like febko-absnd,

end of itab.

select

akukey aesnum

aepvoz akfmod akwbtr apakto

apartn avalut avgext avgint

a~vozei

b~vwezw

into corresponding fields of table itab

from febep as a

inner join febre as b

on akukey = bkukey

and aesnum = besnum

where a~epvoz = 'H'.

Its giving me a short dump when its being executed, does anybody know how i can avoid this dump?

when im retrieving fewer fields, im not getting the dump but wen i retrieve all the fields , the dump occurs

can sombody help me on that?

1 ACCEPTED SOLUTION

Former Member
0 Kudos
236

hi Anjali,

In the internal table declaration, you have epfov fields, where as in statement you gave epvoz.

I think that is the problem

regards

Chandra.

Note: please reward if helpful.

13 REPLIES 13

Former Member
0 Kudos
236

Which dump?

Max

Former Member
0 Kudos
236

hi,

Check T-CODE ST22 and analyze the dump ...

REgards,

Santosh

Former Member
0 Kudos
236

Hi,

Your code is working perfactly fine.

NO issue with it.

WHich dump u r getting ?

Former Member
0 Kudos
237

hi Anjali,

In the internal table declaration, you have epfov fields, where as in statement you gave epvoz.

I think that is the problem

regards

Chandra.

Note: please reward if helpful.

Former Member
0 Kudos
236

absnd field declared in itab but not used, try remove and then check.

0 Kudos
236

thanks!

yea, the error was the mistyping of the field epvoz! i really could not identify the error

thanks a lot

0 Kudos
236

HI Anjali,

just after the code make add these lines in case if there are any more errors...

IF SY-SUBRC <> 0.

MESSAGE <WHATEVER YOU WNAT TO DO IF ERROR>

ENDIF.

Regards,

Arnab.

Former Member
0 Kudos
236

hi sia,

goto st22 and on user check the dump ..

from the overview u 'll get a list of occurances ..

ser no 1- 20

in that check out 3, 4, 7 and 8 ..

regards,

Vjay

Former Member
0 Kudos
236

Hi Anjali,

there in no problem in the given code check with other code.

i checked ur code in my system, iam getting the output.

-Anu.

Former Member
0 Kudos
236

Hi,

try like this...

select

akukey aesnum

aepvoz akfmod akwbtr apakto

apartn avalut avgext avgint

a~vozei

b~vwezw

c~absnd

into corresponding fields of table itab

from febep as a

inner join febre as b

on akukey = bkukey

and aesnum = besnum

inner join febko as c

on akukey = ckukey

where a~epvoz = 'H'.

Madhavi

Former Member
0 Kudos
236

Hi anjali,

Try while changing the field 'epfov' to 'epvoz' in the internal table itab.

or try with 'INTO TABLE ITAB' option.

Regards

Satya.

Former Member
0 Kudos
236

data: begin of itab occurs 0,

kukey like febep-kukey,

esnum like febep-esnum,

*epfov like febep-epvoz,

<b>epfoz like febep-epvoz,</b>

kfmod like febep-kfmod,

kwbtr like febep-kwbtr,

pakto like febep-pakto,

partn like febep-partn,

valut like febep-valut,

vgext like febep-vgext,

vgint like febep-vgint,

vozei like febep-vozei,

vwezw like febre-vwezw,

absnd like febko-absnd,

end of itab.

do this and let us know ..

Former Member
0 Kudos
236

anjali,

in case of a short dump, to know which statement exactly in the program triggered the dump, just search for ---> in the dump...it will show the line which triggered the dump...