on 02-12-2007 11:38 AM
Hi,
I created a form with two fields.
Form connected to BAPI.
when i run application the form is disabled.
let me know why its disabled.
regards
mmukesh
Hi Mukesh,
1. Create an instance of the ModelClass
ModelClass xxx=new ModelClass();
2. Create an instance of the Structure and set/add it to the ModelClass
xxx.set/add<StructureName>(new <StructureName>);
3. Finally bind the Model Node instance.
WdContext.<ModelNode>().Bind(xxx);
Write the below code in the <b>wdDoInit()</b> of Component Controller.
Regards,
Jhansi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mukesh,
In the Form/Component Controller you should create instance of BAPI model and add the elements to the modelnode so that inputfields gets enabled.
Refer to RFC sample turotials in WebDynpro area.
Regards, ANilkumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
mukesh,
Most probably corresponding context node has no elements or neither element is selected.
VS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
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.