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
Explain the difference between tables and structures?
How to create report in SD open sales order which covers all Organization, delivery status, shipping details and partner function details. plz mention the detail coding Tahnks, Rahul
How many structures can be created in a Ztable ?
WHAT ARE THE INPUT PARAMETERS TO BE PASSED FOR THE BAPIS 'BAPI_CUSTMATINFO_GETDETAILM' AND 'BAPI_CUSTMATINFO_GETLIST'
Differentiate between table and template ?
How many types of tables exists and what are they in data dictionary? : abap data dictionary
Is the basic list deleted when the new list is created?
how can we enable hyperlink in screen painter?
Can you print decimals in type n? What is difference between float and packed data type?
What is an on”*-input filed” statement?
How many secondary indexes can we create in a table?
how do you transport lsmw data from one system to another?
What is lock mechanism? How do we create lock objects in abap?
A field containing currency amounts (data type curr) must be assigned to a reference table and a reference field. Explain.? : abap data dictionary
any one can tell me which is the tables can store in ddic plese dont say db02l,please give me different ways of resideing the tables ?