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

LKKBLF99 runtime error while export data to the local file

Former Member
0 Likes
1,322

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

1 ACCEPTED SOLUTION
Read only

madhu_vadlamani
Active Contributor
0 Likes
795

Hi Sachin,

Check this links.

[Run time error|;

[Error|;

Regards,

Madhu.

3 REPLIES 3
Read only

madhu_vadlamani
Active Contributor
0 Likes
796

Hi Sachin,

Check this links.

[Run time error|;

[Error|;

Regards,

Madhu.

Read only

0 Likes
795

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

Read only

0 Likes
795

Hi sachin,

Did you check by changing the data types.Please paste your code i will check in my system.

Regards,

Madhu.