Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

regarding move and move-corresponding

Hi,

Can anybody tell me about move and move-corresponding functionality ie here i had a confussion about them is in which case

-


Attempt should be made to move entire internal table headers in a single shot, rather than moving the fields one by one.

whether it is in case of move or move-corresponding.

please reply it will help me a lot.

regards,

Tags:
replied

hi,

MOVE <itab1> To <itab2>.

OR

<itab1> = <itab2>.

To copy entire contents of one table into another in one execution

>>Copies the entire contents of one table into another in one execution.

>>Original data in target table overwritten.

>>For tables with header line use [] to distinguish it from work area since both have the same name.

MOVE-CORRESPONDING <itab1> TO <itab2>-

>> Executes the statement for their header lines.

>>Searches for the sub-fields which occur both in itab1 and itab2 and then generates, for all relevant field pairs which correspond to the sub-fields ni , statements of the form

MOVE itab1-ni TO itab2-ni.

>> The other fields remain unchanged.

hope your doubt get cleared

thanks

Sachin

Edited by: Sachin Gupta on Oct 14, 2008 7:56 AM

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question