Landscape Setup for Ongoing Java Development With CM Services in CTS%2b

16
8/12/2019 Landscape Setup for Ongoing Java Development With CM Services in CTS%2b http://slidepdf.com/reader/full/landscape-setup-for-ongoing-java-development-with-cm-services-in-cts2b 1/16  SAP NetWeaver Landscape Setup for Ongoing Java Development with CM Services in CTS+ Applicable Releases: SAP NetWeaver 7.30 SAP Solution Manager 7.01 SP08 and higher Topic Area: SAP NetWeaver Development Infrastructure with CM Services Version 1.0 August 2012

Transcript of Landscape Setup for Ongoing Java Development With CM Services in CTS%2b

Page 1: Landscape Setup for Ongoing Java Development With CM Services in CTS%2b

8/12/2019 Landscape Setup for Ongoing Java Development With CM Services in CTS%2b

http://slidepdf.com/reader/full/landscape-setup-for-ongoing-java-development-with-cm-services-in-cts2b 1/16

 SAP NetWeaver

Landscape Setup for Ongoing Java

Development with CM Services in

CTS+

Applicable Releases:

SAP NetWeaver 7.30

SAP Solution Manager 7.01 SP08 and higher

Topic Area:

SAP NetWeaver Development Infrastructure with CM Services

Version 1.0

August 2012

Page 2: Landscape Setup for Ongoing Java Development With CM Services in CTS%2b

8/12/2019 Landscape Setup for Ongoing Java Development With CM Services in CTS%2b

http://slidepdf.com/reader/full/landscape-setup-for-ongoing-java-development-with-cm-services-in-cts2b 2/16

 

i

© Copyright 2012 SAP AG. All rights reserved.

No part of this publication may be reproduced or transmitted in anyform or for any purpose without the express permission of SAP AG.The information contained herein may be changed without priornotice.

Some software products marketed by SAP AG and its distributors

contain proprietary software components of other software vendors.

Microsoft, Windows, Excel, Outlook, PowerPoint, Silverlight, and Visual Studio are registered trademarks of Microsoft Corporation.

IBM, DB2, DB2 Universal Database, System i, System i5, System p,System p5, System x, System z, System z10, z10, z/VM, z/OS,OS/390, zEnterprise, PowerVM, Power Architecture, Power Systems,POWER7, POWER6+, POWER6, POWER, PowerHA, pureScale,PowerPC, BladeCenter, System Storage, Storwize, XIV, GPFS,HACMP, RETAIN, DB2 Connect, RACF, Redbooks, OS/2, AIX,Intelligent Miner, WebSphere, Tivoli, Informix, and Smarter Planetare trademarks or registered trademarks of IBM Corporation.

Linux is the registered trademark of Linus Torvalds in the UnitedStates and other countries.

 Adobe, the Adobe logo, Acrobat, PostScript, and Reader aretrademarks or registered trademarks of Adobe Systems Incorporated

in the United States and other countries.

Oracle and Java are registered trademarks of Oracle and its affiliates.

UNIX, X/Open, OSF/1, and Motif are registered trademarks of the

Open Group.

Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame,

 VideoFrame, and MultiWin are trademarks or registered trademarks

of Citrix Systems Inc.

HTML, XML, XHTML, and W3C are trademarks or registered

trademarks of W3C®, World Wide Web Consortium, Massachusetts

Institute of Technology.

 Apple, App Store, iBooks, iPad, iPhone, iPhoto, iPod, iTunes, Multi-

Touch, Objective-C, Retina, Safari, Siri, and Xcode are trademarks orregistered trademarks of Apple Inc.

IOS is a registered trademark of Cisco Systems Inc.

RIM, BlackBerry, BBM, BlackBerry Curve, BlackBerry Bold,

BlackBerry Pearl, BlackBerry Torch, BlackBerry Storm, BlackBerry

Storm2, BlackBerry PlayBook, and BlackBerry App World are

trademarks or registered trademarks of Research in Motion Limited.

Google App Engine, Google Apps, Google Checkout, Google Data

 API, Google Maps, Google Mobile Ads, Google Mobile Updater,

Google Mobile, Google Store, Google Sync, Google Updater, Google

 Voice, Google Mail, Gmail, YouTube, Dalvik and Android are

