## 4.1.7.1 Developing SAP HANA in the Cloud Foundry Environment
Find here selected information for SAP HANA database development and references to more detailed sources.
This section gives you information about database development and its surrounding tasks especially if you want to explore the SAP BTP, Cloud Foundry environment. To get more into detail, we have references to other guides and the SAP HANA Cloud service documentation. The context we're looking at is multitarget application (MTA) development, whereby SAP HANA is the database module and you develop all artifacts in that module.
There are multiple scenarios when you start using SAP HANA Cloud in the SAP BTP, Cloud Foundry environment. For each of these scenarios, we give you a recommendation:
| Scenario                                                                                     | Recommendation                                                                                                                                                                   |
|----------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| You're starting a new project and want to lever- age SAP HANAcapabilities in the cloud.      | Werecommend using the SAP Cloud Application Programming Model and SAP HANACloud. See SAP HANACloud [page 596]                                                                    |
| You're using SAP HANAservice for SAP BTP and SAP HANAPlatform 2.0 (XS advanced) on- premise. | Get to know the differences. Read about features that have been sup- ported by other SAP HANAversions but aren't supportedbySAPHANA Cloud: SAP HANACloud Compatibility Reference |
## Scenario
## Recommendation
| You're using SAP HANAPlatform 2.0 (XS ad- vanced) on-premise.                                                                                                                                   | SAP HANAextended application services, advanced model, (XS ad- vanced) as the runtime environment for SAP HANAPlatform was built similar to the Cloud Foundry environment. It has been developed further and therefore contains features that aren't available in Cloud Foundry. Some features aren't supported from the SAP HANAversions in the cloud. So, there's always some effort, at least when you reach a decent amount of complexity, to make an XS advanced application run in the cloud. The new SAP HANACloud service made significant moves to reduce footprint and be cloud-ready. Therefore, previously deprecated features have been removed. Read about SAP HANACloud Compatibility and Migration Information: • High Level Feature Compatibility • Design-time Content Compatibility You can find another collection of these features and elements in the   |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| You're using SAP HANAPlatform 1.0 (XS clas- sic) on-premise. This scenario also includes any usage of XS classic artifacts even if you use XS advanced (compatibility) or the Neo environ- ment | This scenario is presumably a bigger project. The task isn't only to use a different version of SAP HANAbut also to make architectural changes: from monolithic applications to microservice-based applications. To give you an overview on things you need to consider, have a look at our guide: Migrating from the Neo Environment to the Multi-Cloud Foundation for SAP BTP (Cloud Foundry and Kyma)                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |