Skip to end of metadata
Go to start of metadata

KM functionality in WebDynpro DC

In order to make use of some KM functionality in a WebDynpro component it is required to create a build facade for the required KM jar files. The Tutorial How to use KM functionality in WD applications describes how to use KM functionality in your WebDynpro project but only considers normal WD projects and not WD DCs. Another blog which is might be helpful describes how to wrap an external jar file in a library DC:
How to wrap external jar files in a library DC

 This step by step instruction was created based on NW 7.0 but should also apply for NW 04 and NW CE 7.1. 

Summary of the steps in order to wrap the required jar files in a library DC and how to make use of it in your WD DC:

  1. Create an External Library DC
  2. Copy all the required jar files to the libraries folder of the newly created DC:
    • com.sap.security.api.ep.jar
    • bc.rf.framework_api.jar
    • bc.rf.global.service.urlgenerator_api.jar
    • bc.sf.framework_api.jar
    • bc.util.public_api.jar
    • (Hint: In order to speed up the search for the jar files you can use your Windows search and look for the jar files in the installation directory of your NetWeaver Developer Studio)
  3. Add each jar file to the public part of your DC
  4. When you do it for the first time you have to create a public part e.g. API (one public part is sufficient)
  5. Add each jar to the public part. open context menu Development Component -> Add to public part
  6. Build the DC
    Remark: It is not required to create another J2EE project for it in order to deploy it on the server as we need it just as a build facade during design time
  7. Add the library DC as a used DC to your Web Dynpro DC (Dependency Type: Design time, Build time, weak)
  8. Add two other used DCs to your WD DC (same Dependency Type then library DC)
    • DC epbc.prtapi._api from SC SAP_JTECHS
    • DC com.sap.security.api.sda SC SAP-JEE
  9. Build and deploy your WD DC
  • No labels