2010 Mar 23 7:48 PM
Hi Gurus!
I created an ALV report and copied the PF status from another program onto this one . Everything seems to be working fine except that when I click on print preview or print button it runs into runtime error.
Following is the error message.
Short text
The current statement requires a character-type data object.
What happened?
Error in the ABAP Application Program
The current ABAP program "SAPLKKBL" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
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".
Trigger Location of Runtime Error
Program SAPLKKBL
Include LKKBLF99
Row 3,948
Module type (FORM)
Module Name GEN_FIELD_OUT2
Thanks.
Could anyone please suggest as to why this si happening.
Hi Gurus!
I created an ALV report and copied the PF status from another program onto this one . Everything seems to be working fine except that when I click on print preview or print button it runs into runtime error.
Following is the error message.
Short text
The current statement requires a character-type data object.
What happened?
Error in the ABAP Application Program
The current ABAP program "SAPLKKBL" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
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".
Trigger Location of Runtime Error
Program SAPLKKBL
Include LKKBLF99
Row 3,948
Module type (FORM)
Module Name GEN_FIELD_OUT2
Thanks.
Could anyone please suggest as to why this si happening.
2010 Mar 23 8:02 PM
The error is pretty self-explanatory, isn't it? You require a character (type c) field and instead you have a packed decimals (P) data type.
2010 Mar 23 8:07 PM
Yes , tahts right . I did read that but where exactly does that error coem from , Its not in the output , its only when I click on a few tabs on the toolbar only , like print preview or exporting to local file only .
Where should I be looking for teh problem exactly.
Thanks
2010 Mar 23 9:24 PM
I ahve no variable declared as P in my program , so where is it coming from , I am not sure . It is still getting me into run time error. Please help.
Thanks
2010 Mar 23 9:41 PM
Only few tabs like the print preview and save to local gives error messages , I dont understnd why , could nay one please tell me the way out please.When I click on debugger on the runtimer error screen and check the <filed> value its 12.1. What is that ?
and GS_OUT-HLPLEN is 000000.
Thanks,
Edited by: Aarav Agnihotri on Mar 24, 2010 3:16 AM
2010 Mar 23 10:27 PM
Sorry, no clue without seeing the field catalog, the gui, any PBO/PAI modules and the internal table description.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |