16
Using the Workbench Organizer to Modify an ABAP/4 Program Using the Workbench Organizer to Modify an ABAP/4 Program Overview Overview © 1996 SAP Technology, Inc. 64–1 Chapter 64: Chapter 64: Using the Workbench Organizer to Modify an ABAP/4 Program Using the Workbench Organizer to Modify an ABAP/4 Program Contents Contents Overview Overview ................................ ................................................................ ................................................................ ................................................................ ................................................................ ................................................ ................ 64–1 64–1 Creating a New Change Request (by the Project Leader) Creating a New Change Request (by the Project Leader) ................................ ................................................................ ................................................................ .......................................... .......... 64–1 64–1 Modification or Repair of an ABAP/4 Program by a Developer Modification or Repair of an ABAP/4 Program by a Developer ................................ ................................................................ ................................................................ .................................... .... 64–4 64–4 Manipulating the Change Request (by the Project Leader) Manipulating the Change Request (by the Project Leader)................................ ................................................................ ................................................................ ....................................... ....... 64–10 64–10 Overview Overview Users are only allowed to modify or repair an original SAP Object in urgent cases. SAP does not recommend modifications except in extreme situations. In order to avoid making mistakes in modifications, SAP urges users to take advantage of the Online Correction Services (OCS ), Hot Packages , and exploring the use of SAP concepts. In this example, there are two SAP users involved: the Project Leader (BC325PL-12 ), and the Customizer (BC325-12 ). The Project Leader has the right to create and establish a new Change Request , which will be used later by the Customizer after the customization activity has been completed. The Project Leader controls the release of the Change Request . Creating a New Request Creating a New Request (by the Project Leader) (by the Project Leader) 1. Login with the Project Leader account (for example, BC325PL- 12). An alternative to the following five steps is to use the transaction code: 2. Follow the path Tools Business Engineering Customizing . If a screen called First Customizing Steps is displayed, click either the Enter or Skip this in future button. 1 2

ABAP - Change Request

  • Upload
    vkbm42

  • View
    226

  • Download
    10

Embed Size (px)

Citation preview

Page 1: ABAP - Change Request

Using the Workbench Organizer to Modify an ABAP/4 ProgramUsing the Workbench Organizer to Modify an ABAP/4 ProgramOverviewOverview

© 1996 SAP Technology, Inc. 64–1

Chapter 64: Chapter 64: Using the Workbench Organizer to Modify an ABAP/4 ProgramUsing the Workbench Organizer to Modify an ABAP/4 Program

ContentsContentsOverviewOverview ................................................................................................................................................................................................................................................................................................................................................................64–164–1

Creating a New Change Request (by the Project Leader)Creating a New Change Request (by the Project Leader) ....................................................................................................................................................................................................................64–164–1

Modification or Repair of an ABAP/4 Program by a DeveloperModification or Repair of an ABAP/4 Program by a Developer........................................................................................................................................................................................................64–464–4

Manipulating the Change Request (by the Project Leader)Manipulating the Change Request (by the Project Leader).............................................................................................................................................................................................................. 64–1064–10

OverviewOverviewUsers are only allowed to modify or repair an original SAP Object in urgent cases. SAP does notrecommend modifications except in extreme situations. In order to avoid making mistakes inmodifications, SAP urges users to take advantage of the Online Correction Services (OCS), Hot Packages, andexploring the use of SAP concepts.

In this example, there are two SAP users involved: the Project Leader (BC325PL-12), and the Customizer(BC325-12). The Project Leader has the right to create and establish a new Change Request, which will beused later by the Customizer after the customization activity has been completed. The Project Leadercontrols the release of the Change Request .

Creating a New RequestCreating a New Request (by the Project Leader) (by the Project Leader)

1. Login with the Project Leaderaccount (for example, BC325PL-12).

• An alternative to the following fivesteps is to use the transaction code:

2. Follow the path Tools →→ BusinessEngineering Customizing. If ascreen called First Customizing Stepsis displayed, click either the Enteror Skip this in future button.

1

2

Page 2: ABAP - Change Request

Using the Workbench Organizer to Modify an ABAP/4 ProgramUsing the Workbench Organizer to Modify an ABAP/4 ProgramCreating a New Request (by the Project Leader)Creating a New Request (by the Project Leader)

64–2 © 1996 SAP Technology, Inc.

3. Then follow the path Basic functions→→ Requests (Organizer).

4. Now, click the Execute icon next toCustomizing requests / tasks.

5. Place the cursor in the line,Customizing Request Management.

6. Click on the Choose button.

3

4

5

6

