Skip to Content

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

unicode conversion error

hi friends,

i am using this statement in SE37 but it gives error message

INSERT INTO ZBATCH VALUES TO_CHVW.

error message is

Function Module ZFIND_PRDORD_FOR_BATCH.

The type of of database table work area (or internal table )

"to_chvw" are not unicode convertable.

what shld i do to remove this error message.

regards

Tags:
Former Member
Former Member replied

hi,

i assume ZBATCH is a DB table and you are inserted values from work area - TO_CHVW

in such a case the work area TO_CHVW has to be declared as:

DATA: TO_CHVW TYPE ZBATCH

because the length of TO_CHVW must be the same as ZBATCH including the field MANDT

If you have TO_CHVW of some other structure, then create a temp. structure TO_CHVW_TEMP TYPE ZBATCH and

MOVE-CORRESPONDING TO_CHVW to TO_CHVW_TMP.

then insert the temp structure into ZBATCH.

Regards,

Adi

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question