2012 Aug 26 5:35 AM
Hello All,
I am trying to store 5-10 tables data for one key field (for example user) in a table cluster (ZC1) using Export stsmt. And will have to write logic to get the same using import stmt. created a table cluster using sap help and also created cluster tables (ztabl1, ztable2 and ztable3) and assigned them to table cluster (ZC1).
i tried to use stmt export it_ztable1 to database ZC1(ar) id <zc1-keyfield> but its expecting a component 'CLUSTR' and throw some error. I searched a lot but lot of explanation is with respect to INDX or PCL* table cluster but i want the same exlanation with respect to a custom table cluster. any help or a sample program would be greatly appreciated.
Mani
Hello All,
I am trying to store 5-10 tables data for one key field (for example user) in a table cluster (ZC1) using Export stsmt. And will have to write logic to get the same using import stmt. created a table cluster using sap help and also created cluster tables (ztabl1, ztable2 and ztable3) and assigned them to table cluster (ZC1).
i tried to use stmt export it_ztable1 to database ZC1(ar) id <zc1-keyfield> but its expecting a component 'CLUSTR' and throw some error. I searched a lot but lot of explanation is with respect to INDX or PCL* table cluster but i want the same exlanation with respect to a custom table cluster. any help or a sample program would be greatly appreciated.
Mani
2012 Aug 27 5:32 PM
2012 Aug 27 6:17 PM
To use IMPORT FROM/EXPORT to database, your database table MUST respect the following structure structure. (from EXPORT - medium in abap online documentation) Adapt your z-table respecting the structure.
Regards,
Raymond
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |