Sie sind auf Seite 1von 16

Using the Workbench Organizer to Modify an ABAP/4 Program

Overview

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


Contents
Overview ................................................................
................................................................................................
................................................................
................................................................
................................................
................64–1
64–1
Creating a New Change Request (by the Project Leader) ................................................................
................................................................................................
..........................................
..........64–1
64–1
Modification or Repair of an ABAP/4 Program by a Developer................................
Developer................................................................
................................................................
....................................
....64–4
64–4
Manipulating the Change Request (by the Project Leader)................................
Leader)................................................................
................................................................
.......................................
....... 64–10

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 (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

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.

© 1996 SAP Technology, Inc. 64–1


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

3. Then follow the path Basic functions


→ Requests (Organizer).

4. Now, click the Execute icon next to


Customizing requests / tasks.

5. Place the cursor in the line,


Customizing Request Management.
6. Click on the Choose button. 5

64–2 © 1996 SAP Technology, Inc.


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

7. In the Customizing Organizer: Initial


Screen, follow the path Request/task
→ Display selection to see whether 7
or not there are any existing
requests by the user.

8. Back in the Customizing Organizer:


Requests screen, follow the path
Request/task → Create ... 8

9. Click Workbench.

© 1996 SAP Technology, Inc. 64–3


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

10. Enter a short description of the


change request. 10
• In a development team scenario,
the project leader should add the
accounts of all the developers on
the project.
11. To a developer account, click Add
User. 11

12. Enter the Developer account (for


example, BC325-12).
13. Add additional developers if
necessary. Then click the Save icon.
12

13

14. A new change request


(B01K900445) has been created.
Click the “+” sign to list all the
tasks. Each developer has his or
her own task. The tasks here are
B01K900446 and B01K900447.

14

Modification 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 Proceeding
The developer’s key and SAP object key should be obtained using OSS. In the following example, the
developer keys for BC325-12 and the SAP object BC325X12 have been obtained and registered to the R/3
System.

64–4 © 1996 SAP Technology, Inc.


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

1. Login as a Developer (in this


example, BC325-12).

2. Follow the path Tools → ABAP/4


2
Workbench.

3. Click the ABAP/4 Editor button.


Alternative:

© 1996 SAP Technology, Inc. 64–5


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

4. Click Change.

5. Click Object for repair.

64–6 © 1996 SAP Technology, Inc.


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

6. Click the Possible entries icon in the


Number field.

7. Select the change request


previously created by the Project
Leader.
8. Click the Enter icon. 7

• The selected change request


number (B01K900445) is displayed.
9. Click the Enter icon.

© 1996 SAP Technology, Inc. 64–7


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

• The list of ABAP/4 programs is


displayed. This screen shows you
the program before it is modified.

10. Add a comment line by typing an


asterisk ( *) in an empty line and
then type your comment text (for
example, * New modification
stuff .....).

10

11. After the program has been


changed, it is necessary to check
for any syntax errors. To do so,
follow the path Program → Check →
Current Program. 11

64–8 © 1996 SAP Technology, Inc.


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

12. Click the Save icon.

12

13. To leave the ABAP/4 Program


Editor, follow the path Program →
Exit.

13

© 1996 SAP Technology, Inc. 64–9


Using the Workbench Organizer to Modify an ABAP/4 Program
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 and
exported. The following example shows you how to change the task ownership from the developer
account to the project leader account, release the task, delete an unused task . The example finishes with
the release and export of the change request.

1. Starting with the Project Leader in


transaction code /nSE10, follow the
path Edit → Refresh to reflect 1
current changes made by the
developer (BC325-12).

2. Display the details of the task


which was customized for change
request B01K900447. Notice that
the modified ABAP/4 Program is 4
BC325X12.
• In order to release a task
(B01K900447), the Project Leader
must take ownership of it first:
3. To take ownership, click 3
B01K900447 BC325-12.
4. Click Change Owner...
2

5. Enter the new owner’s user


account.
6. Click the Enter icon. 5
6

64–10 © 1996 SAP Technology, Inc.


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

7. Notice that the user account for


task B01K900447has been changed
from BC325-12 to BC325PL-12.
8. Click B01K900447 BC325-12. 9
9. Click Release.

10. Mark the Confirm automatically


checkbox.
11. Click the Enter icon.
10

11

12. You can enter a description or


other comments if you like. 13
13. Click the Save icon.

12

© 1996 SAP Technology, Inc. 64–11


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

14. Click the Back icon.


14

• Please note on your screen that the


color for the transported task is
different after the task has been
released (but this change does not
show up in the example screen). 16

Before a change request can be


released, all of the tasks associated
with the change request must be
released and the unused tasks should 15
be purged.

• To delete an unused task


(B01K900446):
15. Click B01K900446 BC325PL-12.
16. Click the Delete icon.
17. Click Yes.

17

64–12 © 1996 SAP Technology, Inc.


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

• Notice that the task has been


deleted from the list of tasks which
is associated with the change
request.
18. Click the change request 19
B01K900447 BC325PL-12 Change
Req. for BC325X12.
19. Click Release
18

20. Click the Enter icon.

20

21. Notice that after releasing the


change request, the items in the
change request have been changed
to reflect their current status.

21

© 1996 SAP Technology, Inc. 64–13


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

22. To refresh the screen follow the


path Edit → Refresh.
22

• We are now back to the original


status.

64–14 © 1996 SAP Technology, Inc.


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

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)

© 1996 SAP Technology, Inc. 64–15

Das könnte Ihnen auch gefallen