cancel
Showing results for 
Search instead for 
Did you mean: 

error in create model

Former Member
0 Kudos

error in create model

when I Import Adaptive RFC Model

......step by step......

after click"finish" and rebuild project (automatism)

error message show in tasks view

com.test.models.z1.ZI001 cannot be resolved or is not a type

com.test.models.z1.ZI001 cannot be resolved

com.test.models.z1.ZI001 cannot be resolved (or is not a valid type) for the argument modelInstance of the method ZI001_Input

......

just some RFC have this error the other RFC is right

restart service can't resolve it

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Check the RFC in Backend itself, If it is okay, reimport the model

Regards,

Saravanan K

Former Member
0 Kudos

thanks a lot,

it was resolved,

RFC Model name in NWDS and structure name in R3 are same,

I changed the model name, it was worked.

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Gavin,

If the DC can be built fine before importing and start giving errors just after importing the model, then probably the issue is with the RFM structure (Need to get back to the abapper for that).

Otherwise, if this error in the task-list already persists for some model and is not getting eliminated even after deleting it and freshly importing it, then probably the issue is with the existing reference calls to the deleted/modified model. While deleting a model, please check that you are not having any model node in your component bound to the model to be deleted.

Regards,

Tushar Sinha

Former Member
0 Kudos

other error message:

The public type ZI001 must be defined in its own file

The method modelInstance() is undefined for the type ZI001_Input

Former Member
0 Kudos

Delete model and re-import.

See if that works.

Regards,

Jan

Former Member
0 Kudos

reimport can't resolve

Former Member
0 Kudos

Well - you need to check the RFC for that. This kind of error usually points to inconsistencies with the backend. Thus, my recommendation to re-import the model.

Anyways, have a look at this document to check which applies to you. And you'll probably get the same recommendation:

[WDJ Adaptive RFC Troubleshooting Guide|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/d0019b1a-775f-2910-beb8-d81f27d0d8d0]

Hope that helps! Goodluck!

Regards,

Jan