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
What are the requirements a dialog program must fulfill?
What are the functional areas?
What are conditional chain statement?
What are the personnel administration related infotypes? : abap hr
How do you write transaction programs in sap?
Name the abap/4 modularization techniques?
What does the insert statement in extract datasets do? : abap modularization
What are the 3 methods that we use in sequence in a batch input session method? : abap bdc
In which table the material master data is stored?
Mention the various databases integrities?
Hi All , Would be providing online trainings for SAP ABAP , guidance with real time experience examples , guidance in profile prepartion . Any one intrested please contact on 8978890047.
Explain about sap fico testing and the tools used? : abap bdc
What are the properties of selection screen?
Does SAP has a GUI screen painter or not? If yes what operating systems is it available on? What is the other type of screen painter called?
Explain how do you use structures in the abap programs?