cancel
Showing results for 
Search instead for 
Did you mean: 

How to import an already existing SAPUI5 development for team development

Former Member
0 Kudos

Hello,

I have created an SAPUI5 project which is succesful available in the Netweaver ABAP "BSP repository". The project is now transported to a different Netweaver ABAP system and I want to import it from there to my Eclipse development environment.

So I find a lot of documents "how to get started" and create a new UI5 project, but I can't find anything on importing/opening an existing one stored on Netweaver ABAP. The problem also occurs when a developer within the team wants to work on the same project.

Who has a possible easy answer regarding this ?

Thanks

Jörg

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Jorg

Create a new SAPUI5 Project in Eclipse (without Initial View). 

Right click the project, Team->Share. 

Select SAPUI5 ABAP Repository. 

Select your connection and login. 

You should then get a list of the BSPs available on that system.  Select the one you want and finish. 

Right click the Eclipse project again and select Team->Retrieve.

That should do it.

Former Member
0 Kudos

Hi Andrew,

yes this helps, thanks a lot !

I assume it is important to create "without initial view"

Jörg

silke_arians
Explorer
0 Kudos

Hi,

this is also mentioned in the Demo Kit under "Using SAPUI5 Repository on ABAP", https://sapui5.netweaver.ondemand.com/sdk/#docs/guide/UI5BSPRepository.html

chapter "Retrieving the SAPUI5 Application Project from the SAPUI5 Repository".

Best regards

Silke

Former Member
0 Kudos

Hi Jorg

As you're re-importing your code from a BSP in SAP, the initial view/controller is probably unnecessary.  If you forget to untick the 'initial view', you can always delete them (unless you intend to use them that is!).

In regards to having multiple developers work on the same project, we also are in this situation. Your developers need to be mindful if intending to work on the same views/controllers.  SAPs 'conflict resolution' will only highlight that a conflict is about to occur.  Handling the conflict will need to be done manually, i.e. copy the changed code in Eclipse, 'retrieve' the last applied changes to SAP, then cut-and-paste your copied code back into the retrieved version.  Kinda irritating!  We're only running an early version of 1.10 so hopefully this has improved (or will improve in the future, i.e. ability to merge your changes with existing code).  Best of luck.      

silke_arians
Explorer
0 Kudos

Hi,

please see Demo Kit under "Using SAPUI5 Repository on ABAP", https://sapui5.netweaver.ondemand.com/sdk/#docs/guide/UI5BSPRepository.html

chapter "Handling Conflicts" on how to open the Compare Editor.

Best regards

Silke

Answers (0)