on 01-10-2014 6:13 AM
I am migrating my java webdynpro to ARFC2 model. I clicked on model in dynpro explorer and migrated to ARC2 model.
When I clicked on the repair, I got bunch of errors in my model java class.
As per the instructions, I went and added the following line
ARFC2ModelName ModelInst = new ARFC2ModelName();
ModelClass objModClass = new objModClass(ModelInst);
I still get an error that Constructor for objModClass(ARFC2ModelName) is undefined.
and NWDS gives the following three suggestions, which is making me pull my hair,
a) change type of ModelInst to ARFC2ModelName (
b) change constructure for objModClass(ARFC2ModelName) to objModClass(ARFC2ModelName)
c) create constructor objModClass(ARFC2ModelName)
what am I doing wrong?
it complains about uncatchable exception, but when i add
(ARFC2ModelExecuteException), it complains about exception cannot be resolved to type.
you can use wizard to generate the code for model initialization and execution.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Patralekha,Thank you for the link. I was under the impression that we had already migrated to 7.1 (but we are still using the old nw 04's)
I had only migrated the model to ARFC2 .. Does this still work without migrating to the new 7.1 from the old 04's? or am I getting such syntax errors because of the fact that I have not migrated to the new environment? Based on the cheat sheet, I have to make lot of changes and I was hoping to avoid those changes.
Jun, When you say use the Wizard to generate the code (My main java class has some custom code inbuilt into it, will the wizard overwrite that code?). Are you talking about Re-importing the model ?
Hi Krish,
Please follow below document - "Migrating Web Dynpro Applications From SAP NetWeaver 7.0 to CE 7.1"
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 |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.