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

How can we set the table spaces and extent sizes? : abap data dictionary

1300


What are pool tables?

1086


What is the max no of match code id's that can be defined for one match code object? : abap data dictionary

1095


What is netweaver???what is the relationship with ABAP?

2173


What is bdc programming? : abap bdc

1103


Can we use flow logic control key words in abap/4 and vice-verse?

980


What is an update task? : abap modularization

1066


Suppose the client wants me the vacancy to be displayed on a website as well as ess. How should I do it? : sap abap hr

960


What are the two methods for modifying sap standard tables?

1346


What two statements are required in an abap program to output an icon using a write statement?

980


Explain some essential objects in abap dictionary?

1168


How can we create callable modules of program code within one abap/4 program?

1109


Define subtype ? : abap hr

1026


What two statements are required in an abap program to output an icon using a written statement?

1121


What are the advantages and disadvantages of using views in abap programming ?

1113