Page 3: ABAP - Change Request

Using the Workbench Organizer to Modify an ABAP/4 ProgramUsing the Workbench Organizer to Modify an ABAP/4 ProgramCreating a New Request (by the Project Leader)Creating a New Request (by the Project Leader)

© 1996 SAP Technology, Inc. 64–3

7. In the Customizing Organizer: InitialScreen, follow the path Request/task→→ Display selection to see whetheror not there are any existingrequests by the user.

8. Back in the Customizing Organizer:Requests screen, follow the pathRequest/task →→ Create ...

9. Click Workbench.

7

8

9

Page 4: ABAP - Change Request

Using the Workbench Organizer to Modify an ABAP/4 ProgramUsing the Workbench Organizer to Modify an ABAP/4 ProgramModification or Repair of an ABAP/4 Program by a DeveloperModification or Repair of an ABAP/4 Program by a Developer

64–4 © 1996 SAP Technology, Inc.

10. Enter a short description of thechange request.

• In a development team scenario,the project leader should add theaccounts of all the developers onthe project.

11. To a developer account, click AddUser.

12. Enter the Developer account (forexample, BC325-12).

13. Add additional developers ifnecessary. Then click the Save icon.

14. A new change request(B01K900445) has been created.Click the “+” sign to list all thetasks. Each developer has his orher own task. The tasks here areB01K900446 and B01K900447.

Modification or Repair of an ABAP/4 Program by a DeveloperModification or Repair of an ABAP/4 Program by a Developer

The following example shows you how to modify and bug fix SAP’s ABAP/4 Programs. In this example,we will work with the ABAP/4 program BC325X12.

Before ProceedingBefore ProceedingThe developer’s key and SAP object key should be obtained using OSS. In the following example, thedeveloper keys for BC325-12 and the SAP object BC325X12 have been obtained and registered to the R/3System.

10

11

12

13

14

Page 5: ABAP - Change Request

Using the Workbench Organizer to Modify an ABAP/4 ProgramUsing the Workbench Organizer to Modify an ABAP/4 ProgramModification or Repair of an ABAP/4 Program by a DeveloperModification or Repair of an ABAP/4 Program by a Developer

© 1996 SAP Technology, Inc. 64–5

1. Login as a Developer (in thisexample, BC325-12).

2. Follow the path Tools →→ ABAP/4Workbench.

3. Click the ABAP/4 Editor button.

Alternative:

1

2

3

Page 6: ABAP - Change Request

Using the Workbench Organizer to Modify an ABAP/4 ProgramUsing the Workbench Organizer to Modify an ABAP/4 ProgramModification or Repair of an ABAP/4 Program by a DeveloperModification or Repair of an ABAP/4 Program by a Developer

64–6 © 1996 SAP Technology, Inc.

4. Click Change.

5. Click Object for repair.

4

5

Page 7: ABAP - Change Request

Using the Workbench Organizer to Modify an ABAP/4 ProgramUsing the Workbench Organizer to Modify an ABAP/4 ProgramModification or Repair of an ABAP/4 Program by a DeveloperModification or Repair of an ABAP/4 Program by a Developer

© 1996 SAP Technology, Inc. 64–7

6. Click the Possible entries icon in theNumber field.

7. Select the change requestpreviously created by the ProjectLeader.

8. Click the Enter icon.

• The selected change requestnumber (B01K900445) is displayed.

9. Click the Enter icon.

6

7

8

9

Page 8: ABAP - Change Request

Using the Workbench Organizer to Modify an ABAP/4 ProgramUsing the Workbench Organizer to Modify an ABAP/4 ProgramModification or Repair of an ABAP/4 Program by a DeveloperModification or Repair of an ABAP/4 Program by a Developer

64–8 © 1996 SAP Technology, Inc.

• The list of ABAP/4 programs isdisplayed. This screen shows youthe program before it is modified.

10. Add a comment line by typing anasterisk (*) in an empty line andthen type your comment text (forexample, * New modificationstuff .....).

11. After the program has beenchanged, it is necessary to checkfor any syntax errors. To do so,follow the path Program →→ Check →→Current Program.

10

11

Page 9: ABAP - Change Request

Using the Workbench Organizer to Modify an ABAP/4 ProgramUsing the Workbench Organizer to Modify an ABAP/4 ProgramModification or Repair of an ABAP/4 Program by a DeveloperModification or Repair of an ABAP/4 Program by a Developer

© 1996 SAP Technology, Inc. 64–9

12. Click the Save icon.

13. To leave the ABAP/4 ProgramEditor, follow the path Program →→Exit.

