Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to get/put data to/from table clusters using IMPORT/Export... from database..id..

Former Member
0 Likes
685

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

2 REPLIES 2
Read only

Former Member
0 Likes
473

any reply?

Read only

RaymondGiuseppi
Active Contributor
0 Likes
473

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