Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
Former Member
When you are facing the challenge of migrating your custom applications to Netweaver Portal 7.3 you should follow this How-To guide: How To Migrate Custom Portal Applications to SAP NetWeaver 7.3. However, not always things go as planned. This blog will try to cover the possible deviations from the standard procedure described in the guide when looking for missing classes.
I'll use the classes "com.sap.security.core.server.util0.IDException" and "com.sapportals.portal.prt.service.jco.IJCOClientPoolEntry" as examples.
We'll start the process from the point when the application is already imported in the NWDS and you're probably facing a lot of syntax errors. Let's say one of
the errors is regarding "com.sap.security.core.server.util0.IDException".
Let's try to locate the relevant jar that contains this class.
1. Go to the Javadocs of NetWeaver 7.3 at http://help.sap.com/javadocs/NW73/SPS07/index.html
Now we need to locate the class. This class can be in one of the 4 groups we see. Usually there is an indication of the correct group in the package of the class. For example, packages beginning with com.sap.portal… or com.sapportal.portal… are under "Enterprise Portal". In case of "com.sap.security.core.server…" it is under "Composition Environment", which includes the core engine classes. In the worst case you can perform search in all the groups.

2. In the Composition Environment group we see the following:

Again, we need to scan the different groups to look for the class, and again we can find hints in the package names. In our example the class begins with "com.sap.security.core…", so the security topic looks relevant.

3. Inside the group, look for the class itself (not the full package). Scroll down the page to the "Access Rights" part.

4. In this particular case there are four SCs in which the class can be found, but three of them are deprecated. Let's take a look at the non-deprecated one. SC is the SCA – we see it is ENGFACADE. DC is the development component – we see that it is tc/bl/security/lib.

5. In the plugins subfolder of the NWDS installation there should be a JAR named com.sap.tc.ap.<SCA>_<version>.jar  

6. Open the JAR and follow the path: <SCA>\DCs\sap.com\<the path of the SC>\_comp\gen\default\public\api\lib\java. There you'll find the relevant JAR.

For example, in the above case: locate the JAR com.sap.tc.ap.engfacade_7.3.0.120611100715.jar -> Open it -> Go to : ENGFACADE\DCs\sap.com\tc\bl\security\lib\_comp\gen\default\ public\ api\ lib\ java -> tc~bl~security~lib.jar

Steps 1-6 describe the process as it should occur according to the How To Migrate Custom Portal Applications to SAP NetWeaver 7.3 guide. There may be several deviations in the process:

  • You can't locate a class in the Javadocs

If it's a portal-related class (com.sap.portal…/com.sapportals…) - look for it in the Excel file attached to the note 1503649. This note specifies the SCAs and DCs that contain the relevant JARs.

Looking for the JAR should be performed as described in steps #5-#6 above. If it's not a portal-related class – try searching the web :smile: .

  • You can't locate a JAR named com.sap.tc.ap.<SCA>_<version>.jar in the plugins

Download the relevant SCA from the SMP. Open it. Follow the path: BUILDARCHIVES\<DC>_comp~dcia.zip\. Take the api.ppa file, open it with
WinRar and drill down until you reach the relevant JAR.

As an example for the latest I'll use class IJCOClientPoolEntry. 

This class cannot be located in the Javadocs. Let's look for it in the Excel file attached to note 1503649.

 

The attempt is successful. Looking for the jar com.sap.tc.ap.EPAPPSEXT_<version>.jar (or something similar) in the plugins subfolder of the NWDS installation is not so successful. Following the instructions in the second bullet will bring us to the required jar.

Good Luck!

Related notes: 1503649

9 Comments
Labels in this area