Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
YuvalA
Advisor
Advisor
SAP Cloud Platform application programming model allows developers to quickly and easily create enterprise applications by allowing them to focus on their domain logic. It offers a consistent end-to-end programming model and development experience tailored for SAP Cloud Platform (learn more on SAP Cloud Platform application programming model capabilities).

With the new offerings from SAP Web IDE, developers can leverage SAP Cloud Platform application programming model to its best, offering a tailor made, integrated developer experience.

 

Starting with a new application template “SAP Cloud Platform Business Application”, which helps you to start with the recommended project structure suited for SAP Cloud Platform applications, compound of a Database module and Service module.



Figure 1 : Application Template

 

As soon as you start modeling your CDS (Core Data & Services) artifacts, you will immediately notice the editor syntax highlighting and the code-completion for CDS, built into SAP Web IDE.

Additionally, in case of a syntax error, you will see an error indication on the editor gutter and in the SAP Web IDE Problem View, including the error description.



Figure 2: CDS Editor

 

For helping you with easily navigating between the different CDS entities on your opened model, we also offer the Outline view for CDS (on the right).



Figure 3: Outline for CDS

 

In case you would like to mashup your service model with an existing external service (e.g. SAP S/4HANA, others), you can use the integrated tools for exploring services from SAP systems, and add the service definition to your application for reuse and mashup purposes.

 



Figure 4: Add Model

 

On top of these, by switching your workspace view with the newly introduced Project Explorer, you will be able to easily view and develop your application main logical entities (Database entities, OData service, UI application).
Double clicking on the entity itself, will open the related editor (CDS editor for the model artifacts, UI Adaptation editor for Fiori Element views etc.).

 



Figure 5: Project Explorer

 

 

SAP Web IDE offerings for the SAP Cloud Platform application programming model, are all leveraging our set of development tools and SDKs for:

 

For more detailed information, tutorials, best-practices and samples apps, visit our page in the SAP Help Portal.

 

Try it out yourself, check our Getting Started Tutorial to learn more, and... stay tuned for more, helping you to get started and build great SAP Cloud Platform Business Applications.
6 Comments
former_member321811
Participant
0 Kudos
Hi,

This sounds interesting, however I can't complete the tutorial (https://help.sap.com/viewer/65de2977205c403bbc107264b8eccf4b/Cloud/en-US/5ec8c983a0bf43b4a13186fcf59015fc.html) because I get the following error: (Define a Service step): Build of srv failed. Could not start the build. A general error occurred.

Is there any way to fix this error?

Cheers,

Pierre

 
martinkoch
Active Participant
0 Kudos
Hi,

thanks for the great post!

Do you have any information on how to automatically generate IDs or GUIDs ?

Thanks!

BR,

MArtin
0 Kudos
Hi,

 

Can you point me to the documentation which explains how to add a field with Auto generated ID?
showkath_naseem
Product and Topic Expert
Product and Topic Expert
0 Kudos

-

showkath_naseem
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi ,

Example is

entity Employee: managed {

key ID : UUID;

}

Data type UUID will take care of auto generation

 

Regards.

Showkath.

showkath_naseem
Product and Topic Expert
Product and Topic Expert
0 Kudos
Hi ,

Example is

entity Employee: managed {

key ID : UUID;



}

Data type UUID will take care of auto generation

 

Regards.

Showkath.