Creating a Java Development
Component
Using this procedure, you create a Java development component (DC) project, in which you develop the callable object.
To be able to use the interfaces that Guided Procedures (GP) requires for background callable objects, you must also configure the project by adding the appropriate used DCs to it.
The following DCs must be available in your development configuration:
● caf/eu/gp/api
● com.sap.exception
● com.sap.security.api.sda
● tc/logging
...
1. Open the Java Perspective of the SAP NetWeaver Developer Studio, and choose File → New →Project….
2. Select Development Component → Development Component Project. Choose Next.
3. Select the software component where you want to create your DC. Choose Next.
4. Enter a name for the development component – for example, bckg_co. Select the appropriate domain. For type, select Java. Choose Finish.
5. Go to Window → Show View → Other… →Java → Java DC Explorer.
Expand the tree of the development component that you have created, select DC MetaData → DCDefinition → Used DCs, and open the context menu.
6. Choose Add Used DC….
Browse your development configuration to select DC caf/eu/gp/api and its public part external.
For dependency type select Build Time.
Choose Finish.
7. Repeat the previous step to declare build-time dependencies to the following DCs:
○ com.sap.exception
○ com.sap.security.api.sda
○ tc/logging
Your Java DC project is ready for development.
Go on with implementing the background callable object.