cancel
Showing results for 
Search instead for 
Did you mean: 

Webdynpro Model import error - missing R3NAME or ASHOST

former_member201257
Active Contributor
0 Kudos

Hello,

We have a new NWDI setup for our portal development for ESS and MSS components.

(NWDI 7.01 SP 05 and EP 7.01 SP05 and ECC 6.0 )

I am trying to import a WD model (adaptive RFC) into an NWDI project and am getting the following error.

I get this error after searching for the available FMs in the model import wizard, and when I am at the final screen.

However, If I create a local project, I am able to import the model (same FM and same backend system) without any problem.

I guess the problem is with only the NWDI projects and some thing to do with NWDI or SLD connection to the backend system.

The JCo destinations are setup correctly and I have tried using a couple of different logical system names and there is no change.

Does any one have any idea on what I am missing?

Appreciate your response.

Thanks,

Shanti

Here is the error:

[Warning]: Creating a connection with Metamodel language <de> failed. Continuing with language <en>

[Fatal]: com.sap.mw.jco.JCO$Exception: Missing R3NAME=... or ASHOST=... in connect_param in RfcOpenEx

[Info]: Creating Model: IT0041

[Info]: Creating Model Class: Zfm_Hpt_Anndate_Input

[Info]: Creating Model Class: Zfm_Hpt_Anndate_Output

[Info]: Creating Model Class Property: E_Anndate

[Info]: Creating Model Class Property: I_Name

[Info]: Creating Model Relation: Zfm_Hpt_Anndate_Input:Output:Zfm_Hpt_Anndate_Output

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

It seems that it is a issue with JCO configurations , please check the configurations of both the JCOs ( both should point to same host ).

From the log , it looks like metadata is pointing to some other server .

The only thing that bothers me is how are you able to import the model locally.

Are you sure you are using same JCOs for creating both the projects?

Regards,

Puneet

former_member201257
Active Contributor
0 Kudos

Hey Puneet,

The problem seems to be more weird.

The JCos are fine .... and I am infact using the same JCos in both the cases.

I can not only import the model in a local project but also import the model in an NWDI project for a different DC.

Somehow the problem is with creating the model in only one of the DCs in the ESS SC.(ess/quotas)

Well, I finally went ahead and finished creating the project (ignoring the error I was getting) and the model works fine after import and deployment.

At this point, I am not sure what the problem was but it does not impact my model at runtime. Every thing works fine as expected.

This seems like a bug ... and the error is somehow showing up unnecessarily ...

Thanks,

Shanti

Former Member
0 Kudos

From the error , JCOs model data and metadata might be pointing to different systems or check function module is rfc enabled or not?

check the service entry file s c:\windows\system32\drivers\etc . You should have an entry like so sapms<SID> 3600/tcp

Regards,

Koti Reddy

former_member201257
Active Contributor
0 Kudos

I have all my JCos configured right.

The FM is RFC enabled.

The service entry files are all maintained approprately.

This seems like a bug ... I have opened a message with SAP on this.

Thanks,

Shanti

Former Member
0 Kudos

I encountered the same issue you described. All RFCs were created in English, but the SLD connection was maintained in DE instead of EN. Changing my normal login language from EN to DE solved the issue in my case.

Another option would be to ask Basis to update the language for the connection, but this solved the issue quicker. See http://scn.sap.com/thread/150766 for someone who experienced an issue similar to what you and I encountered.

Thanks,

Ben

Answers (0)