2019 Sep 26 10:35 AM
DATA :
IT_DATA_GRID1 TYPE TABLE OF BKPF,
IT_DATA_GRID2 TYPE TABLE OF BKPF.
START-OF-SELECTION.
SELECT * INTO CORRESPONDING FIELDS OF TABLE IT_DATA_GRID1 FROM BKPF UP TO 10 ROWS.
How select again from IT_DATA_GRID1 ?
SELECT * INTO CORRESPONDING FIELDS OF TABLE IT_DATA_GRID2 FROM ????????? .
2019 Sep 26 12:29 PM
Hello sina rahemi,,
Try the Below Code, it works in my system.

If it does not work as well then Your version does not support this functionality. It is supported from version 750. what is your version?
Hello sina rahemi,,
Try the Below Code, it works in my system.

If it does not work as well then Your version does not support this functionality. It is supported from version 750. what is your version?
2019 Sep 26 10:39 AM
Hello sina rahemi,
Try this: Updated
SELECT * INTO CORRESPONDING FIELDS OF TABLE IT_DATA_GRID2 FROM @IT_DATA_GRID1 as IT_TEMP.
This Should Work.
2019 Sep 26 10:50 AM
In the Above Query it is mandatory that you need to use the Keyword AS, the name after the key word can be anything. I have given IT_TEMP as an example.
2019 Sep 26 11:34 AM
2019 Sep 26 12:29 PM
Hello sina rahemi,,
Try the Below Code, it works in my system.

If it does not work as well then Your version does not support this functionality. It is supported from version 750. what is your version?
2019 Sep 26 2:23 PM

2019 Sep 26 2:41 PM
Hello Sina Rahemi,
Can you give a screen shot of your current syntax?
How does your code look like now, also what is the declaration part?
Can you give the complete details?
2019 Sep 26 2:46 PM
2019 Sep 27 5:21 AM
Sina Rahemi Kindly send the screen shot of your SAP LOGON PAD.
2019 Sep 27 8:40 PM
Hi Satish Kumar Balasubramanian.
You are right, my version does not support this.
2019 Sep 28 7:49 AM
Why posting an image instead of code that can be copy/pasted?
2019 Sep 26 1:06 PM
It depends on what you are trying to accomplish. If you need to populate IT_DATA_GRID2 with the same starting data as IT_GRID1, then simply move IT_DATA_GRID1 to GRID2 before you manipulate the contents of GRID1. Then you will have a "clean copy" of the original SELECT throughout the rest of the program execution.
If you are trying to manipulate GRID1 and then use those results to populate GRID2, use some variation of LOOP AT GRID1 into GRID2 WHERE..... (Remember that SELECT is only to use to retrieve data from database tables, not internal tables.)
If you are trying for something else, please provide more detail on the requirements.
2019 Sep 26 2:33 PM
But what is your objective ?
what is the difference between the two internal tables for your final result ?
2019 Sep 26 2:33 PM
Hello Loyd Enochs.
You are right.
I want select from bkpf into it1
change it1 data
select * INTO CORRESPONDING FIELDS OF TABLE IT_Grid1 FROM BKPF INNER JOIN IT1 on ...
2019 Sep 26 2:39 PM
select * into corresponding field of table it_grid1 from bkpf
select * appending corresponding field of table it_grid1 from bkpf
is it your objectif ?
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |