cancel
Showing results for 
Search instead for 
Did you mean: 

HANA2.0 XSA - Object Deployment to different space

upamanyu_mukherjee
Participant
0 Kudos

Hi,

I am new to the XSA paradigm and was exploring this new world. I have a question around application deployment to a different space(let's say PROD) from my DEV space. We are using HANA 2.0 SP03 system and were following the steps described in the SAP HANA Academy video on this topic. As per that we have built a project in DEV space and exported the mta_archive(.mtar) file. Then we have executed the "xs deploy" command to deploy it in the PROD space. Now that my application(code) is in the PROD space how do I see those objects in WEB IDE(for e.g. calculation view which I migrated from DEV space)? When using WEB IDE can I connect to a particular space? Please let me know what I am missing here. philip.mugglestone can you please help me understand? Am I approaching this in a wrong manner?

Thanks All!

Upamanyu

Accepted Solutions (1)

Accepted Solutions (1)

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

>I was trying to see if I could see the design time objects in PROD space.

The design time objects are NOT stored in the spaces.

>o sum it up, is there any way to check the design time objects in Quality/Prod spaces?

This is what you should use Git for. You should have separate branches for the state of the design time objects for each system. From the Web IDE in the DEV system you can clone from different branches and see the state of them in each system via the branches.

>In a situation where I have multiple HANA systems(separate HANA system for dev, quality and prod) how do the different SPACES work out there?

No difference. You don't really have a PROD space in a DEV HANA system. Your spaces are per HANA instance. Therefore the true PROD space would be in the Production HANA instance, not the Dev HANA instance.

>Is it like two options for the client where in one they can have multiple spaces on the system or if they want they can have different space on different system?(Please forgive my level of ignorance on this topic :P)

You can have both. Just like you can have multiple MDC tenants within one HANA instance as well.

upamanyu_mukherjee
Participant
0 Kudos

Thanks Thomas, this was really helpful! 🙂

-

Upamanyu

Answers (1)

Answers (1)

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

Web IDE shows you design time, not runtime artifacts. Switch to the database explorer if you want to see the deployed runtime objects. You would need to connect to the container in this other space to see the content. Also remember you will need the XS controller developer role to this space if you want to see it in the Database Explorer.

upamanyu_mukherjee
Participant
0 Kudos

Thanks thomas.jung for that. Coming from XS Classic background I was trying to see if I could see the design time objects in PROD space. The way in XS Classic we connect our PROD system(DB) and see the repository objects there if required. To sum it up, is there any way to check the design time objects in Quality/Prod spaces? Let's say my calculation view is returning incorrect data in PROD and I want to debug the view/ check data at individual node and not just the final output.

Also another question, as per the current examples all these spaces(DEV, PROD etc) are present on the same HANA system(tenant DB). In a situation where I have multiple HANA systems(separate HANA system for dev, quality and prod) how do the different SPACES work out there? Is it like two options for the client where in one they can have multiple spaces on the system or if they want they can have different space on different system?(Please forgive my level of ignorance on this topic :P)