Application Development 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: 

dump when printing

Former Member
0 Kudos

Hi,

getting dump when using 'Print' command. the dump details are:

in debugging it is stopping a method for 'TOP OF PAGE'

I have used the FM for top page CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'

EXPORTING

it_list_commentary = vt_list_top_of_page.

The current statement only supports character-type data objects.

What happened?

The current ABAP/4 program "SAPLKKBL " had to be terminated because

one of the statements could not be executed.

This is probably due to an error in the ABAP/4 program.

What can you do?

Note the actions and input that caused the error.

Inform your SAP system administrator.

You can print out this message by choosing "Print". Transaction ST22

allows you to display and manage termination messages, including keeping

them beyond their normal deletion date.

Error analysis

In statement

"STRLEN( obj )..."

the argument "obj" can only take a character-type data object.

In this case, the operand "obj" has the non-character type "P".

How to correct the error

If the error occurred in a non-modified SAP program, you may be

able to find a solution in the SAP note system.

If you have access to the note system yourself, use the following

search criteria:

"OBJECTS_NOT_CHARLIKE"

"SAPLKKBL " or "LKKBLF99 "

"GEN_FIELD_OUT2"

f you cannot solve the problem yourself, please send the

ollowing documents to SAP:

. A hard copy print describing the problem.

To obtain this, select the "Print" function on the current screen.

. A suitable hardcopy prinout of the system log.

To obtain this, call the system log with Transaction SM21

and select the "Print" function to print out the relevant

part.

. If the programs are your own programs or modified SAP programs,

supply the source code.

To do this, you can either use the "PRINT" command in the editor or

print the programs using the report RSINCL00.

. Details regarding the conditions under which the error occurred

or which actions and input led to the error.

please help me

2 REPLIES 2

christian_wohlfahrt
Active Contributor
0 Kudos

Hi Sri!

The REUSE_ALV* function modules can not run in update task (there is a call screen included) - your printing seems to be in an update task (e.g. when you have a message output '4 - immediate').

Check, if it's possible to run this in background (in case of messages with 1 / 2: by job), otherwise you need to remove the FM module - no other help, sorry.

Regards,

Christian

Former Member
0 Kudos

Hi,

Somewhere object type you are using the type as 'P', here instead you need to take it as 'C' i mean take it as Charecter type ..

Regards

Sudheer