02-28-2007 10:27 AM
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".
02-28-2007 10:36 AM
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.
02-28-2007 1:14 PM
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