12

13

Page 10: ABAP - Change Request

Using the Workbench Organizer to Modify an ABAP/4 ProgramUsing the Workbench Organizer to Modify an ABAP/4 ProgramManipulating the Change Request (by the Project Leader)Manipulating the Change Request (by the Project Leader)

64–10 © 1996 SAP Technology, Inc.

Manipulating the Change Request (by the Project Leader)Manipulating the Change Request (by the Project Leader)

Normally, only the Project Leader has the right to decide if a change request needs to be released andexported. The following example shows you how to change the task ownership from the developeraccount to the project leader account, release the task, delete an unused task . The example finishes withthe release and export of the change request.

1. Starting with the Project Leader intransaction code /nSE10, follow thepath Edit →→ Refresh to reflectcurrent changes made by thedeveloper (BC325-12).

2. Display the details of the taskwhich was customized for changerequest B01K900447. Notice thatthe modified ABAP/4 Program isBC325X12.

• In order to release a task(B01K900447), the Project Leadermust take ownership of it first:

3. To take ownership, clickB01K900447 BC325-12.

4. Click Change Owner...

5. Enter the new owner’s useraccount.

6. Click the Enter icon.

1

2

3

4

5

6

Page 11: ABAP - Change Request

Using the Workbench Organizer to Modify an ABAP/4 ProgramUsing the Workbench Organizer to Modify an ABAP/4 ProgramManipulating the Change Request (by the Project Leader)Manipulating the Change Request (by the Project Leader)

© 1996 SAP Technology, Inc. 64–11

7. Notice that the user account fortask B01K900447 has been changedfrom BC325-12 to BC325PL-12.

8. Click B01K900447 BC325-12.

9. Click Release.

10. Mark the Confirm automaticallycheckbox.

11. Click the Enter icon.

12. You can enter a description orother comments if you like.

13. Click the Save icon.

7

8

9

10

11

12

13

Page 12: ABAP - Change Request

Using the Workbench Organizer to Modify an ABAP/4 ProgramUsing the Workbench Organizer to Modify an ABAP/4 ProgramManipulating the Change Request (by the Project Leader)Manipulating the Change Request (by the Project Leader)

64–12 © 1996 SAP Technology, Inc.

14. Click the Back icon.

• Please note on your screen that thecolor for the transported task isdifferent after the task has beenreleased (but this change does notshow up in the example screen).

Before a change request can bereleased, all of the tasks associatedwith the change request must bereleased and the unused tasks shouldbe purged.

• To delete an unused task(B01K900446):

15. Click B01K900446 BC325PL-12.

16. Click the Delete icon.

17. Click Yes.

14

15

16

17

Page 13: ABAP - Change Request

Using the Workbench Organizer to Modify an ABAP/4 ProgramUsing the Workbench Organizer to Modify an ABAP/4 ProgramManipulating the Change Request (by the Project Leader)Manipulating the Change Request (by the Project Leader)

© 1996 SAP Technology, Inc. 64–13

• Notice that the task has beendeleted from the list of tasks whichis associated with the changerequest.

18. Click the change requestB01K900447 BC325PL-12 ChangeReq. for BC325X12.

19. Click Release

20. Click the Enter icon.

21. Notice that after releasing thechange request, the items in thechange request have been changedto reflect their current status.

20

18

19

21

Page 14: ABAP - Change Request

Using the Workbench Organizer to Modify an ABAP/4 ProgramUsing the Workbench Organizer to Modify an ABAP/4 ProgramManipulating the Change Request (by the Project Leader)Manipulating the Change Request (by the Project Leader)

64–14 © 1996 SAP Technology, Inc.

22. To refresh the screen follow thepath Edit →→ Refresh.

• We are now back to the originalstatus.

22

Page 15: ABAP - Change Request

Using the Workbench Organizer to Modify an ABAP/4 ProgramUsing the Workbench Organizer to Modify an ABAP/4 ProgramManipulating the Change Request (by the Project Leader)Manipulating the Change Request (by the Project Leader)

© 1996 SAP Technology, Inc. 64–15

For further details refer to…

R/3 System Administration Made Easy

Using the SAP Software Change Register (SSCR) to Register Developer and SAP Objects (Ch. 9)

Using the Customizing Organizer for IMG Customization (Ch. 63)

R/3 Basis Knowledge Products

System Logistics Reference →→ Implementation →→ Workbench Development

R/3 System Online Help

ABAP/4 Development Workbench → Workbench Organizer

Basis Courses

Workbench Organizer, Transport System & Upgrade (BC325)

Page 16: ABAP - Change Request