Skip to Content

Moving fields of one structure to another mcekesb to uekes.

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Dec 23, 2014 at 01: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.

    Add comment
    10|10000 characters needed characters exceeded