Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is difference between MOVE and MOVE-CORRESPONDING?

Answer Posted / yasin

Take a look at this example

05 WS-CURRENT-DATE.
10 CURRENT-CC PIC X(02).
10 CURRENT-YY PIC X(02).
10 CURRENT-MM PIC X(02).
10 CURRENT-DD PIC X(02).

05 WS-INSERT-DATE.
10 CURRENT-MM PIC X(02).
10 FILLER PIC X(01) VALUE '/'.
10 CURRENT-DD PIC X(02).
10 FILLER PIC X(01) VALUE '/'.
10 CURRENT-CC PIC X(02).
10 CURRENT-YY PIC X(02).

MOVE CORRESPONDING WS-CURRENT-DATE TO WS-INSERT-DATE


Here 'Move Corresponding' moves the fields in WS-CURRENT-
DATE variable to their same field names in WS-INSERT-DATE,
irrespective of their Structure .

Move Statement will just moved the contents as is from a
variable to other, irrespective of the fields .

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of table control in bdc is it same in module pool table control? : abap bdc

1127


What are the differences between primary and secondary indexes?

1136


What is difference between dependent and independent data?

949


What is meant by exclusive, not cumulative lock? : sap abap data dictionary

1036


How do you populate data into a multiple line field?

985


How to find Kernal badi ?

1550


What is the syntax of packed number?

1128


What are the page windows? How many main windows will be there in a page window?

919


When to use logical database?

953


What is the difference between internal tables and extract datasets? : abap modularization

1162


Describe the difference between macro and subroutine?

1158


Define the various contents of technical specifications ?

1053


Explain what is the difference between sy-tabix and sy-index? Where it is used?

982


Difference between call by value and call by reference? : abap data dictionary

1024


How do you send files to the legacy systems from SAP and vice versa? How does one know that the legacy files have come on to the SAP server you are working on?

1159