cancel
Showing results for 
Search instead for 
Did you mean: 

Java Web Dynpro UI Elements

Former Member
0 Kudos

Hi,

In my application all the ui elements are displayed in disabled mode when I import a model from backend. Can anyone explain me how to solve it.

Regards,

Imtiyaz

Accepted Solutions (1)

Accepted Solutions (1)

former_member192434
Active Contributor
0 Kudos

Bind it with import model in init() method.

Bapi_Flight_Getlist_Input input = new Bapi_Flight_Getlist_Input();

input.setDestination_From(new Bapisfldst());

input.setDestination_To( new Bapisfldst());

wdContext.nodeBapi_Flight_Getlist_Input().bind(input);

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

Using bind() method explicitly u have to bind these inputfields to model node.

Regards,

Sunaina Reddy T

Former Member
0 Kudos

hi,

This is because of cardinality Problem,

you cannt change the cardinality directly as they are binded to model node if not try to change cardinality manually.

you have to intialise them through coding.

you have to intialize the node and bind elements to it.

First implement this in component controller then map to view and execute your model.

wdContext.<nodename>.bind(new <nodename>);

Regards

sowmya

ravindra_bollapalli2
Active Contributor
0 Kudos

hi,

do u have the book of java 310, sap material

when u calling the adptive rfc what are the content been included to get the as input parameters

let me know u need any further info

bvr

Former Member
0 Kudos

you may need to bind the input elements if they are coming in disabled mode