2008 Nov 21 5:13 PM
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!
2008 Nov 21 5:22 PM
Looks like structures differ from each other, so it might be possible to move the fields from the structure seperately like this:
move lv_wa_old-data1 to lv_p0167-data1 (or whatever the name of the field might be).
2008 Nov 21 5:22 PM
Looks like structures differ from each other, so it might be possible to move the fields from the structure seperately like this:
move lv_wa_old-data1 to lv_p0167-data1 (or whatever the name of the field might be).