Skip to Content

Migrating to ARFC2 model

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Jan 10, 2014 at 10:48 AM

    you can use wizard to generate the code for model initialization and execution.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2014 at 09:52 AM

    Hi Krish,

    Please follow below document - "Migrating Web Dynpro Applications From SAP NetWeaver 7.0 to CE 7.1"

    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/40af00ad-8080-2a10-88b5-cc4cec99d8ac?QuickLink=index&…

    Thanks,

    Patralekha

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.