trademarks or registered trademarks of Google Inc.

INTERMEC is a registered trademark of Intermec TechnologiesCorporation.

 Wi-Fi is a registered trademark of Wi-Fi Alliance.

Bluetooth is a registered trademark of Bluetooth SIG Inc.

Motorola is a registered trademark of Motorola Trademark Holdings

LLC.

Computop is a registered trademark of Computop Wirtschaftsinformatik GmbH.

SAP, R/3, SAP NetWeaver, Duet, PartnerEdge, ByDesign, SAPBusinessObjects Explorer, StreamWork, SAP HANA, and other SAPproducts and services mentioned herein as well as their respectivelogos are trademarks or registered trademarks of SAP AG inGermany and other countries.

Business Objects and the Business Objects logo,BusinessObjects, Crystal Reports, Crystal Decisions, WebIntelligence, Xcelsius, and other Business Objects products andservices mentioned herein as well as their respective logos aretrademarks or registered trademarks of Business ObjectsSoftware Ltd. Business Objects is an SAP company.

Sybase and Adaptive Server, iAnywhere, Sybase 365, SQL Anywhere, and other Sybase products and services mentionedherein as well as their respective logos are trademarks orregistered trademarks of Sybase Inc. Sybase is an SAP company.

Crossgate, m@gic EDDY, B2B 360°, and B2B 360° Services areregistered trademarks of Crossgate AG in Germany and othercountries. Crossgate is an SAP company.

 All other product and service names mentioned are thetrademarks of their respective companies. Data contained in thisdocument serves informational purposes only. National productspecifications may vary.

These materials are subject to change without notice. Thesematerials are provided by SAP AG and its affiliated companies("SAP Group") for informational purposes only, withoutrepresentation or warranty of any kind, and SAP Group shall not

 be liable for errors or omissions with respect to the materials.The only warranties for SAP Group products and services arethose that are set forth in the express warranty statementsaccompanying such products and services, if any. Nothing hereinshould be construed as constituting an additional warranty.

These materials are provided “as is” without a warranty of anykind, either express or implied, including but not limited to, theimplied warranties of merchantability, fitness for a particularpurpose, or non-infringement.

SAP shall not be liable for damages of any kind including withoutlimitation direct, special, indirect, or consequential damages thatmay result from the use of these materials.

SAP does not warrant the accuracy or completeness of theinformation, text, graphics, links or other items contained withinthese materials. SAP has no control over the information that

 you may access through the use of hot links contained in these

materials and does not endorse your use of third party web pagesnor provide any warranty whatsoever relating to third party webpages.

SAP NetWeaver “How -to” Guides are intended to simplify theproduct implementation. While specific product features andprocedures typically are explained in a practical businesscontext, it is not implied that those features and procedures arethe only approach in solving a specific business problem usingSAP NetWeaver. Should you wish to receive additionalinformation, clarification or support, please refer to SAPConsulting.

 Any software coding and/or code lines / strings (“Code”)included in this documentation are only examples and are notintended to be used in a productive system environment. TheCode is only intended better explain and visualize the syntax andphrasing rules of certain coding. SAP does not warrant the

correctness and completeness of the Code given herein, and SAPshall not be liable for errors or damages caused by the usage ofthe Code, except if such damages were caused by SAPintentionally or grossly negligent.

Disclaimer:

Some components of this product are based on Java™. Any codechange in these components may cause unpredictable and severemalfunctions and is therefore expressively prohibited, as is anydecompilation of these components.

 Any Java™ Source Code delivered with this product is only to beused by SAP’s Support Services and may not be modified oraltered in any way. 

Page 3: Landscape Setup for Ongoing Java Development With CM Services in CTS%2b

8/12/2019 Landscape Setup for Ongoing Java Development With CM Services in CTS%2b

http://slidepdf.com/reader/full/landscape-setup-for-ongoing-java-development-with-cm-services-in-cts2b 3/16

 

ii

Document History

Document Version Description

1.00 First official release of this guide

Page 4: Landscape Setup for Ongoing Java Development With CM Services in CTS%2b

8/12/2019 Landscape Setup for Ongoing Java Development With CM Services in CTS%2b

