cancel
Showing results for 
Search instead for 
Did you mean: 

Runtime Input fields are disabled

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

mukesh,

Most probably corresponding context node has no elements or neither element is selected.

VS