‎2011 Sep 10 9:18 AM
Hi experts,
i got this error while i export data to the local file.
Runtime Errors OBJECTS_NOT_CHARLIKE
Date and Time 10.09.2011 13:32:43
Short text
The current statement requires a character-type data object.
Error analysis
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
"P".
"OBJECTS_NOT_CHARLIKE"
"SAPLKKBL" or "LKKBLF9
"GEN_FIELD_OUT2"
Include LKKBLF99
Überführung int. in ext. Format via Konvertierungsexit
if not gs_fc-convexit is initial or "INS TECH11
not gs_fc-inttype ca 'CN'.
elseif not gs_fc-convexit is initial. "DEL TECH11
write to gs_out-hlpchar left-justified.
gs_out-hlplen = strlen( gs_out-hlpchar ).
ansonsten entspricht sich min. Ausgabelänge und Ausprägungslänge
else.
if gs_fc-tech_form ne 99.
gs_out-hlplen = strlen( ).
endif.
endif.
endif.
__________________________
the error says the operand "obj" has the non-charcter-type type " P" .
i do debug on this and find the LS_FIELDCAT-INTTYPE = " P". so i changed it the QUAN type with length 13 decimal places 2. i can't change it in "C" char type or "NUMC" type because i need the output in decimals. the output is for amount and quantity so need this in decimal places up to 2 or 3.
but still find the same, i do debug on it after change it into QUAN type. find the same value for LS_FIELDCAT-INTTYPE = " P".
let me know how can i define this in char type with decimal places or what.
Please give some suggestion, if you need code, i will post the code.
Thanks in advance
Sachin
‎2011 Sep 10 10:13 AM
‎2011 Sep 10 10:13 AM
‎2011 Sep 10 10:43 AM
Hi Madhurao,
Thanks for your help, but the ans is not clear in both the cases.
On 2nd option i need more clarification, i also do a reply on the same post to Harshit .. how his problem get resolve...
any way if you have any suggestion plz share.
If you need my program code, let me know.
Thanks
Sachin
‎2011 Sep 10 10:55 AM
Hi sachin,
Did you check by changing the data types.Please paste your code i will check in my system.
Regards,
Madhu.