http://slidepdf.com/reader/full/landscape-setup-for-ongoing-java-development-with-cm-services-in-cts2b 4/16

 

iii

Typographic Conventions

Type Style Description

Example Text Words or characters quotedfrom the screen. Theseinclude field names, screentitles, pushbuttons labels,menu names, menu paths,and menu options.

Cross-references to otherdocumentation

Example text Emphasized words orphrases in body text, graphictitles, and table titles

Example text File and directory names

and their paths, messages,names of variables andparameters, source text, andnames of installation,upgrade and database tools.

Example text User entry texts. These arewords or characters that youenter in the system exactly asthey appear in thedocumentation.

 <Example

text>Variable user entry. Anglebrackets indicate that youreplace these words andcharacters with appropriateentries to make entries in thesystem.

EXAMPLE TEXT  Keys on the keyboard, for

example, F2 or ENTER.

Icons

Icon Description

Caution

Important

Note

Recommendation or Tip

Example

Page 5: Landscape Setup for Ongoing Java Development With CM Services in CTS%2b

8/12/2019 Landscape Setup for Ongoing Java Development With CM Services in CTS%2b

http://slidepdf.com/reader/full/landscape-setup-for-ongoing-java-development-with-cm-services-in-cts2b 5/16

 

iv

Table of Contents

1.  The Issue .............................................................................................................................. 1 1.1   Assumptions ................................................................................................................. 1 1.2  The System Requirements ........................................................................................... 1 1.3  The Landscape ............................................................................................................. 1 1.4  The Process .................................................................................................................. 2 1.5  Integrating a Bug Fix from Maintenance to Development ............................................ 3 

1.5.1  Integrating a Bug Fix from Maintenance (DM1) to Development (DD1) withNWDS .............................................................................................................. 3 

1.5.2  Integrating a Bug Fix from Maintenance to Development with DTRCommand Line Tool or DTR Console .............................................................. 7 

1.6  Hints and References / FAQ ......................................................................................... 8 

Page 6: Landscape Setup for Ongoing Java Development With CM Services in CTS%2b

8/12/2019 Landscape Setup for Ongoing Java Development With CM Services in CTS%2b

http://slidepdf.com/reader/full/landscape-setup-for-ongoing-java-development-with-cm-services-in-cts2b 6/16

 

1.  The Issue Assume the following scenario: You started using CM Services for developing your own applicationrunning on SAP NetWeaver AS Java. To start with a basic landscape, you might have set up a systemDM1 for developing your application, a system QM1 for testing it and finally a system named PP1

where your end users use your application productively. So your landscape in TMS (TransportManagement System) might look like the following:

Each of these systems is representing a separate runtime system on SAP NetWeaver AS Java.

 After having finalized your application and having provided it to your end users, you were only askedto do bug fixing and small changes that could be transported to the PP1 immediately. Nowmanagement discovered that your application is of high value and should be extended with severaladditional features. Realizing all of them would take a while. Nevertheless, your end users expect that

you continue fixing bugs for the productive version while you develop the newly required functionality.So how can you make sure that bug fixes can be transported through the landscape but the newfunctionality that you maybe did not finish, yet, is not?

The blog Best Practices for NWDI: Track design for ongoing development describes how this can behandled with Change Management Service (CMS) of SAP NetWeaver Development Infrastructure(NWDI). In here, we would now like to give you some hints, how this can be done if you used CMServices. Read through the whole guide before you start setting up any landscape!

1.1  AssumptionsFor this article, we assume

  that you are using an NWDI (and CM Services) on SAP NetWeaver 7.3

  That you are using an SAP Solution Manager (CTS+ System) which is at least onenhancement package 1 SP8 for SAP NetWeaver 7.0 or on enhancement package 2 SP7 forSAP NetWeaver 7.0.

  that you are using the Synchronize Service to fill your workspaces and buildspaces.

  that you are using the activity-based SDA transport (and not the transport of activities /sources)

  that you use one Design Time Repository (DTR) and one Component Build Service (CBS)(usually one NWDI system) for one landscape.

1.2  The System RequirementsTo be able to handle new development and bug fixing in parallel, you need two additional systems.One system – let‟s call it DD1 – is needed to develop the new functionality and a second one – e.g.

