Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Getting Runtime Error : UC_OBJECTS_NOT_CHARLIKE

Hello Everyone,

I'm getting a Runtime Error while trying to print a custom SAP SCRIPT form.

The error is :

Runtime Errors UC_OBJECTS_NOT_CHARLIKE


The current statement is only defined for character-type data objects.


What happened?

    Error in the ABAP Application Program

    The current ABAP program "SAPLSTXV" had to be terminated because it has

    come across a statement that unfortunately cannot be executed.

Error analysis

    For the statement

       "IF ... op1 CO op2 ..."

    only character-type data objects are supported at the argument position

    "op1".

    In this case. the operand "op1" has the non-character-type "I". The

    current program is a Unicode program. In the Unicode context, the type

    'X' or structures containing not only character-type components are

    regarded as non-character-type.

Trigger Location of Runtime Error

Program SAPLSTXV

Include LSTXVFXX

Row 599

Module type (FORM)

Module Name FORMAT_SYMBOLVALUE

Source Code Extract

Line SourceCde

569 *---------------------------------------------------------------------*

570 * Bereitet Symbol entsprechend den Angaben auf

571 *---------------------------------------------------------------------*

572 form format_symbolvalue using fs_line

573 fs_value

574 fs_valuelength.

575

576 field-symbols:

577 <work>.

578 data:

579 fs_vallen like integer,

580 fs_techlen type i,

581 fs_vis_len type i.

582

583 valpos = 0.

584 valoffset = 0.

585 clear: fs_value,fs_valuelength.

586

587 *... Pruefen Initialwert und Initialwertunterdrueckung .................

588 if value_initial = true and value_noinit = true.

589 exit.

590 endif.

591

592 *... Wert komprimieren .................................................

593 if value_condense = true.

594 condense val. if val(1) = space. shift val. endif.

595 endif.

596

597 *... Local date format .................................................

598 if value_ldate = true. "JPN

>>>>> if <value_raw> co '0123456789 '. "JPN

600 write <value_raw> to val using edit mask '==JPDAT'. "JPN

601 endif. "JPN

602 endif. "JPN

603

604 *... Offset bearbeiten .................................................



The system was upgraded from 3.1h to ECC 6.0. There is no error while executing in the old system.But it is not working in the new system.

Kindly assist.


Regards,

Arun

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question