cancel
Showing results for 
Search instead for 
Did you mean: 

Adaptive RFC Model Import in NWDS 7.0

Former Member
0 Kudos

Hello All,

I am trying to Import a RFC function using Adaptive RFC Model Approach in NWDS 7.0.

I am facing challenge in the following step which doesn't allow to proceed further.

PFB the screenshot.,

Already configured the necessary Jco Destination for ModelData and Metadata Instances at Portal Content Administration level.

Next/Finish button is greyed out. We cannot proceed further.

Kindly suggest me to resolve this case.

Best Regards,

Suresh S

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi all,

The problem is resolved by manually entering the package value.

Now able to connect with desired R/3 system via RFC Model.

Thanks all for your replies.

Best Regards,

Suresh S

Former Member
0 Kudos

I'm glad you have resolved it, and especially like that you've marked your own answer as the correct one...  Must make sure to put just as much effort into future questions.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Suresh,

Please note that Each model object must live in its own java package i.e create an individual Java package per model object. If the package is full,it wont let you create a new model object .

Hope this helps

Regards

Harshmeet Singh

Former Member
0 Kudos

I'm not sure why you can't click Next or Finish - very strange.  However, it looks to me that you have the Metadata and Modeldata systems selected back to front.

I don't "think" this should matter but worth trying.

Gareth.

Former Member
0 Kudos

Hi Gareth,

Thanks for the reply.

Still it blocks

Am i missing any configuration here ?

Best Regards,

Suresh S

Former Member
0 Kudos

If you go to "Help -> About SAP Netweaver Developer Studio" what version are you running?

This is my local 7.0 install:

I've just opened up an empty workspace in this install, created a new local Web Dynpro project and started the Create Model wizard.  As soon as I have filled in all fields on this screen I can click on "Next":

I have created a test RFC model based on some ZRFC from a random SAP system I'm connected to and all code objects have been successfully created in the src/packages/com folder.

Now, if I try the same again and create RFCtest2, again in package com I end up with this:

Which appears to be the exact same issue you have.

So, I'm guessing you are putting all of your code into package "com" instead of separating stuff out.  This isn't obvious as the error in NWDS disappears very quickly - if you go back to the Model Package field, delete the 'm' off the end of "com" and then re-enter it you should end up with:-

In short, NWDS will not let you create a Model in a package that isn't empty.  Assuming this is indeed the problem you have, the best advice I can give you is firstly, read about Java packages and understand why they exist, how to use them and why, and how they fit into WD Java; then whenever you create a Model make sure it is added into it's own package.  Something like com.<customername>.wd.<projectname>.<application>.models.<modelname> would be ideal.

Hope this helps,

Gareth.