Skip to Content
0
Former Member
Nov 21, 2008 at 05:13 PM

BADi Question: Need to move data from OLD_IMAGE-DATA1 to structure

43 Views

Greetings:

I want to move the data from OLD_IMAGE to a structure that matches the infotype I'm working with, i.e., P0167. I tried this using the following code:

DATA:   lv_p0167  TYPE p0167,
        lv_wa_old LIKE LINE OF old_image.

...


MOVE lv_wa_old-data1 TO lv_p0167.

However, the compiler tells me that "'LV_P0167 and 'LV_WA_OLD-DATA1' are not mutually convertible in a Unicode program".

I need the data in this structure because I need to hand it off to a FM, among other things.

Suggestions?

Thanks!