on 03-23-2005 9:31 AM
Hi there,
I want to call a Remote function, but before that i want to set some fields by the values typed in by a web dynpro application.
I imported the RFC model, defined a view but when the view comes up for some reason all the fields are disabled.
Can anybody tell me what i should do in order to get the fields enabled
thanks
Bertil
Hi,
If the rfc imported is zabc_input, I hope you have done the following.
zabc_input inp=new zabc_input();
wdcontext.nodezabc_input().bind(inp);
Suppose you have to input some String value and the attribute is name and mapped to an input field try out the following.
inp.setName(new String);
Hope it would help.
Do pls send in feedback.
Regards
Noufal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check out the cardinality of the node which you want to show it as an inputfield.In case the cardinality is 0..n then Change the cardinality to 1..1 .
Hope it helps.
Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If you are doing in component controller the that should be fine.
Check the Model attributes.I mean Readonly properties !!
And verify the context mapping also once again.
Regards, Anilkumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Create a instance of the model an bind the context once.
Ex : If you modelContext name is "RFC_FM1" then
in the init create a instance of the class and bind it to the model like following
Modelclass newinstance=new ModelClass();
wdContext.nodeRFC_FM1().bind(newinstance);
Regards, Anilkumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.