Quantcast
Channel: SCN : All Content - Web Dynpro Java
Viewing all articles
Browse latest Browse all 1288

ARFC2 Model Error

$
0
0

Hi,

 

We have a webdynpro java application with FPM.

I migrated my model to ARFC2 from ARFC to import new structure changes.

Model got migrated successfully, but I am getting the below build error in executing the model using FPM at the below lines.

 

AddperdataModel model;
this.fpm = fpm;
model = (AddperdataModel) WDModelFactory.getModelInstance(AddperdataModel.class, WDModelScopeType.APPLICATION_SCOPE);
fpm.connectModel(model);

 

Error:

 

Cannot cast from IWDModel to AddperdataModel.

The method connectModel(DynamicRFCModel) in the type IFPM is not applicable for the arguments (AddperdataModel)


Please find the attached screenshot.



Could you please help.


Regards

V. Suresh Kumar


Viewing all articles
Browse latest Browse all 1288

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>