on 12-09-2009 12:34 PM
Hi,
I get the following error-message:
failed to create or init instance of model 'xyz' in scope APPLICATION_SCOPE with instanceId 'null'
Do somebody know this message?
I don't understand it, because I have another applications, which are made in the same way, and there are no problems, only at this application.
Could you please show the code how you create the model instance?
BR, Siarhei
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Raju,
Please do not get confused with the function modules input node structure and the Model Node structure in the context.
<FM's Input Structure> inst = new <FM's Input Structure>();
wdcontext.node<Model Node in Context> .bind(inst);
inst.set<Attr1>(.....);
........
try{
wdcontext.current<Model Node Name>Element().modelobject().execute();
wdContext.node<OutputNode within Model Node>().invalidate();
}
catch(Exception e){
}
Make sure you do model binding of the model node in your context to the input structure within the function model.
Regards,
Tushar Sinha
Hi Stefan,
1. Test JCOs on portal
2. Check if the function module is working fine in SE37
3. Check that the function module is Remote Enabled in R/3
4. Delete the model if problem persists along with the model node in the context and then freshly import it again.
Regards,
Tushar Sinha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.