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: 

problem in downloading ALV output to Excel

Former Member
0 Kudos

Here are the details of short dump.

Run time Error OBJECTS_NOT_CHARLIKE

The current statement only supports character-type data objects.

What happened?

Error in ABAP application program.

The current ABAP program "SAPLKKBL" had to be terminated because one of the

statements could not be executed.

This is probably due to an error in the ABAP program.

What can you do?

Print out the error message (using the "Print" function)

and make a note of the actions and input that caused the

error.

To resolve the problem, contact your SAP system administrator.

You can use transaction ST22 (ABAP Dump Analysis) to view and administer

termination messages, especially those beyond their normal deletion

date.

Error analysis

In statement

"STRLEN( obj )..."

the argument "obj" can only take a character-type data object.

In this case, the operand "obj" has the non-character type "P".

2 REPLIES 2

Former Member
0 Kudos

Declare another variable of same length as 'obj' let us say its obj1 , then move 'obj' to 'obj1', now findout the length of 'obj1', which wil be the same value.

MOVE obj TO obj1.

STRLEN(obj1).

Hope ur dump wil not trigger again.

Regards,

Sujatha.

Former Member
0 Kudos

Welcome to SDN

Read the dump carefully,, It is telling "<b>STRLEN can accept only character type dataobject</b>"

Check the type of obj. and modify the code accordingly.

Try to pass only character type varable to STRLN.

Regards,

MB