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: 

"XBKPF1" and "BUFFER-SEGMENT" are not mutually convertible in a Unicode pro

Former Member
0 Kudos

hello experts,,

im currently modifying object for unicode checking im encoutering this error

Error Message: "XBKPF1" and "BUFFER-SEGMENT" are not mutually convertible in a Unicode program.

This is the syntax:

data: begin of xbkpf1 occurs 0.

include structure bkpf.

data: end of xbkpf1.

data: begin of buffer.

include structure arc_buffer.

data: end of buffer.

move buffer-segment to xbkpf1.

How to convert this to a unicode syntax.

Thank You

3 REPLIES 3

Former Member
0 Kudos

Hi,

The structure of ARC_BUFFER-SEGMENT and BKPF are not same.

You can split the values in the ARC_BUFFER-SEGMENT field based on the offset values according to BKPF structure and then move each splitted values to the corresponding fields of BKPF structure.

Regards,

Harish

0 Kudos

hi,

my apology for asking you this, but can you show me how can i split it...

Thank you

Former Member
0 Kudos

If you are retrieving archived documents, retrieve them directly into a table with the correct structure.

Rob