QD1 – to test the newly developed functionality. This requires setting up two new runtime systems andconfiguring the landscape in TMS.

1.3  The LandscapeThe simplest solution to set up a landscape fulfilling your needs is the following:

You first have to create representations for your new development and test system DD1 and QD1in

TMS. Then connect these two systems using a consolidation route. New development should at somepoint in time become part of the maintenance landscape as well – therefore a delivery route is needed

Page 7: Landscape Setup for Ongoing Java Development With CM Services in CTS%2b

8/12/2019 Landscape Setup for Ongoing Java Development With CM Services in CTS%2b

http://slidepdf.com/reader/full/landscape-setup-for-ongoing-java-development-with-cm-services-in-cts2b 7/16

 

to connect the test system QD1 with the development system DM1 of your maintenance landscape.We suggest moving new development through the complete maintenance landscape before deployingit to the productive system). This ensures that your new development can also be tested together withthe existing functionality.

Both DD1 and DM1 have to be set up as source systems so that you can create transport requests forthese systems. They both have to have a Development Configuration. The landscape that you were

using before you were asked to do new development can remain as it is with one small exception: youneed an additional delivery route between DM1 and QM1 to be able to transport the requestsgenerated in DD1 through your maintenance landscape as well. Details are explained in the followingsection.

1.4  The ProcessSo how would you now handle changes and new development? You can start with developing newsoftware in DD1 at any point in time after having set up the landscape. Transport it to QD1 usingactivity based SDA transport to test the software. As an import into QD1 will forward the requests toDM1, you should not execute imports to DM1 as long as you are developing the new version in DD1.But as DM1 is a development system as well, imports into this system should not be executed on aregular basis, e.g. by a scheduler, so this should not be an issue. You could use additional measureslike QA approval or project specific import to make sure that imports are only executed when youwould really like to do so.

 After having tested the new software extensively in QD1, it would be ready to go to PP1. As soon asyou would like to make your software available productively, you can import the transport requestscreated in DD1 into DM1 (and resolve conflicts if necessary – should not happen if you integrated allchanges from DM1 into DD1 – covered later. If you have to change the SP and patch level, you shouldthink about transporting the complete SCA. Export of the complete Software Component(s) from DD1using the Export Web UI. If you decide to use SCA transport: Create a transport request containingthe SCA(s) for your new functionality and transport this request through the complete landscape until itreaches PP1. You should do additional testing in QM1 to make sure that all of the new developmentworks fine maybe also in combination with other SCs that you might only have in the maintenance

landscape as there is no new development done for this functionality in the moment. Keep in mind thatyou cannot provide any fixes for PP1 any more after you imported your new development into DM1.So you should try to keep the time between importing the requests coming from DD1 in DM1 andimporting them in PP1 as short as possible.

The main reason why you set up the landscape as it is was that you expected that changes (bugfixing) in DM1 might be required during the development phase. So how can you handle these fixes inparallel?

 Assuming that you do new development for the same SCs and DCs that are also in maintenancemode, you would have to make sure that the changes that you do in DM1 are done in DD1 as well.Otherwise the old – already fixed – bugs will come up again as soon as you transport the newdevelopment with the new functionality through your landscape to PP1. There is no automatismavailable which can do this for you. You would have to integrate the activities that were created forDM1 into DD1 otherwise you will get conflicts in DTR.

When you integrate the activities that where created while fixing in DM1 into DD1, warnings will comeup if there are conflicts which will be the case if you fixed a file in DM1 that was also further developedin DD1. You have to resolve the conflicts. Ignoring them will most probably result in new bugs. Youcan decide to keep one or the other version. Another option is to merge the conflicting versions. Insome cases, conflicts can be merged automatically.

Note that if you are developing Web Dynpro Java UIs, an automated conflict resolution is not possible.In this case, you have to first integrate the activity(ies) in DD1, then accept the active version andfinally re-do your changes again manually in DD1.

We suggest that this step of integrating the activities and resolving the conflicts is done by thedevelopers themselves immediately after they have finished their fix. To integrate activities, theyshould use the SAP NetWeaver Developer Studio (NWDS) to integrate the activities and resolve theconflicts if possible. They cannot use this option, if you use different DTRs for DM1 and DD1 – see

later for details.

Page 8: Landscape Setup for Ongoing Java Development With CM Services in CTS%2b

8/12/2019 Landscape Setup for Ongoing Java Development With CM Services in CTS%2b

http://slidepdf.com/reader/full/landscape-setup-for-ongoing-java-development-with-cm-services-in-cts2b 8/16

 

To learn more about conflicts, why they come up and how they can be solved, refer also tohttp://help.sap.com/saphelp_nw73/helpdata/en/4c/1f9762c4cb57d8e10000000a42189c/frameset.htm 

1.5  Integrating a Bug Fix from Maintenance to

DevelopmentThe following two sections describe first how integrating activities and resolving conflicts can be donewith the NWDS and then how the command line tool supports this.

Note that the NWDS can only be used for integrating activities if the workspaces for DD1 and DM1 arelocated in the same DTR. If you use different DTRs for DD1 and DM1, you have to use the DTRCommand Line tool. You would have to export the activity from the DTR of workspace of DM1, importit into DTR of DD1 and integrate into the inactive (!) workspace of DD1.

In the CMS blog, the set-up suggested in here for CM Services scenario was not recommendedbecause of required rebuilds in the DEV and CONS system in the maintenance track (whichcorresponds to DM1 and QM1 in the scenario described in this document). This limitation does notapply in here as the results of the rebuild in DM1 only have to be transported if there were conflicts.

Otherwise, you can simply continue with the transport requests that were created in DD1. You shouldonly import the requests coming from DD1 into QM1 after the import in DM1 finished successfully. Ifthere are warnings (which could be the result of non-resolved conflicts), the request will neverthelessbe forwarded to QM1 which can lead to bugs that you might already have resolved earlier. To resolvethis situation, you would have to do a re-export in DM1 after having solved the conflicts. But if youfollow the rules described in this guide, you should not get warnings because of conflicts for imports inDM1.

Limitations

  after having imported the SDAs coming from DD1 into DM1, you cannot create bug fixes forthe version that you have in PP1 – this is possible again after you transported your newdevelopment into PP1 as well.

  SP and patch level are metadata of SCAs only. Thus, SP and patch level can only be set ifyou transport SCAs using the Export Web UI. Take this into account if you would like to create

a new version in DD1.

1.5.1  Integrating a Bug Fix from Maintenance (DM1) to

Development (DD1) with NWDS...

1. Preparing the integration in NWDS

a. Create a new DTR Client to see workspaces of different development configurationsDesign Time Repository Perspective DTR Create Client

b. Enable Admin Mode in NWDS to be able to integrate from Workspace a to Workspace bWindow Preferences Development Infrastructure  Design Time Repository and

Page 9: Landscape Setup for Ongoing Java Development With CM Services in CTS%2b

8/12/2019 Landscape Setup for Ongoing Java Development With CM Services in CTS%2b

http://slidepdf.com/reader/full/landscape-setup-for-ongoing-java-development-with-cm-services-in-cts2b 9/16

 

choose Enable administrative functionality .

c. Set Workspaces for Closed Activities

Go to Window  Preferences Development Infrastructure Design Time Repository

and click on Select Workspaces behind Set  Workspace Filter for Closed Activities. In thenew window coming up, select the Workspaces to be viewed (Make sure that the beforecreated DTR Client is selected).

First deselect all and then select the inactive workspaces of the source developmentconfiguration(s). Usually this should be the development configuration of yourmaintenance system because you would like to integrate from maintenance system todevelopment system.

Page 10: Landscape Setup for Ongoing Java Development With CM Services in CTS%2b

8/12/2019 Landscape Setup for Ongoing Java Development With CM Services in CTS%2b

http://slidepdf.com/reader/full/landscape-setup-for-ongoing-java-development-with-cm-services-in-cts2b 10/16

 

d. Set Workspaces for Integration Dialog

Go to Window  Preferences Development Infrastructure Design Time Repositoryand click on Select Workspaces behind Set Workspace Filter for Integration Dialog  (Make sure that the before created DTR Client is selected).

First deselect all and then select the inactive workspaces of the target developmentconfiguration(s).Usually this should be the development configuration of yourdevelopment system because you would like to integrate from maintenance system to

Page 11: Landscape Setup for Ongoing Java Development With CM Services in CTS%2b

8/12/2019 Landscape Setup for Ongoing Java Development With CM Services in CTS%2b

http://slidepdf.com/reader/full/landscape-setup-for-ongoing-java-development-with-cm-services-in-cts2b 11/16

 

development system.

2. Integrating

a. In NWDS in Design Time Repository Perspective select the previously created client.

b. Open view “Closed Activities” if you do not see it yet, open it using the following path:Window   Show View   Closed Activities.

There you should see all closed activities for the workspaces you specified earlier in thestep “Set Workspaces for Closed Activities”. 

(If you do not see your activities check the settings of the User Filter and Date Filter in

the Closed Activities view using the triangle in the top right of the view)

Page 12: Landscape Setup for Ongoing Java Development With CM Services in CTS%2b

8/12/2019 Landscape Setup for Ongoing Java Development With CM Services in CTS%2b

http://slidepdf.com/reader/full/landscape-setup-for-ongoing-java-development-with-cm-services-in-cts2b 12/16

 

c. Select your activities to be integrated into development and then choose “Integrate to…”from the context menu. The following popup appears:

Make sure to select the correct target workspace, containing development configurationID of your development configuration for your current development and the softwarecomponent name of the workspace where you did the fix.

d. After having clicked OK  the integration will be executed. If there was also development

done in the target workspace (in the development configuration of your currentdevelopment) you would probably get another popup indicating that an IntegrationConflict occurred as shown here:

e. Click Yes to open Integration Conflicts View in order to resolve the conflict.

In here you can see the differences and resolve the conflict by either accepting the activeversion (latest version of development) or by accepting the colliding version (your fixedversion from maintenance) or by merging both versions. (see alsohttp://help.sap.com/saphelp_nw73/helpdata/en/49/1cf4e8096d16b8e10000000a42189d/f rameset.htm )

f. After having done the conflict resolution, check in the activity.

g. Activate the integrated activity(ies) and if collisions occurred also the conflict resolutionactivity(ies).

h. Finally you should release the activities to minimize the risk of a conflict in followingsystems when you transport your new development without the fix.

1.5.2  Integrating a Bug Fix from Maintenance to

Development with DTR Command Line Tool or DTR

ConsoleInstead of using the NWDS for taking over the fix from maintenance to development you can also usethe DTR Command Line Tool or DTR Console to do this.

Page 13: Landscape Setup for Ongoing Java Development With CM Services in CTS%2b

8/12/2019 Landscape Setup for Ongoing Java Development With CM Services in CTS%2b

http://slidepdf.com/reader/full/landscape-setup-for-ongoing-java-development-with-cm-services-in-cts2b 13/16

 

If you need more information about the Command Line Tool and how to start it, take a look at the SAPHelp Portal athttp://help.sap.com/saphelp_nw73/helpdata/en/49/11ef1ecf292810e10000000a42189c/frameset.htm 

For our example the integrate command in DTR Console would look like this: “integrate/act/default_w_DM1_cust_2e_com_CUSTOMSC1_inactive_u_nwdi_dev_t_2011_10_05_11_34_44_GMT_05fc8e3a-ef46-11e0-aa38-00216a767d61

/ws/DD1/cust.com_CUSTOMSC1/inactive/ ”. 

The activity is specified by its path which can be retrieved from DTR Web UI (for details, refer tohttp://help.sap.com/saphelp_nw73/helpdata/en/49/2689bdc2071903e10000000a42189c/frameset.htm ) or from NWDS. In NWDS, the path of an activity is shown in the Activity Properties in the contextmenu. Retrieve the path from the property Actual Name:

 After the integration is done, you also need to execute steps 2.5 to 2.8 from the section “Integrating abug fix from Maintenance to Development with NWDS”. 

 Additional Information is available on the SAP Help Portal:

DTR Command Line Clienthttp://help.sap.com/saphelp_nw73/helpdata/en/49/0ff10817d92633e10000000a42189d/frameset.htm  

http://help.sap.com/saphelp_nw73/helpdata/en/49/101be83d9d132ee10000000a421937/frameset.htm 

http://help.sap.com/saphelp_nw73/helpdata/en/49/101bd63d9d132ee10000000a421937/frameset.htm 

DTR Consolehttp://help.sap.com/saphelp_nw73/helpdata/en/49/12b42a9ba4105ee10000000a42189d/frameset.htm 

1.6  Hints and References / FAQ

Recommendation for Web Dynpro Java Bug Fixes

If you are doing a Web Dynpro Java fix which affects not only source code but also UI changes andyou get conflicts during integration into development we recommend that you accept the activeversions of all files and then redo the fix manually in the development configuration of yourdevelopment system. BUT you should always integrate the activity with the bug fixes into thedevelopment configuration of your development system because otherwise you will get conflicts infuture when the development version and the fixed version meet each other in any following system. 

Page 14: Landscape Setup for Ongoing Java Development With CM Services in CTS%2b

8/12/2019 Landscape Setup for Ongoing Java Development With CM Services in CTS%2b

http://slidepdf.com/reader/full/landscape-setup-for-ongoing-java-development-with-cm-services-in-cts2b 14/16

 

How can I do maintenance if my NWDI / CM services are on enhancement

package 2 for SAP NetWeaver 7.0 or SAP NetWeaver Composition Environment

7.2?

You can also set up the same scenario if you are using CM Services on enhancement package 2 forSAP NetWeaver 7.0 or SAP NetWeaver Composition Environment 7.2. There is only a small change

for your landscape: you would have to create two upload systems – one that is used to fill thebuildspace of DM1 and another one for DD1. With SAP NetWeaver 7.3, upload systems are notneeded any more. You should use the Synchronize Service to import the SCAs into NWDI (fill thebuildspaces). If you are using upload systems, your landscape could look like the following:

Note that there is no delivery route between DM1 and QM1. This leads to the limitation that for thesereleases, you have to do a re-export of the SCA(s) in DM1 using the Export Web UI.

With CM Services on SAP NetWeaver 7.0 it is not possible to set SP and patch level for SCAs.

Note that the whole guide only deals with the activity-based SDA transport. Transport of sources(activities) is not taken into consideration. Therefore this FAQ only describes what can be done withenhancement package 2 for SAP NetWeaver 7.0 or SAP NetWeaver Composition Environment 7.2.The activity-based SDA transport is not provided for enhancement package 1 for SAP NetWeaver 7.0.

How to minimize the amount of requests in the queue of PP1?

If you think that your queue for PP1 (and QM1) is too big and you would not like to see all of thetransport requests containing activities for each and every small change in the queue of PP1, youcould think about deleting the delivery route from DM1 to QM1 – see previous FAQ. This would meanthat you cannot transport activities from DD1 to PP1 any more but that you have to transport SCAs.These SCAs have to be exported from DM1 using Export Web UI. For bug fixing, you could stilltransport activities from DM1 to PP1.

What are the differences compared to using CMS?

If you used CMS and the scenario as described in the blog Best Practices for NWDI: Track design forongoing development, you might realize that there is no back-transport available or suggested for CMServices in here. As a consequence, in CM Services you have to remember to integrate the activitiescontaining bug fixes into DD1 manually as described earlier via NWDS or DTR Command Line Tool. Inboth cases (CM Services and CMS) integrating fixes into development requires manual steps. In caseof CMS you have to do the import in development system manually and you have to resolve theconflicts there. In CM Services, you integrate the activities manually and resolve the conflicts. Bothwith CMS and CM Services, a bug that you already fixed in DM1 will come up again if you exported anew release of your software from DD1 which does not have the activities containing the fixesintegrated.

If you compared what‟s described above with the blog dealing with this scenario for CMS, you will findout that the scenario suggested in here differs from the one recommended for CMS. The difference isthat with CMS, a re-build is required more often. In here, a re-build is only needed when you importthe newly developed functionality into DM1. For the rest, you can use the transport of deployables – be it SCA or activity based SDA transport.

Page 15: Landscape Setup for Ongoing Java Development With CM Services in CTS%2b

8/12/2019 Landscape Setup for Ongoing Java Development With CM Services in CTS%2b

http://slidepdf.com/reader/full/landscape-setup-for-ongoing-java-development-with-cm-services-in-cts2b 15/16

 

Do I really need five SAP NetWeaver AS Java Systems?

No, you don‟t have to set up QD1 and QM1. We recommend using separate systems for testing but itis not a must and you could also transport changes directly from development to the productivesystem or only use QM1 but not QD1.

How can I make sure that only transport requests containing testedfunctionality will become part of the queue of PP1? What does CTS offer to

support me in here?

Usually, a transport request will become part of the queue of the following system directly after theimport for the previous system had been executed.

TMS offers options to make sure that transport requests can only be imported into e.g. the productivesystem after they had been approved. Another thing that you can do is to import only transportrequests into the productive system that are assigned to a certain project – e.g. one project formaintenance requests and another one for new development. In SAP Solution Manager, you can alsofind tools like Change Request Management or Quality Gate Management that support you withchange control processes and project specific transports.

Where can I find more information on setting up CM Services?

Guide for setting up CM Services in enhancement package 2 for SAP NetWeaver 7.0:http://www.sdn.sap.com/irj/sdn/cts?rid=/library/uuid/90b89739-c236-2e10-f69d-eed4adc40983 

Information on CM Services in SAP NetWeaver 7.3:http://www.sdn.sap.com/irj/sdn/cts?rid=/library/uuid/9076d36e-2540-2e10-3fbe-ea462491aa5d 

I used CM Services with upload systems in enhancement package 1 or 2 for

SAP NetWeaver 7.0. Do I have to re-configure my landscape after an upgrade

to NetWeaver 7.3 to be able to use the maintenance scenario described in

here?

If you already used CM Services e.g. with enhancement package 2 for SAP NetWeaver 7.0 and set upthe landscape with upload systems, you could also continue using this landscape for the maintenancescenario. Prerequisite is that you were using the activity-based SDA transport. This option was notprovided with enhancement package 1 for SAP NetWeaver 7.0. If this was the release that you camefrom, then you have to do some re-configuration: at least switch to activity based SDA transport.Details, how this switch is done can be found in the guide „How to switch from CMS to CM Services‟:http://www.sdn.sap.com/irj/sdn/cts?rid=/library/uuid/40941f5c-087a-2d10-95b3-8be402af3358 

Please check FAQ „How can I do maintenance if my NWDI / CM services are on enhancementpackage 2 for SAP NetWeaver 7.0 or SAP NetWeaver Composition Environment 7.2? ‟ as well in thiscase.

 Another option would be to switch to the main scenario recommended in this document. To do so, youwould have to delete the upload systems and add a delivery route from DM1 to QM1.

Are there any recommendations concerning SP updates?

We recommend that you keep all the systems involved in the maintenance landscape on the same SPlevel. Otherwise you would have to make sure that all the coding that you use is compatible betweenthe different SPs - especially if e.g. your productive system is on a lower SP level than thedevelopment systems (DD1 or DM1). Only exception is that you could use a newer SP level for DD1and QD1 while developing new functionality. If you did so, you should update PP1, DM1 and QM1before executing any import of the new functionality into these systems.

What to do if I transport a new SCA?

This guide up to now assumed that you changed the same SCA both in DM1 and DD1. If you createnew SCA(s) in DD1, then you would also have to adapt the development configuration DM1 (add the

new SCA(s) as „to be developed‟) right before you import the newly developed parts in there.

Page 16: Landscape Setup for Ongoing Java Development With CM Services in CTS%2b

8/12/2019 Landscape Setup for Ongoing Java Development With CM Services in CTS%2b

http://slidepdf.com/reader/full/landscape-setup-for-ongoing-java-development-with-cm-services-in-cts2b 16/16

 

After import in DM1 conflicts are reported. Why?

Conflicts in DM1 occur if the same source was changed in DM1 and in DD1. Make sure you integratedthe fix from DM1 to DD1 and also transported the conflict resolution done in DD1 to DM1. See section„Integrating a Bug Fix from Maintenance to Development with NWDS ‟. More information about conflictscan be found on the SAP Help Portal:http://help.sap.com/saphelp_nw73/helpdata/en/4c/1f9762c4cb57d8e10000000a42189c/frameset.htm