‎2008 Jul 04 8:59 AM
When i run a report. It runs fine. but when i try to run it in backgroound, it throws this error."OBJECTS_NOT_CHARLIKE".
At the statment
"STRLEN( obj )..."
, only character-type data objects are supported at the argument
position "obj".
In this particular case, the operand "obj" has the non-charcter-type type
"I".
kindly help me out
‎2008 Jul 04 9:00 AM
‎2008 Jul 04 9:05 AM
‎2008 Jul 04 9:01 AM
You need to find out what the obj actually is when in background and either code around it or change you data maybe.
‎2008 Jul 04 9:03 AM
Hi,
The message shows that you transfer Integer data to STRLEN(), this is not allowed.
Regards,
Pole
‎2008 Jul 04 9:05 AM
You can define a new variable of Type Char and copy this variable to the char type variable.
Could be a work around.
thanks
‎2008 Jul 04 9:12 AM
Hi Saathi,
I think u will get syntax error when u use type i variable in STRLEN function. Check whether ur object is active or not.
Keep a break point at this statement and execute in foreground, I think control will not come to this place. There might be different flow in forground and back ground.
If every thing is fine then move that type i variable into character or string variable and then try to use STRLEN with this char or string variable.
Hope it will solve ur problem.
Thanks,
Vinod.
‎2008 Jul 04 9:17 AM
hi check this..
is there any Currency value in the output list...at the population ....check the source code extract in the tcode st22.....it will show you at what line it is giving the error ...check what r the data declarations for the fields in that line..and check the data is pasing from and to the same data types..or not..