Change transport system in SAP

Download Change transport system in SAP

Post on 17-May-2015

1.715 views

Category:

Technology

4 download

Embed Size (px)

DESCRIPTION

Step by step configuration of CTS in SAP system.Transport configuration and workbench change between two system.

TRANSCRIPT

<ul><li> 1. centercenterGroup : 6Semester 1, 2011BCO5651Enterprise Resource Planning ImplementationChange and Transport System (CTS) Tutorial00Group : 6Semester 1, 2011BCO5651Enterprise Resource Planning ImplementationChange and Transport System (CTS) Tutorial<br /> TOC o "1-3" h z u What is CTS? PAGEREF _Toc166516812 h 21.Tutorial Objectives PAGEREF _Toc166516813 h 22.Tutorial Sequences PAGEREF _Toc166516814 h 23.SAP System we will be using PAGEREF _Toc166516815 h 33.1Solman SM7 PAGEREF _Toc166516816 h 33.2Ruby S40 PAGEREF _Toc166516817 h 34.Making a Customization Change to the System (IMG) PAGEREF _Toc166516818 h 44.1Logon to Solman SM7 with given usernames and passwords PAGEREF _Toc166516819 h 44.2Making a Table change PAGEREF _Toc166516820 h 45.Creating a Change Request PAGEREF _Toc166516821 h 65.1Creating a new change request: To save a customizing change you need a customizing change request, and as we dont have any yet, the system prompt us to create one PAGEREF _Toc166516822 h 65.2Export a Transport Request (T-Code: SE09) PAGEREF _Toc166516823 h 87.CREATING WORK BENCH REQUEST PAGEREF _Toc166516824 h 127.1Creating an ABAP Program PAGEREF _Toc166516825 h 127.2Exporting a transport request PAGEREF _Toc166516826 h 208-Tutorial for Ruby S40 PAGEREF _Toc166516827 h 259-Testing PAGEREF _Toc166516828 h 3110-Appendix PAGEREF _Toc166516829 h 34List of Transaction Codes PAGEREF _Toc166516830 h 34<br />What is CTS?<br />CTS is a Central tool for managing changes to Customizing and Repository data that you make in the IMG or ABAP Workbench.<br />The CTS records all changes in change requests. The changes in change requests can be linked together logically, or can be completely independent of each other. Developers in a team can use a common request. <br />You can create documentation for a change request, where you can describe your changes in more detail. This makes it easier to see which data was changed by which user, and to what purpose.<br />When you have finished your work in the IMG or ABAP Workbench, or have reached a certain stage, you can release the request. The change request is then used to copy the changes from this client to other clients or systems. <br />This automatic procedure is known as a transport.<br />Tutorial Objectives<br />The objective is to gain experience in CTS tool and be familiarized with the transport system in SAP.<br />Tutorial Sequences<br /><ul><li>Make a Customization Change. </li></ul></li><li> 2. Create a Change Request </li></ul> <p> 3. Exporting the Customization Change Request. 4. Create A Package and Write an ABAP Program. 5. Create a Workbench Change Request 6. Export the Workbench Change Request. 7. Import both Requestto Ruby S40 8. TestingSAP System we will be using<br />Solman SM7<br />Ruby S40<br />Making a Customization Change to the System (IMG)<br />Logon to Solman SM7 with given usernames and passwords<br /></p> <ul><li>This should be done in a normal way of logging on in an Sap system and that should take you to SAP easy access screen </li></ul> <p> 9. Open SAP IMG using t-code SPROMaking a Table change<br /></p> <ul><li>From the customizing execute Project screen, click on SAP ReferenceIMG button </li></ul> <p> 10. Click the arrow next to SAP customizing Implementation Guide toextend it, then extend SAP Netweaver, then extendGeneral Settings, extend Currencies and extend Expiring Currencies 11. Click onnext to Define expiry reason. (we are defining reasons from which a user can choose from when defining expiring currencies) 12. The following screen will be displayed, and we now need to add an entry to the displayed Table 13. Click on new entries to make your entry to display 14. Enter ZGXXX(replace xxx with the last three digits of your user ID) in the Reason text box and XXX Reason for Changing Currency in the Text area. 15. Click Save to save the change and initiate aChange requestCreating a Change Request<br />Creating a new change request: To save a customizing change you need a customizing change request, and as we dont have any yet, the system prompt us to create one<br /></p> <ul><li>Note the name of the affected tables(table contents field) ________SM7K900878____________ </li></ul> <p> 16. Click on(New) to create a new Customizing Change Request 17. The following screen will be displayed, EnterChange Request XXX in Short Description 18. Clicks save to create and save your Customizing request, the following screen will be displayed. Please note yourCustomizing Change Request(CCR) number 19. CCR NO _______________ 20. Click on to save your request and accept CCR No.Export a Transport Request (T-Code: SE09)<br /></p> <ul><li>In the command fieldenter the T-code SE09 to open transport organizer </li></ul> <p> 21. The following screen will be displayed, unselect Workbench Requests and leave the rest. 22. Click the display button to all Customizing Requests. 23. Using the CCR No you noted in step 6.14, look for your request and click onicon to expand the request tree till it reaches the root of the tree. (If you can not find your request, click refresh to refresh the list) 24. Click once on your tasks request number Then click onicon to export the task. 25. If the export is successful, the following message will appear. And you will seeicon right beside the request number 26. Click on your request number once(above the customizing task),then click onicon to export the request. 27. The following screen will be displayed, wait for 10 seconds and click refresh until it shows that all exports have been successfully completed. 28. You have successfully exported your request(Press ) 29. You may now log off from the system.7.CREATING WORK BENCH REQUEST<br />7.1Creating an ABAP Program<br />7.1.1Enter TRANSACTION CODE /NSE21 IN COMMNAD FIELD TO GET INTO PACKAGE BUILDER INTIAL SCREEN .<br />7.1.2On package builder screen enter tour package name starting with ZXXX is your assigned number (I.EID :G-508 , XX-508) and then press create(HIGHLIGHT CREATE AND ZXXX-PACKAGE).(Note: Package made for transport purpose starts with prefixZ)<br />7.1.3 ENTER DESCRIPTION AND PRESS .<br />7.1.4 JUST PRESS , then FOLLOWING SCREEN APPEARS.<br />7.1.5 ENTER SHORT DESCRIPTION ZXXX TRANSPORT PACKAGE AND PRESS <br /></p> <ul><li>SCREEN WILL APPEAR WITH WHICH SHOWS REQUEST NUMBER MAKE SURE TO NOTE IT DOWN________________ and then pressto continue. </li></ul> <p> 30. AFTER THE FOLLOWING SCREEN WIL APPEAR AND THEN LEAVE THE TRANSACTION. 31. In command field type t-code /nSE38 (in the command field) 32. Enter program Z508_program1and execute the program by pressing button on tool bar . 33. Following output will appear.7.1.11 Press Escape or Back to go back . Now type Z508_Program1and pressbutton on toolbar. <br />7.1.12 On the screen which popups write Target program as XXX_program1 and pressto continue.<br />7.1.13 Accept the warning,after that on the screen which appears make sure you tick all the boxes and then press.<br />7.1.14 In the following screen enter package as ZXXX-package(xxx-userid) and press .<br />7.1.15 The workbench prompt request appears make sure request and short description are the same as before.<br />7.1.16Active source code z202_program copied to inactive source program ZXXX_program message appears. Now activate the program ZXXX_program by pressing (activation icon).<br />7.1.17The following screen will appear. Select the row of your program with ZXXX_program and press (tick icon).<br />(Note: object activated message appears.)<br />Exporting a transport request<br />7.2.1 Now on command field enter/nSE09 and make sure the screen which appears has got your userid if not then change it to yours and then press display (JUST HIGHLIGHT tcode in the 1st screen shot and in second highlight user id and display.)<br /></p> <ul><li>7.2.2 Transport organizer workbench appears and then press display on the bottom and make sure that customizing request is not ticked. </li></ul> <p> 34. Following screen appears. 35. 7.2.3 On this screen look for your request and click onicon to expand the request tree till it reaches the root of tree.7.2.4 Go to the next level of your request and click on the tasks request number.<br />7.2.5 Once the export is successful, the following message will appear<br /> And you will seeicon right beside the request number.<br />7.2.6 Next, click on your request number once and pressagain.<br /></p> <ul><li>7.2.7 On the following screen press refresh button and following message will appear on the screen. </li></ul> <p> 36. 7.2.8 Now log off Solman SM7. Then log onto Ruby S40 for second part of tutorial. 8-Tutorial for Ruby S40<br />8.1 Login into Ruby s40<br />8.2 Type STMS in the command field. This represents the import request.<br />8.2.1 Clickto which is import overview icon.<br />8.2.2 Next screen will show number of import queues. Select S40 in the system queue.<br /></p> <ul><li>.3 List of packages will be shown. You should able to see your request in the Request column, else, clickicon to refresh the screen. </li></ul> <p> 37. (Note: Make sure that everyone has two change request).8.2.4 icon appears on number column, click the similar iconon the toolbar to adjust the transport.<br />8.2.5 Click YES when following box appears.<br />8.2.6 Noticeicon will disappear.<br />8.2.7Click on your request number and click the import request icon.for your both change request<br /></p> <ul><li>Import transport request screen appears. </li></ul> <p> 38. Click on the Tab and make the changes as below: 39. Clickicon to confirm and Clickto confirm the import action.NB: Step 8.2.4 to 8.210 should be done for both your Customization and Workbench Change Requets.<br />9-Testing<br />WORKBENCH TEST<br />1) On the SAP Easy Access screen enter T-code SE38<br />2) Enter ZXXX_Program1(That should be the program name which you gave in step 12 in change workbench ) in the program field and click onicon<br />3) In the display screen you will see your output device which was created in Solman SM7.<br />CUSTOMIZING TEST<br /></p> <ul><li>Type transaction /nSE16 in the command field. </li></ul> <p> 40. On the following screen enter table name TUCRY1 and press enter. 41. Press button on the screen and you will find the table which you transported.Questions<br /></p> <ul><li>What are the two names SAP has referred the acronym CTS? </li></ul> <p> 42. What tools does CTS provide? 43. What does CTS assist in? 44. Name at least three purposes CTS should address? 45. What is the code for creating an ABAP program? 46. What does the code SPAD refer? 47. What does TMS stand for, and what is its purpose? 48. What two systems are used for CTS in this tutorial? 49. What code do we use to get the following screen: 50. The transport organizer only provides for the function to create and document only?True/False10-Appendix<br />List of Transaction Codes<br />ChapterProcedureStepNumberTransactionCode5.2Create a Package (T-Code: SE21)5.2.1SE215.4Create an Output Device (T-Code SPAD)5.4.1SPAD5.6Creating an ABAP Program (T-Code SE38)5.6.1SE385.7Export a Transport Request (T-Code: SE09)5.7.1SE096.2Import Request (T-Code: STMS)6.2.1STMS<br /></p>