on 01-16-2015 7:23 PM
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
Dear Priyanka,
Please check following document.
Using an Adaptive RFC 2 Model in Web Dynpro for... | SCN
Thanks,
Patralekha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.