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

PF-Status

Former Member
0 Likes
979

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.

5 REPLIES 5
Read only

Former Member
0 Likes
904

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.

Read only

0 Likes
904

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

Read only

0 Likes
904

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

Read only

0 Likes
904

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

Read only

0 Likes
904

Sorry, no clue without seeing the field catalog, the gui, any PBO/PAI modules and the internal table description.