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

FPM in ARFC2

$
0
0

Hi,

I need to convert the model in a FPM based application to ARFC2.

I want to know how to handle the below statements in that case:


myModel = (MyModel) WDModelFactory.getModelInstance(MyModel.class,WDModelScopeType.APPLICATION_SCOPE);

fpm.connectModel(myModel);

 

If I define my ARFC2 model instance and use it as below, I get cast error (cannot cast from IWDModel to MyModel), although the ARFC model works fine with this statement

myModel=(MyModel)WDModelFactory.getModelInstance(AddperdataModel.class);

 

Without converting it to ARFC2, I cannot reimport the model to get the changes done at RFC end into my WDJ code.

 

Any suggestion is appreciated.

 

Thanks,

Priyanka


Viewing all articles
Browse latest Browse all 1288

Latest Images

Trending Articles



Latest Images

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