10-23-2007 8:18 AM
Hi Friends,
Is it possible to move data from Z* table to SAP Namespace tables ?
example: I created a table ZABC which has some data , now i want to move this data to a table in SAP namespace.
Thanks
Ankur
10-23-2007 8:19 AM
write an abap for it and you can do whatever you want.
regards,
Hans
10-23-2007 8:22 AM
Thanks Hans
Is this the only way to write an ABAP code ???Will this be efficient?
Also can u give me a sample code for the same.
Once again , Thanks a lot for your inputs
Regards
Ankur
10-23-2007 8:27 AM
first you have to read the relevant data from ZABC into an internal table.
SELECT * into table i_zabc
FROM ZABC
<where ....>.
If the layout of the internal table is equivalent to the layout of the SAP table, you can add all internal table entries very quickly.
MODIFY SAPtable FROM TABLE i_ZABC.
regards,
Hans
10-23-2007 4:01 PM
I don't know how is where you work, but we are not allowed to modify data of a non Z table.
We have to do it with a Bapi or a Batch Input.