cancel
Showing results for 
Search instead for 
Did you mean: 

KM integration in NWDS 7.3

Former Member
0 Kudos

Hi Gurus,

I'm trying to read a file stored in KM in a WebDynpro Java deployed on a EP 7.3.

My question is: do I have to create and deploy a Library DC with the KM and security API or a DC already exists? I have no KMC DC in my local NWDS, tried to import the SCA but i cannot use it as a dependecy.

I've also tried with a library DC but I don't realy know wich jar goes there... I think I'm going in the wrong direction since I have a runtime exception:

ClassNotFoundException: com.sapportals.wcm.util.map.WeakValueConcurrentReaderHashMap

and this class is in a CORE jar...

So far I have added to the library DC:

bc.rf.framework_api.jar

bc.rf.global.service.urlgenerator_api.jar

bc.sf.framework_api.jar

bc.util.public_api.jar

com.sap.security.api.ep5.jar

prtapi.jar

Also, I've found a lot of tutorials that solve the problem by adding sharingreferences but in my version of NWDS (7.3 SP00) the feture is deprecated and disabled.

Thank you very much!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Francesco,

Download KMCCM SC corresponding to your EP version (including SP version) from Service Marketplace. For example, if your EP is on 7.3 SP02, download KMCCM 7.3 SP02.

Add this SC as dependent SC in your track. Now add "tc/km/frwk" available under KMC-CM as used DC to your Web Dynpro DC with "Design Time" and "Run Time" dependency.

You can refer to this helplink for more details:

[http://help.sap.com/saphelp_nw73/helpdata/en/45/12830f76a341e1e10000000a1553f6/frameset.htm]

Regards,

Pavithra

Former Member
0 Kudos

Hi Pavithra,

first of all thank you for your quick reply.

I've already tried your solution but I'm unable to add the DC as a dependency. Maybe I forgot to mention that i'm not using NWDI, I'm working on NWDS LocalDevelopment.

I'm able to import the SC and I can see all the contained DCs (with a little grey circle near the DC icon) but the SC is not available (not even listed) in the add dependency wizard.

Thanks,

Former Member
0 Kudos

Hi Francesca,

Please let me know which version of KMCCM are you using? The version of KMCCM should correspond to your portal version.

Once you have imported KMCCM into NWDS, do as follows:

1. Right click on My Components and select Show In ->Component Properties. Now go to tab Dependies and click on 'Add' button to add KMC-CM as a dependent SC to My Components SC

2. Now right click on your Web Dynpro DC and select Development Component -> Show In -> Component Properties. Navigate to 'Dependices' tab and click on 'Add' button

3. Expand 'KMC-CM' and select 'tc/wd/frwk' and add it as "Design Time" and "Run Time" dependency.

4. Build the Web Dynpro DC. Navigate to Java perspective and expand 'Required Development Components' under Web Dynpto DC. Here you'll find a JAR called "tckmfrwk.jar"

Let me know if you still face the issue.

Regards,

Pavithra

Former Member
0 Kudos

Hi,

in the meanwhile I solved the problem, I was skipping a crucial point in the import process:

1. Right click on My Components and select Show In ->Component Properties. Now go to tab Dependies and click on 'Add' button to add KMC-CM as a dependent SC to My Components SC

So the KMC-CM SC was not available in the DC's dependencies.

Now it works fine.

Thanks again!

former_member186852
Contributor
0 Kudos

Hii....

how to add  KMC-CM as a dependent SC to My Components SC in NWDS 7.3 ?????

kindly waiting for your reply.

Former Member
0 Kudos

Please have a look at the post above yours. There's the explanation how to do it. 🙂

anil_kumar259
Active Contributor
0 Kudos

Hi Pratusa,

I am using nwds 7.3 and portal 7.4, i am developind wd dc to upload/download to km

i have followed all the steps which you have mentioned in your reply. But i didn't find the jar files in my wd dc.

Can you please tell me what i have to do??

Answers (0)