12-23-2014 11:55 AM
I have imported the structure mcekesb in the FM EXIT_SAPLEINM_008
Now I want to move these fields mcekesb structure fields to uekes structure
How to move?
DATA : im_ekes like uekes.
DATA : xmcekes like mcekesb .
IMPORT xmcekes FROM MEMORY ID 'xmcekes'.
MOVE-CORRESPONDING xmcekes TO im_ekes.
12-23-2014 1:17 PM
It will work as long as you do not need any fields of structure mcekesb that are not present in structure uekes AND if you can do without the fields that are in structure uekes but don't exist in structure mcekesb.
And offcourse you must have exported the structure to memory to be able to import it again.