cancel
Showing results for 
Search instead for 
Did you mean: 

Container Copy Issue

rbhuva
Participant
0 Kudos

Hi ,

I am trying to copy container C1 to container C2 referring https://help.sap.com/viewer/3823b0f33420468ba5f1cf7f59bd6bd9/2.0.04/en-US/905a7b383a5a472f9d712fa3fb....

Here it is mentioned "The new container does not have to be empty for the purpose of an import. However, any existing objects and data in the target container will be deleted before the import."

Please note - My container C2 already has some artifacts.

I have executed export procedure successfully but while running Import procedure -

CALL _SYS_DI#SYS_XS_HANA_BROKER.IMPORT_CONTAINER_FOR_COPY (C2, CURRENT_SCHEMA, 'EXPORT_TABLE', _SYS_DI.T_NO_PARAMETERS, ?, ?, ?);

In above procedure what is the meaning of 3 question marks?

Can we pass some parameters in procedure to overwrite existing objects?

I am getting an error message "Container C2 can not be imported, Container must be empty".

thomas.jung : Could you Please help.

HakanHaslaman
Product and Topic Expert
Product and Topic Expert
0 Kudos

On SPS03 revisions, the target container must be made empty before an import can be done.

As this can be cumbersome, it was improved for SPS04.

On SPS04 revisions, this is not required anymore.
Any existing objects and data in the target container will be deleted before the import.

Which version you are using?

rbhuva
Participant
0 Kudos

Hi hakan.haslaman

Thank you for the reply.

We are using 2.00.034.00.1539746999 (fa/hana2sp03).

Is there any way to use this procedure in this version?

Thanks,

Rajdeep Bhuva

Accepted Solutions (0)

Answers (1)

Answers (1)

HakanHaslaman
Product and Topic Expert
Product and Topic Expert
0 Kudos

As I know, with some SQL instructions, it could be possible to clear the container. But I haven't more information about this. May you can ask SAP Consulting to assist you.