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

Dump in ALV

Former Member
0 Likes
1,405

Hi Experts,

I have an alv report. Whenever I select the print button or export to excel button I am getting dump??

Any suggestion please??

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,343

Hii,

Check with field names mentioned in the field catalog,with internal table-field.

Rgds

Hi Experts,

I have an alv report. Whenever I select the print button or export to excel button I am getting dump??

Any suggestion please??

10 REPLIES 10
Read only

Former Member
0 Likes
1,343

Check your field catalog.You must have mentioned field names in lowecase.Convert them to upper case.

Read only

Former Member
0 Likes
1,343

Check whether you have passed:

i_callback_program = sy-repid

in FM REUSE_ALV_GRID_DISPLAY

Read only

0 Likes
1,343

Hi Experts,

I had already passed the report id (i.e. sy-repid) in REUSE_ALV_GRID_DISPLAY.

In fieldcatalog fields are in upper case.

Any other suggestion??

Read only

0 Likes
1,343

hi,

can u tell what dump u r getting.

try to check in debugging mode.

Read only

Former Member
0 Likes
1,344

Hii,

Check with field names mentioned in the field catalog,with internal table-field.

Rgds

Read only

0 Likes
1,343

Hi Experts,

I'm getting the dump as " The current statement requires a character-type data object. The current ABAP program 'SAPLKKBL' had to be terminated because it has come across a statement that unfortunately cannnot be executed."

I am using FM REUSE_ALV_GRID_DISPLAY.

Read only

0 Likes
1,343

Neha,

I think the problem is with your fieldcatalog, since, I don't know your code I can only suggest to take a closer look at on your fieldcat. Try to make a syntax check also. Please post your code.

Read only

0 Likes
1,343

There is some problem with your Fieldcatalog population.

Check it once...

Try to TABLE NAME AND FIELDNAME in CAPS.

Read only

Former Member
0 Likes
1,343

Hi,

You must be getting output in screen diplay but clicking on print privew button will give a dump

This is a comman problem with ALV as resuse_alv_display support only character type variables.

Change the type of variable u r using in the final table to character or string.

in field catalog building make sure the type of the field is CHAR

This will solve your problem.

Reward points if useful

Regards

Bikas

Read only

0 Likes
1,343

Thanks Experts.

I got solution.